Skip to content

Game hangs up at shutdown #6

@MCMic

Description

@MCMic

When quitting, the process hangs up. Here is the backtrace:

==40789== Process terminating with default action of signal 2 (SIGINT)                                                                                                                                                                        
==40789==    at 0x4E0C75A: pthread_cond_destroy@@GLIBC_2.3.2 (in /usr/lib/libc-2.33.so)                                                                                                                                                       
==40789==    by 0x49596F3: al_destroy_event_queue (in /usr/lib/liballegro.so.5.2.7)                                                                                                                                                           
==40789==    by 0x4958737: _al_run_destructors (in /usr/lib/liballegro.so.5.2.7)                                                                                                                                                              
==40789==    by 0x4960130: al_uninstall_system (in /usr/lib/liballegro.so.5.2.7)                                                                                                                                                              
==40789==    by 0x125A55: Framework::~Framework() (framework.cpp:161)                                                                                                                                                                         
==40789==    by 0x128402: main (main.cpp:12)          

I see that there is this in the code for the pandora version, which I think is a dirty workaround for this problem:

#ifdef PANDORA
	// Hacky close on the Pandora :(
	raise(SIGKILL);
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions