![]() |
#1 |
Rookie
Join Date: Jun 2019
Posts: 2
![]() |
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. ![]() |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
![]() ![]() |
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. |
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Jun 2019
Posts: 2
![]() |
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. |
![]() |
![]() |
![]() |
#4 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
![]() ![]() |
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. |
![]() |
![]() |
![]() |
Tags |
bug report, sdl2 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |