Solaris wxGTK 2.6.3 or wxGTK 2.8.4: Application hangs on exit.

Lothar Behrens lothar.behrens at lollisoft.de
Fri Jun 15 14:33:56 PDT 2007


Hi,

some weeks ago I have figured out, that my application will hang on
application exit. I know about undestroyed
windows and I had these problems too, but I thougt that problem was
solved, as of my other platforms.
(Windows wxMSW / Linux wxGTK / Mac OS X wxMac)

I also tried to exit my application without opening any child windows.

Also I figured out that the application will hang in a cleanup routine
in event.cpp

I tried to determine the loop in the linked table elements, but it is
not at the first
element.

Any ideas ?

Thanks, Lothar

Code is from wxGTK 2.6.3 release:

// Clear all tables
void wxEventHashTable::ClearAll()
{
    wxEventHashTable* table = sm_first;

    while (table)
    {
        table->Clear();
        table = table->m_next;

        if (table == sm_first) { // Detect a loop doesn't help
                wxASSERT_MSG( true,
                  wxT("Fatal: Event hash table loop detected.") );
                  return;
        }
    }
}


Are there some specific pittfalls on Solaris ?







More information about the wx-users mailing list