Crash on close
Status: Pre-Alpha
Brought to you by:
jcurbo
Selecting the File->close menu option segfaults
File->Disconnect segfaults the same way
(gdb) run
Starting program: /usr/local/bin/chiyo
session_init
generated session id
inserting in list
first: 809f380
In before crash.
disconnecting from hub
disconnecting from hub
Program received signal SIGSEGV, Segmentation fault.
0x08051d7f in dc_disconnect_hub (currSession=0x0) at network.c:268
268 if(currSession->is_connected == TRUE)
(gdb)
Logged In: YES
user_id=763818
The segfault is because the currSession=0
it seems to be a problem with get_session_current
attempting to get data from the window_main object
which never appears to be set.
util.c: g_object_set_data(G_OBJECT(dialog), "session", current);
session.c: current = g_object_get_data(G_OBJECT(window_main), "session");