aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CVS 22 dec. 2007  (Read 2214 times)

ecforum

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
CVS 22 dec. 2007
« on: December 22, 2007, 06:51:57 PM »

Hello,

Amule crashed. It had not the focus.
I use wxGTK2 v2.8.7

Code: [Select]
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vect
or:192:
    error: attempt to subscript container with out-of-bounds index 2, but     
    container only holds 2 elements.

Objects involved in the operation:
sequence "this" @ 0x0xbf7ff810 {
  type = N15__gnu_debug_def6vectorIcSaIcEEE;
}

Program received signal SIGABRT, Aborted.
[Switching to Thread 16386 (LWP 14304)]
0x407dfc81 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x407dfc81 in kill () from /lib/libc.so.6
#1  0x400354a1 in pthread_kill () from /lib/libpthread.so.0
#2  0x4003587b in raise () from /lib/libpthread.so.0
#3  0x407df8f8 in raise () from /lib/libc.so.6
#4  0x407e0f00 in abort () from /lib/libc.so.6
#5  0x406fbb5a in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#6  0x08124e2c in __gnu_debug_def::vector<char, std::allocator<char> >::operator[] (this=0xbf7ff810, __n=2)
    at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192
#7  0x081240c5 in CMuleUDPSocket::SendControlData (this=0x9ebecb8,
    maxNumberOfBytesToSend=191) at MuleUDPSocket.cpp:257
#8  0x0815eacf in UploadBandwidthThrottler::Entry (this=0xbb9ca68)
    at UploadBandwidthThrottler.cpp:395
#9  0x40641829 in wxThreadInternal::PthreadStart ()
   from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#10 0x4064188c in wxPthreadStart ()
   from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#11 0x40031f5b in pthread_start_thread () from /lib/libpthread.so.0
#12 0x40031fdf in pthread_start_thread_event () from /lib/libpthread.so.0
#13 0x4087ebea in clone () from /lib/libc.so.6
(gdb)

(gdb) bt full
#0  0x407dfc81 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x400354a1 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4003587b in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x407df8f8 in raise () from /lib/libc.so.6
No symbol table info available.
#4  0x407e0f00 in abort () from /lib/libc.so.6
No symbol table info available.
#5  0x406fbb5a in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x08124e2c in __gnu_debug_def::vector<char, std::allocator<char> >::operator[] (this=0xbf7ff810, __n=2)
    at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192
No locals.
#7  0x081240c5 in CMuleUDPSocket::SendControlData (this=0x9ebecb8,
    maxNumberOfBytesToSend=191) at MuleUDPSocket.cpp:257
        sendbuffer = {<__gnu_norm::vector<char,std::allocator<char> >> = {<__gnu_norm::_Vector_base<char,std::allocator<char> >> = {
      _M_impl = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<---Type <return> to continue, or q <return> to quit---
No data fields>}, <No data fields>}, _M_start = 0x41301260 "äY",
        _M_finish = 0x41301262 "",
        _M_end_of_storage = 0x41301262 ""}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<char, std::allocator<char> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
      _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 2}
        item = {packet = 0xbf4f448, time = 49528822, IP = 2669628763,
  port = 58039, bEncrypt = false, bKad = true, nReceiverVerifyKey = 0,
  pachTargetClientHashORKadID = '\0' <repeats 15 times>}
        packet = (CPacket *) 0xbf4f448
        lock = {m_isOk = true, m_mutex = @0x9ebecdc}
        sentBytes = 0
        returnVal = {success = true, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
#8  0x0815eacf in UploadBandwidthThrottler::Entry (this=0xbb9ca68)
    at UploadBandwidthThrottler.cpp:395
        socketSentBytes = {success = true, sentBytesStandardPackets = 0,
  sentBytesControlPackets = 0}
        socket = (ThrottledControlSocket *) 0x9ebecb8
        spentBytes = 0
        spentOverhead = 0
        sendLock = {m_isOk = true, m_mutex = @0xbb9ca78}
        maxSlot = 2
---Type <return> to continue, or q <return> to quit---
        timeSinceLastLoop = 3212835184
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 191
        sleepTime = 3212835296
        thisLoopTick = 49528922
        realBytesToSpend = 191599
        extraSleepTime = 1
        lastLoopTick = 49528922
        allowedDataRate = 12288
        rememberedSlotCounter = 1
        sendLock = {m_isOk = 248, m_mutex = @0x40017648}
#9  0x40641829 in wxThreadInternal::PthreadStart ()
   from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x4064188c in wxPthreadStart ()
   from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x40031f5b in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#12 0x40031fdf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#13 0x4087ebea in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
(gdb)

(gdb) thread apply all bt

Thread 5 (Thread 49156 (LWP 14306)):
#0  0x40039f56 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()

Thread 3 (Thread 16386 (LWP 14304)):
#0  0x407dfc81 in kill () from /lib/libc.so.6
#1  0x400354a1 in pthread_kill () from /lib/libpthread.so.0
#2  0x4003587b in raise () from /lib/libpthread.so.0
#3  0x407df8f8 in raise () from /lib/libc.so.6
#4  0x407e0f00 in abort () from /lib/libc.so.6
#5  0x406fbb5a in __gnu_debug::_Error_formatter::_M_error ()
   from /usr/lib/libstdc++.so.6
#6  0x08124e2c in __gnu_debug_def::vector<char, std::allocator<char> >::operator[] (this=0xbf7ff810, __n=2)
    at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192
#7  0x081240c5 in CMuleUDPSocket::SendControlData (this=0x9ebecb8,
    maxNumberOfBytesToSend=191) at MuleUDPSocket.cpp:257
