[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Michael Bukin <M.A.Bukin@xxxxxxxxxx> writes:
> I have noticed some other crashes in setup, but have not traced their
> source yet, because it crashes randomly (pressing autodetect, select
> digital driver and test (maybe several times) may lead to that
> crash).
These crashes are due to dialog sliding code. It can do init_dialog
for two dialogs and then shutdown_dialog the one which was initialized
earlier. When it tries to shutdown the second dialog, it restores
active_player and active_dialog from dialog->previous field which
points to the dialog destroyed earlier. Then it tries to broadcast
MSG_IDLE to active_dialog and gets SIGSEGV.
I don't know what to do about it. It seems to be a design flaw.
--
Michael Bukin