Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 24, 2019, 18:44   #1
EducatedNoob
Rookie
 
EducatedNoob's Avatar
 
Join Date: Jun 2019
Posts: 2
EducatedNoob is on a distinguished road
Latest Nightly release, SDL2 crashing with 8 terms

So, if one tries to open all 8 terms with SDL2 frontend, the application crashes right as you open the last terminal with a nice error message saying that (not verbatim):


Code:
assertion failed at main-sdl2.c, line 4394: assert(*next < N_ELEMENTS(window->subwindows));

This behaviour was observed on Linux. (Fedora 29...). I'm not sure what information are needed/relevant, please enlighten me if something else/more is needed. I'm just trying to see if anybody else has encountered or can reproduce this behaviour, as I already have a fix for it.

From a search on the bug tracker and in the forums I couldn't find anything similar. I might be wrong, though, as I only discovered the answer to that fancy question while registering this account.
EducatedNoob is offline   Reply With Quote
Old June 24, 2019, 21:51   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,777
Donated: $60
Nick is on a distinguished road
Yeah, this is a known problem - by me, anyway. I've just filed it as a bug. thanks for reporting.

I did look into it a bit a few weeks back, but didn't find an easy fix so just resorted to using the SDL1 (-msdl) frontend again.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old June 24, 2019, 21:57   #3
EducatedNoob
Rookie
 
EducatedNoob's Avatar
 
Join Date: Jun 2019
Posts: 2
EducatedNoob is on a distinguished road
In the afforementioned line, I just changed the `<` to `<=`. It works fine, I've been playing a bit, with all terminals active and no crashes.


To be fully honest, though, I'm not sure if there are any side-effects on what I did, as I can just assume what a lot of things are or do, due to the lack of comments in the code.
EducatedNoob is offline   Reply With Quote
Old June 24, 2019, 22:17   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,777
Donated: $60
Nick is on a distinguished road
OK, thanks, I'll check that out. Maybe I didn't look very hard
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Reply

Tags
bug report, sdl2


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL2 port when ? shirish Development 89 September 2, 2019 11:59
Can't use \r in keymap in latest nightly Max Stats Development 4 March 1, 2011 17:22
Nightly builds and release notes Timo Pietilš Development 4 January 15, 2011 22:49
Terms/Additional Windows Rimmer Vanilla 4 March 30, 2008 15:56
[Feature Request] Themed descriptive terms JamesDoyle Vanilla 7 January 26, 2008 23:01


All times are GMT +1. The time now is 16:18.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.