aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: RFH: Crash in _GSocket_GDK_Input  (Read 2866 times)

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RFH: Crash in _GSocket_GDK_Input
« on: April 01, 2009, 06:08:52 PM »

Hi all,

thanks to fantastic work by RRM we have some good bactraces about a crash he's continously suffering.

Code: [Select]
#0  0xb771ebe4 in _GSocket_GDK_Input (data=0x9f450b8, source=53,
    condition=GDK_INPUT_WRITE) at ../src/gtk/gsockgtk.cpp:36
No locals.
#1  0xb6d674af in gdk_io_invoke (source=0xb5a2cfe0,
    condition=<value optimized out>, data=0xb5a2e1b0)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = GDK_INPUT_WRITE
#2  0xb6b0571d in g_io_unix_dispatch (source=0xb5a2d918,
    callback=0xb6d67450 <gdk_io_invoke>, user_data=0xb5a2e1b0)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 0
#3  0xb6ace718 in IA__g_main_context_dispatch (context=0x942f918)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#4  0xb6ad1dc3 in g_main_context_iterate (context=0x942f918, block=1,
    dispatch=1, self=0x9430ec0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 2147483647
timeout = 8
some_ready = 1
nfds = 71
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xa0f0b38
---Type <return> to continue, or q <return> to quit---
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#5  0xb6ad22e2 in IA__g_main_loop_run (loop=0x996e780)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0x9430ec0
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#6  0xb6f003a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
init = (GtkInitFunction *) 0x9c5d6c0
loop = (GMainLoop *) 0x996e780
#7  0xb771d10b in wxEventLoop::Run (this=0x9c5d6c0)
    at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#8  0xb77c13dc in wxAppBase::MainLoop (this=0x942f7d0)
    at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x9c5d6c0}, m_pp = 0x942f810,
  m_pOld = 0x0}
#9  0xb77c1131 in wxAppBase::OnRun (this=0x0) at ../src/common/appcmn.cpp:367
No locals.
#10 0xb74b63fa in wxEntry (argc=@0xb75ae6cc, argv=0x941de38)
    at ../src/common/init.cpp:460
---Type <return> to continue, or q <return> to quit---
No locals.
#11 0xb74b64b7 in wxEntry (argc=@0xbfec7460, argv=0xbfec74e4)
    at ../src/common/init.cpp:472
No locals.
#12 0x082ac21d in main (argc=1, argv=0xb6b4b460) at ../../src/amule-gui.cpp:95
No locals.

I know this bug is not new, but AFAIK this is the first time we have a very helpful user who can continuoslly reproduce it (under heavy amule load) I think this is a good opportunity to try to fix it.

Any of you have a clue about it?

Another variation is

Code: [Select]
#0  0xb6b46450 in g_io_watch_funcs () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1  0xb797007b in vtable for wxNotebookBase ()
   from /usr/lib/libwx_gtk2ud_core-2.8.so.0
No symbol table info available.
#2  0xbfdc007b in ?? ()
No symbol table info available.
#3  0xb7719be7 in _GSocket_GDK_Input (data=0xa850a88, source=41,
    condition=176491144) at ../src/gtk/gsockgtk.cpp:36
No locals.
#4  0xb6d624af in gdk_io_invoke (source=0xaf240c8,
    condition=<value optimized out>, data=0xa845e68)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = GDK_INPUT_WRITE

For the full details see:

http://www.amule.org/amule/index.php?topic=16035

Good backtraces are to be found in the last part of the thread.
Logged