aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule cvs segfaults when connects to server  (Read 2001 times)

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
amule cvs segfaults when connects to server
« on: January 25, 2005, 02:23:56 AM »

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1091148128 (LWP 28240)]
0x4025268c in wxString::Length () from /usr/local/lib/libwx_gtk2-2.5.so.3
Current language:  auto; currently c
(gdb) bt
#0  0x4025268c in wxString::Length () from /usr/local/lib/libwx_gtk2-2.5.so.3
#1  0x082849e6 in CServerListCtrl::SortProc (item1=148205008, item2=148406776, sortData=1) at ServerListCtrl.cpp:555
#2  0x08282254 in CServerListCtrl::RefreshServer (this=0x8c62840, server=0x8d56dd0) at ServerListCtrl.cpp:169
#3  0x082d0923 in CamuleGuiApp::NotifyEvent (this=0x85df698, event=
      {<> = {}, ID = SERVER_REFRESH, byte_value = 0 '\0', short_value = 0, long_value = 0, longlong_value = 0, string_value = , ptr_value = 0x8d56dd0, ptr_aux_value = 0x0}) at amule-gui.cpp:729
#4  0x082878be in CServerSocket::ProcessPacket (this=0x9529b70, packet=0x94f6828 "Lè", size=8, opcode=52 '4')
    at ServerSocket.cpp:401
#5  0x08289caa in CServerSocket::PacketReceived (this=0x9529b70, packet=0x948cf10) at ServerSocket.cpp:589
#6  0x08151fee in CEMSocket::OnReceive (this=0x9529b70, nErrorCode=0) at EMSocket.cpp:261
#7  0x08285a08 in CServerSocket::OnReceive (this=0x9529b70, nErrorCode=wxSOCKET_NOERROR) at ServerSocket.cpp:168
#8  0x0828a245 in CServerSocketHandler::ServerSocketHandler (this=0x8c42d78, event=@0x8c43d20) at ServerSocket.cpp:673
#9  0x401eb169 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_gtk2-2.5.so.3
#10 0x4028cb93 in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_gtk2-2.5.so.3
#11 0x4028ce99 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_gtk2-2.5.so.3
#12 0x4028da42 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_gtk2-2.5.so.3
#13 0x4028d855 in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_gtk2-2.5.so.3
#14 0x401eb0e6 in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_gtk2-2.5.so.3
#15 0x402b5fe8 in wxapp_pending_callback () from /usr/local/lib/libwx_gtk2-2.5.so.3
#16 0x40b9ba30 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#17 0x405d7724 in __JCR_LIST__ () from /usr/local/lib/libwx_gtk2-2.5.so.3
#18 0xbffff268 in ?? ()
#19 0x40bf233c in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x40bf233c in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00000001 in ?? ()
#22 0x40b982dd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x40030e47 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
#24 0x40bf233c in ?? () from /usr/lib/libglib-2.0.so.0

(gdb) bt full
#0  0x4025268c in wxString::Length () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#1  0x082849e6 in CServerListCtrl::SortProc (item1=148205008, item2=148406776, sortData=1) at ServerListCtrl.cpp:555
        server1 = (CServer *) 0x8d56dd0
        server2 = (CServer *) 0x8d881f8
        mode = -1
#2  0x08282254 in CServerListCtrl::RefreshServer (this=0x8c62840, server=0x8d56dd0) at ServerListCtrl.cpp:169
        sortby = 1001
        sorted = true
        itemState = 0
        item = {<> = {}, m_mask = 0, m_itemId = 5670, m_col = 0, m_state = 0, m_stateMask = 0,
  m_text = , m_image = -1, m_data = 148205008, m_format = 2, m_width = 0, m_attr = 0x952c868,
  static ms_classInfo = {}}
        itemnr = 5670
#3  0x082d0923 in CamuleGuiApp::NotifyEvent (this=0x85df698, event=
      {<> = {}, ID = SERVER_REFRESH, byte_value = 0 '\0', short_value = 0, long_value = 0, longlong_value = 0, string_value = , ptr_value = 0x8d56dd0, ptr_aux_value = 0x0}) at amule-gui.cpp:729
No locals.
#4  0x082878be in CServerSocket::ProcessPacket (this=0x9529b70, packet=0x94f6828 "Lè", size=8, opcode=52 '4')
    at ServerSocket.cpp:401
        e = {<> = {}, ID = SERVER_REFRESH, byte_value = 0 '\0', short_value = 0, long_value = 0,
  longlong_value = 0, string_value = , ptr_value = 0x8d56dd0, ptr_aux_value = 0x0}
        cur_user = 59468
        cur_files = 7896636
        update = (CServer *) 0x8d56dd0
#5  0x08289caa in CServerSocket::PacketReceived (this=0x9529b70, packet=0x948cf10) at ServerSocket.cpp:589
No locals.
#6  0x08151fee in CEMSocket::OnReceive (this=0x9529b70, nErrorCode=0) at EMSocket.cpp:261
        bPacketResult = true
        toCopy = 8
        ret = 619
        rptr = 0x83e2fbc "ÔJ\002"
        GlobalReadBuffer = "ã\t\000\000\000@Ù\201pp\031\000\000\000ã\t\000\000\0004Lè\000\000<~x\000ÔJ\002\000\0008xÚ\235S½nÛ0\020\036ºé).\223\023ÀQÒ\032E\200l©í8ImÅ\210Ó\026èF\231\027é`\2124H**üNy\213>C§\002]ú\f\235:ô£\214\026MÇ\022\020I\221ºû~î---Type to continue, or q to quit---
ôô\"°\177dOx\2028K/ÏòWthÚJ·¶m\216²+e\214£9·\221\207\231¬kªY¾1-\224\217b©µ\232J\216\236¥d\n,\221Ft£jÏ\226\036\205\rÓ´i1¯z\214\234nX;¤\220\020\211\027é\"¬k`\006®=!\233\026ÞGSÅ\033×"...
        readMax = 2000000
        rend = 0x83e320b ""
#7  0x08285a08 in CServerSocket::OnReceive (this=0x9529b70, nErrorCode=wxSOCKET_NOERROR) at ServerSocket.cpp:168
No locals.
#8  0x0828a245 in CServerSocketHandler::ServerSocketHandler (this=0x8c42d78, event=@0x8c43d20) at ServerSocket.cpp:673
No locals.
#9  0x401eb169 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#10 0x4028cb93 in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#11 0x4028ce99 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#12 0x4028da42 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#13 0x4028d855 in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#14 0x401eb0e6 in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#15 0x402b5fe8 in wxapp_pending_callback () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#16 0x40b9ba30 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0x405d7724 in __JCR_LIST__ () from /usr/local/lib/libwx_gtk2-2.5.so.3
No symbol table info available.
#18 0xbffff268 in ?? ()
No symbol table info available.
#19 0x40bf233c in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0x40bf233c in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x00000001 in ?? ()
No symbol table info available.
---Type to continue, or q to quit---
#22 0x40b982dd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x40030e47 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
No symbol table info available.
#24 0x40bf233c in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
(gdb)
« Last Edit: January 25, 2005, 02:25:09 AM by wardevil »
Logged
Linux user nº289016 at Linux counter

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
Re: amule cvs segfaults when connects to server
« Reply #1 on: January 25, 2005, 04:31:24 PM »

Compiling  wx again from cvs resolved the issue....but the strange is it was working well and from one moment to another it stopped  working and segfaults.......I suspect some bad sectors in hard drive...but who knows :)
Logged
Linux user nº289016 at Linux counter