aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)  (Read 3474 times)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see

Code: [Select]
Compatible client found with ET_COMPATIBLECLIENT of 0x1e

(amule:15061): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    [URL]http://forum.amule.org/board.php?boardid=67[/URL]
If possible, please try to generate a real backtrace of this crash:
    [URL]http://www.amule.org/wiki/index.php/Backtraces[/URL]

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule CVS using wxGTK2 v2.7.0 (Debugging) (Snapshot: rev. 6759)
Running on: Linux 2.6.15-1.1833_FC4 i686

[2] CamuleApp::OnFatalException() in amule.cpp:1195
[3] wxFatalSignalHandler in /usr/local/wxWidgets-cvsu/lib/libwx_baseud-2.7.so.0[0x9014c1]
[4] ?? in [0xa10420]
[5] ?? in /usr/local/wxWidgets-cvsu/lib/libwx_gtk2ud_core-2.7.so.0 [0xb7198f]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x37e800]
[7] ?? in /usr/lib/libglib-2.0.so.0 [0x56e4fc]
[8] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x5484ce]
[9] ?? in /usr/lib/libglib-2.0.so.0 [0x54b4d6]
[10] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x54b7c3]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x5562a46]
[12] wxEventLoop::Run() in /usr/local/wxWidgets-cvsu/lib/libwx_gtk2ud_core-2.7.so.0[0xb6f448]
[13] wxAppBase::MainLoop() in /usr/local/wxWidgets-cvsu/lib/libwx_gtk2ud_core-2.7.so.0[0xbff475]
[14] wxAppBase::OnRun() in /usr/local/wxWidgets-cvsu/lib/libwx_gtk2ud_core-2.7.so.0[0xbff5ff]
[15] wxEntry(int&, wchar_t**) in /usr/local/wxWidgets-cvsu/lib/libwx_baseud-2.7.so.0[0x8943d9]
[16] wxEntry(int&, char**) in /usr/local/wxWidgets-cvsu/lib/libwx_baseud-2.7.so.0[0x8944b0]
[17] main in amule-gui.cpp:110
[18] __libc_start_main in /lib/libc.so.6[0x229d7f]
[19] wxTextCtrlBase::LoadFile(wxString const&) in :0


--------------------------------------------------------------------------------

[1]+  Aborted                 (core dumped) LD_LIBRARY_PATH=/usr/local/wxWidgets-cvsu/lib/ LANG=en_US.UTF-8 upnp/src/amule --only-chuck-norris-would-stop-me
(gdb) bt
#0  0x00a10402 in __kernel_vsyscall ()
#1  0x0023cf90 in raise () from /lib/libc.so.6
#2  0x0023e678 in abort () from /lib/libc.so.6
#3  0x009014c9 in wxFatalSignalHandler () at ./src/unix/utilsunx.cpp:1027
#4  
#5  0x00b7198f in _GSocket_GDK_Input (data=0xdbfd980, source=305, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:36
#6  0x0037e800 in gdk_get_show_events () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x0056e4fc in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#8  0x005484ce in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9  0x0054b4d6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#10 0x0054b7c3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x05562a46 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00b6f448 in wxEventLoop::Run (this=0xa998f58) at ./src/gtk/evtloop.cpp:73
#13 0x00bff475 in wxAppBase::MainLoop (this=0x8ef3ca8) at ./src/common/appcmn.cpp:264
#14 0x00bff5ff in wxAppBase::OnRun (this=0x8ef3ca8) at ./src/common/appcmn.cpp:319
#15 0x008943d9 in wxEntry (argc=@0xbfd68ab0, argv=0x8ee2d10) at ./src/common/init.cpp:441
#16 0x008944b0 in wxEntry (argc=@0xbfd68ab0, argv=0xbfd68b34) at ./src/common/init.cpp:453
#17 0x081fb22a in main (argc=2, argv=0xbfd68b34) at amule-gui.cpp:110
(gdb) frame 5
#5  0x00b7198f in _GSocket_GDK_Input (data=0xdbfd980, source=305, condition=GDK_INPUT_WRITE) at ./src/gtk/gsockgtk.cpp:36
36          socket->Detected_Write();
(gdb) p socket
$1 = (class GSocket *) 0xdbfd980
(gdb) p *socket
$2 = {_vptr.GSocket = 0x3, m_ok = 8, m_fd = 58, m_local = 0xb, m_peer = 0x3b, m_error = 11, m_non_blocking = 7, m_server = 32, m_stream = false,
  m_establishing = false, m_reusable = 8, m_timeout = 73, m_detected = 19, m_cbacks = {0x3f, 0xc, 0x3c, 0xc}, m_data = {0x0, 0x0, 0x0, 0x0},
  m_gui_dependent = 0x50
}
(gdb) l
31        GSocket *socket = (GSocket *)data;
32
33        if (condition & GDK_INPUT_READ)
34          socket->Detected_Read();
35        if (condition & GDK_INPUT_WRITE)
36          socket->Detected_Write();
37      }
38      }
39
Logged