#8  0x0815eacf in UploadBandwidthThrottler::Entry (this=0xbb9ca68)
    at UploadBandwidthThrottler.cpp:395
#9  0x40641829 in wxThreadInternal::PthreadStart ()
   from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#10 0x4064188c in wxPthreadStart ()
   from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#11 0x40031f5b in pthread_start_thread () from /lib/libpthread.so.0
#12 0x40031fdf in pthread_start_thread_event () from /lib/libpthread.so.0
#13 0x4087ebea in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 14303)):
#0  0x4087551a in poll () from /lib/libc.so.6
#1  0x400324b0 in __pthread_manager () from /lib/libpthread.so.0
#2  0x40032eb7 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0x4087ebea in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 14299)):
#0  0x4087551a in poll () from /lib/libc.so.6
#1  0x402dc31b in wxapp_poll_func ()
   from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#2  0x40d2fdb6 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#3  0x40d3014a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0x40a10e33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x402f6cf9 in wxEventLoop::Run ()
   from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#6  0x4038a0d6 in wxAppBase::MainLoop ()
   from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#7  0x4038a253 in wxAppBase::OnRun ()
   from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#8  0x405d3c90 in wxEntry () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#9  0x405d3d84 in wxEntry () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#10 0x081bd2c9 in main (argc=1, argv=0xbffff204) at amule-gui.cpp:95
#0  0x407dfc81 in kill () from /lib/libc.so.6
(gdb)
Logged

ecforum

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
Re: CVS 22 dec. 2007
« Reply #1 on: December 22, 2007, 06:56:26 PM »

I restarted amule.
I connect to kad (kad only).
And one or two minutes later amule crashs.

Code: [Select]
Adding file /mnt/.../022.part.met to shares
Adding file /mnt/.../021.part.met to shares
[New Thread 32771 (LWP 14674)]
[New Thread 49156 (LWP 14675)]
[Thread 32771 (LWP 14674) exited]
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192:
    error: attempt to subscript container with out-of-bounds index 2, but     
    container only holds 2 elements.

Objects involved in the operation:
sequence "this" @ 0x0xbf7ff810 {
  type = N15__gnu_debug_def6vectorIcSaIcEEE;
}

Program received signal SIGABRT, Aborted.
[Switching to Thread 16386 (LWP 14672)]
0x407dfc81 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x407dfc81 in kill () from /lib/libc.so.6
#1  0x400354a1 in pthread_kill () from /lib/libpthread.so.0
#2  0x4003587b in raise () from /lib/libpthread.so.0
#3  0x407df8f8 in raise () from /lib/libc.so.6
#4  0x407e0f00 in abort () from /lib/libc.so.6
#5  0x406fbb5a in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
#6  0x08124e2c in __gnu_debug_def::vector<char, std::allocator<char> >::operator[] (this=0xbf7ff810, __n=2)
    at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192
#7  0x081240c5 in CMuleUDPSocket::SendControlData (this=0xa3df1f8, maxNumberOfBytesToSend=138) at MuleUDPSocket.cpp:257
#8  0x0815eacf in UploadBandwidthThrottler::Entry (this=0xbb9da68) at UploadBandwidthThrottler.cpp:395
#9  0x40641829 in wxThreadInternal::PthreadStart () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#10 0x4064188c in wxPthreadStart () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#11 0x40031f5b in pthread_start_thread () from /lib/libpthread.so.0
#12 0x40031fdf in pthread_start_thread_event () from /lib/libpthread.so.0
#13 0x4087ebea in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x407dfc81 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x400354a1 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4003587b in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x407df8f8 in raise () from /lib/libc.so.6
No symbol table info available.
#4  0x407e0f00 in abort () from /lib/libc.so.6
No symbol table info available.
#5  0x406fbb5a in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x08124e2c in __gnu_debug_def::vector<char, std::allocator<char> >::operator[] (this=0xbf7ff810, __n=2)
    at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192
No locals.
#7  0x081240c5 in CMuleUDPSocket::SendControlData (this=0xa3df1f8, maxNumberOfBytesToSend=138) at MuleUDPSocket.cpp:257
        sendbuffer = {<__gnu_norm::vector<char,std::allocator<char> >> = {<__gnu_norm::_Vector_base<char,std::allocator<char> >> = {
      _M_impl = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_start = 0x41400728 "äY",
        _M_finish = 0x4140072a "",
        _M_end_of_storage = 0x4140072a ""}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<char, std::allocator<char> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 2}
        item = {packet = 0xa2be9b8, time = 49931712, IP = 441596311, port = 4672, bEncrypt = false, bKad = true, nReceiverVerifyKey = 0,
  pachTargetClientHashORKadID = '\0' <repeats 15 times>}
        packet = (CPacket *) 0xa2be9b8
        lock = {m_isOk = true, m_mutex = @0xa3df21c}
        sentBytes = 27
        returnVal = {success = true, sentBytesStandardPackets = 2600, sentBytesControlPackets = 0}
#8  0x0815eacf in UploadBandwidthThrottler::Entry (this=0xbb9da68) at UploadBandwidthThrottler.cpp:395
        socketSentBytes = {success = true, sentBytesStandardPackets = 2600, sentBytesControlPackets = 0}
        socket = (ThrottledControlSocket *) 0xa3df1f8
        spentBytes = 0
        spentOverhead = 0
        sendLock = {m_isOk = true, m_mutex = @0xbb9da78}
        maxSlot = 1
        timeSinceLastLoop = 3212835184
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 138
        sleepTime = 3212835296
        thisLoopTick = 49931832
        realBytesToSpend = 138959
        extraSleepTime = 1
        lastLoopTick = 49931832
        allowedDataRate = 12288
        rememberedSlotCounter = 1
        sendLock = {m_isOk = 248, m_mutex = @0x40017648}
#9  0x40641829 in wxThreadInternal::PthreadStart () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x4064188c in wxPthreadStart () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x40031f5b in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#12 0x40031fdf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#13 0x4087ebea in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 5 (Thread 49156 (LWP 14675)):
#0  0x40039f56 in nanosleep () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()

Thread 3 (Thread 16386 (LWP 14672)):
#0  0x407dfc81 in kill () from /lib/libc.so.6
#1  0x400354a1 in pthread_kill () from /lib/libpthread.so.0
#2  0x4003587b in raise () from /lib/libpthread.so.0
#3  0x407df8f8 in raise () from /lib/libc.so.6
#4  0x407e0f00 in abort () from /lib/libc.so.6
#5  0x406fbb5a in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
#6  0x08124e2c in __gnu_debug_def::vector<char, std::allocator<char> >::operator[] (this=0xbf7ff810, __n=2)
    at /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/debug/vector:192
#7  0x081240c5 in CMuleUDPSocket::SendControlData (this=0xa3df1f8, maxNumberOfBytesToSend=138) at MuleUDPSocket.cpp:257
#8  0x0815eacf in UploadBandwidthThrottler::Entry (this=0xbb9da68) at UploadBandwidthThrottler.cpp:395
#9  0x40641829 in wxThreadInternal::PthreadStart () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#10 0x4064188c in wxPthreadStart () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#11 0x40031f5b in pthread_start_thread () from /lib/libpthread.so.0
#12 0x40031fdf in pthread_start_thread_event () from /lib/libpthread.so.0
#13 0x4087ebea in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 14671)):
#0  0x4087551a in poll () from /lib/libc.so.6
#1  0x400324b0 in __pthread_manager () from /lib/libpthread.so.0
#2  0x40032eb7 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0x4087ebea in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 14647)):
#0  0x4087551a in poll () from /lib/libc.so.6
#1  0x402dc31b in wxapp_poll_func () from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#2  0x40d2fdb6 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#3  0x40d3014a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0x40a10e33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x402f6cf9 in wxEventLoop::Run () from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#6  0x4038a0d6 in wxAppBase::MainLoop () from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#7  0x4038a253 in wxAppBase::OnRun () from /usr/local/wxGTK/lib/libwx_gtk2u_core-2.8.so.0
#8  0x405d3c90 in wxEntry () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#9  0x405d3d84 in wxEntry () from /usr/local/wxGTK/lib/libwx_baseu-2.8.so.0
#10 0x081bd2c9 in main (argc=1, argv=0xbffff1f4) at amule-gui.cpp:95
#0  0x407dfc81 in kill () from /lib/libc.so.6
(gdb)
Logged

ecforum

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
Re: CVS 22 dec. 2007
« Reply #2 on: December 22, 2007, 08:42:50 PM »

I have tested with the previous CVS version that I used :

- CVS 15 december 2007 works well
- CVS 22 december 2007 crashs after some minutes (10' max ?)

I compiled the these 2 versions this evening.
I did these tests :
- CVS 15 dec works well some minutes
- So I tested again with CVS 22 dec : it works more than 2 minutes but crashed
- So I used again CVS 15 dec : it currently works since 52 min

I hope that this will help...
Logged