aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit  (Read 6123 times)

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« on: March 11, 2009, 06:07:44 PM »


Latest wxGTK2

GTK2 version is 2.14

This started crashing about 1 month ago when I added about 800 download streams. It's currently set at 983.

It's definitely more unstable as more downloads are added, paused or not.

I have amule set to reserve space for each download.

As downloads clear, the stablity improves. Below 800 downloads it seems ok, at the current number it crashes in less than 15 mins.

1.5Gb ram, ulimit set to 16384 files.

There is no connection with the number of  shared files. I had approx 11k opensource files exported, removing those made no difference.

daemon AND amule both crash. Debug logging is enabled, but nothing is being recorded there.

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.3 using wxGTK2 v2.8.8
Running on: Linux 2.6.27-11-generic i686

[2] ?? in amule [0x8086e11]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb757ddd6]
[4] ?? in [0xb7f20400]
[5] ?? in /usr/lib/libupnp.so.3 [0xb7aa5e28]
[6] ?? in /usr/lib/libupnp.so.3 [0xb7aaf6d2]
[7] ?? in /usr/lib/libupnp.so.3 [0xb7ab0893]
[8] UpnpDownloadUrlItem in /usr/lib/libupnp.so.3[0xb7ab6d45]
[9] UpnpDownloadXmlDoc in /usr/lib/libupnp.so.3[0xb7ab6da9]
[10] ?? in amule [0x8152541]
[11] ?? in /usr/lib/libupnp.so.3 [0xb7aa7ca8]
[12] ?? in /usr/lib/libupnp.so.3 [0xb7aa8221]
[13] ?? in /usr/lib/libthreadutil.so.2 [0xb7a9f5a5]
[14] ?? in /lib/tls/i686/cmov/libpthread.so.0 [0xb7ed350f]
[15] clone in /lib/tls/i686/cmov/libc.so.6[0xb72b9a0e]


--------------------------------------------------------------------------------
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #2 on: March 11, 2009, 08:13:46 PM »

I noticed wxwidgets was 2.8.8 - updated to 2.8.9 but no change to the crashes

Debugging symbols aren't compiled in at the moment:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb08d1b90 (LWP 17034)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb7c5d6d2 in http_RequestAndResponse (destination=0xb08d02a0,
    request=0xb5a046c0 "GET /gateway.xml HTTP/1.1\r\nHOST: 192.168.7.1:49152\r\nDATE: Wed, 11 Mar 2009 18:57:09 GMT\r\nCONNECTION: close\r\nUSER-AGENT: Linux/2.6.27-11-generic, UPnP/1.0, Portable SDK for UPnP devices/1.6.6\r\n\r\n",
    request_length=194, req_method=HTTPMETHOD_GET, timeout_secs=30,
    response=0xb08d01c4) at src/genlib/net/http/httpreadwrite.c:546
#2  0xb7c5e893 in http_Download (
    url_str=0xb08d0fa8 "http://192.168.7.1:49152/gateway.xml",
    timeout_secs=30, document=0xb08d0350, doc_length=0xb08d0320,
    content_type=0xb08d0354 "�D��") at src/genlib/net/http/httpreadwrite.c:648
#3  0xb7c64d45 in UpnpDownloadUrlItem (url=0x0, outBuf=0x1e,
    contentType=0xb08d0354 "�D��") at src/api/upnpapi.c:3249
#4  0xb7c64da9 in UpnpDownloadXmlDoc (url=0x1e <Address 0x1e out of bounds>,
    xmlDoc=0xb08d0630) at src/api/upnpapi.c:3281
#5  0x08152541 in ?? ()
#6  0xb7c55ca8 in ssdp_handle_ctrlpt_msg (hmsg=0xb5a074f8,
    dest_addr=0xb5a075d4, timeout=0 '\0', cookie=0x0)
    at src/ssdp/ssdp_ctrlpt.c:251
#7  0xb7c56221 in ssdp_event_handler_thread (the_data=0xb5a074f8)
    at src/ssdp/ssdp_server.c:743
#8  0xb7c4d5a5 in WorkerThread (arg=0xb7c6d1ec) at src/ThreadPool.c:573
#9  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#10 0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb7c5d6d2 in http_RequestAndResponse (destination=0xb08d02a0,
    request=0xb5a046c0 "GET /gateway.xml HTTP/1.1\r\nHOST: 192.168.7.1:49152\r\nDATE: Wed, 11 Mar 2009 18:57:09 GMT\r\nCONNECTION: close\r\nUSER-AGENT: Linux/2.6.27-11-generic, UPnP/1.0, Portable SDK for UPnP devices/1.6.6\r\n\r\n",
    request_length=194, req_method=HTTPMETHOD_GET, timeout_secs=30,
    response=0xb08d01c4) at src/genlib/net/http/httpreadwrite.c:546
   tcp_connection = <value optimized out>
   ret_code = <value optimized out>
   http_error_code = -1211771349
   info = {socket = 1120, foreign_ip_addr = {s_addr = 0},
  foreign_ip_port = 0}
#2  0xb7c5e893 in http_Download (
    url_str=0xb08d0fa8 "http://192.168.7.1:49152/gateway.xml",
    timeout_secs=30, document=0xb08d0350, doc_length=0xb08d0320,
    content_type=0xb08d0354 "�D��") at src/genlib/net/http/httpreadwrite.c:648
   ret_code = <value optimized out>
   url = {type = ABSOLUTE, scheme = {
    buff = 0xb08d0fa8 "http://192.168.7.1:49152/gateway.xml", size = 4},
  path_type = ABS_PATH, pathquery = {buff = 0xb08d0fc0 "/gateway.xml",
    size = 12}, fragment = {buff = 0x0, size = 0}, hostport = {text = {
      buff = 0xb08d0faf "192.168.7.1:49152/gateway.xml", size = 17},
---Type <return> to continue, or q <return> to quit---
    IPv4address = {sin_family = 2, sin_port = 192, sin_addr = {
        s_addr = 17279168}, sin_zero = "\000\000\000\000\000\000\000"}}}
   msg_start = <value optimized out>
   entity_start = <value optimized out>
   hoststr = <value optimized out>
   response = {msg = {initialized = -1247791136, method = 3074386804,
    uri = {type = 3047161872, scheme = {
        buff = 0x6 <Address 0x6 out of bounds>, size = 3047177072},
      path_type = 2962031096, pathquery = {buff = 0xb73f74b6 "e\203=\f",
        size = 3047162456}, fragment = {buff = 0xb74c52b7 "%s\n",
        size = 3075239232}, hostport = {text = {
          buff = 0xb74c3c31 "malloc(): memory corruption", size = 3075226463},
        IPv4address = {sin_family = 14928, sin_port = 46496, sin_addr = {
            s_addr = 2962031128}, sin_zero = "�t?�H\000��"}}},
    request_method = 541, status_code = 64, status_msg = {buf = 0xb5a00010 "",
      length = 2, capacity = 3047179432, size_inc = 2962031160},
    is_request = -74 '�', major_version = -1247805424,
    minor_version = -1247795904, headers = {head = {prev = 0xb73f6b74,
        next = 0xb5a00010, item = 0x1}, tail = {prev = 0xb5a02440,
        next = 0xb5a00040, item = 0xb5a00040}, size = -1247787872,
      freeNodeList = {head = 0xb5a02440, element_size = 3074386804,
        maxFreeListLength = 67, freeListLength = 6}, free_func = 0xb5a08648,
      cmp_func = 0xb08d0278}, entity = {buf = 0xb73f74b6 "e\203=\f",
---Type <return> to continue, or q <return> to quit---
      length = 3047161872}, msg = {
      buf = 0xb5a08648 "3dfd-4556-bd78-c3908737a823</UDN>\n\t\t\t\t<UPC>DG834PN</UPC>\n\t\t\t\t<serviceList>\n\t\t\t\t\t<service>\n\t\t\t\t\t\t<serviceType>urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1</serviceType>\n\t\t\t\t\t\t<serviceId>urn:"..., length = 3075342324, capacity = 525, size_inc = 525},
    urlbuf = 0xb08d0298 "�\002\215��M]�"}, http_error_code = -1220568891,
  valid_ssdp_notify_hack = 16 '\020', position = 525,
  ent_position = -1247805424, content_length = 3074386804,
  chunk_size = -1218441228, entity_start_position = 525, scanner = {
    msg = 0xb08d0374, cursor = 2962031304, entire_msg_loaded = -57 '�'}}
   hostlen = <value optimized out>
   ctype = {buf = 0xb73f74b6 "e\203=\f", length = 3074390353}
   copy_len = <value optimized out>
   request = {
  buf = 0xb5a046c0 "GET /gateway.xml HTTP/1.1\r\nHOST: 192.168.7.1:49152\r\nDATE: Wed, 11 Mar 2009 18:57:09 GMT\r\nCONNECTION: close\r\nUSER-AGENT: Linux/2.6.27-11-generic, UPnP/1.0, Portable SDK for UPnP devices/1.6.6\r\n\r\n",
  length = 194, capacity = 196, size_inc = 5}
#3  0xb7c64d45 in UpnpDownloadUrlItem (url=0x0, outBuf=0x1e,
    contentType=0xb08d0354 "�D��") at src/api/upnpapi.c:3249
   ret_code = <value optimized out>
   dummy = -1207424546
#4  0xb7c64da9 in UpnpDownloadXmlDoc (url=0x1e <Address 0x1e out of bounds>,
---Type <return> to continue, or q <return> to quit---
    xmlDoc=0xb08d0630) at src/api/upnpapi.c:3281
   ret_code = <value optimized out>
   xml_buf = 0xb08d0464 "��B\b�D���D���D���D���D���F���5`�\020"
   content_type = "�D��\000\000\000\000\000\000\000\000�5`��\003\215�t\003\215�T+`�\006\000\000\000\204�B\b\006\000\000\000�\017`�\000\000\000\000\000\000\000\000$\000\000\000`�Z��D��\211F.\b#\000\000\000�\017`�\000\000\000\000`\004\215��\003\215��PZ�d\004\215�\211F.\b$\000\000\000�\017`�\214\004\215�,\000\000\000�\003\215��\003\215�\214\004\215��\004\215��\003\215��\017`�`\004\215�\001\000\000\000`\004\215��\017`�\210F.\b`\004\215�\030\004\215�\234RZ�`\004\215�\210F.\b"
#5  0x08152541 in ?? ()
No symbol table info available.
#6  0xb7c55ca8 in ssdp_handle_ctrlpt_msg (hmsg=0xb5a074f8,
    dest_addr=0xb5a075d4, timeout=0 '\0', cookie=0x0)
    at src/ssdp/ssdp_ctrlpt.c:251
   handle = 1
   ctrlpt_info = (struct Handle_Info *) 0xb034098
   hdr_value = {buf = 0xb5a076f8 "ssdp:alive", length = 10}
   param = {ErrCode = 0, Expires = 600,
  DeviceId = "uuid:824ff22b-8c7d-41c5-a131-44f534e12555", '\0' <repeats 138 times>,
  DeviceType = "\000rn:sche �\t�����<\021\215�KY=�X\021\215�1\000\000\000X\021\215�ctionDevice:������������", '\0' <repeats 28 times>, "��������", '\0' <repeats---Type <return> to continue, or q <return> to quit---
 20 times>, " \021\215�", '\0' <repeats 28 times>, "�\232Ʒ", '\0' <repeats 16 times>, "0\022\215�\002\000\000\000\003\000\000",
  ServiceType = "\000���\200\003N���\210\t\000\000\000\000-org\n\000\000\000 �\t�\"�\t�", '\0' <repeats 20 times>, "g:1\000\000\001\000\000\001\000\000\000\001\000\000\000\000\000\000\000\000\000\000\033\020\000\000\000[�u��\037O�R�u��\016\215��\016\215���N�\225�\b��\016\215�\000\000\000\000\000\000\000\000��N\v\000\000\000\000��\b��\037O�\v\000\000\000��\b�@\000\000\000��N���\b�H\017\215�\004\000\000\000��N�$�N�X\017\215\0014\200\004\b",
  ServiceVer = "\000�\a��\232Ʒ����\000�\a�\000\000\000\000�\f\215�\001\000\000\000��\b���\b�������\b�\016\025\b���N�P!O�\b�N�\000\000\000\000\000\000\000\000,@\b�\000\000\000\000m?\000\000\000\000\000\000\001\000\000\000\227\000\000\000\214�\b�\000\000\000\000\003", '\0' <repeats 11 times>, "\202+J�`\022\r�(\000\000\000@\000\000\000\214\017\215�h\026\r�[\000\000\000\001\000\000\000\000\000\000\000 \020\r�\000\000\000\000��\f�4\200\004\b\t\000\b�`\000\000\000\000\000\000\000\005\000\000",
  Location = "http://192.168.7.1:49152/gateway.xml\000\017\215�\022", '\0' <repeats 11 times>, "\f!O��\022\215�\000\000\000\000\016\025\b�\000\000\000\000\000\000\000\000 �\a�\000\000\000\000\001\000\000\000��N��\037O�\b\000\000\000\230\021\215�\220\020\215�ݵN�\016\025\b�\020\022\215�\000\000\000\000\000\000\000\000p\023\215�\001\000\000\000@\024\215�H\020\215�h\027;�@\024\215�H\020\215���M�h\020\215��\026;�@\024\215�\001\000\000\000\000\000\000",
  Os = "Linux/2.6.8.1, UPnP/1.0, Intel SDK for UPnP devices /1.2\000RL�@mL�1<L�H\000��\025\000\000\000\002\000\000\000\031�ŷH\000��(x��\b\000\000\000`\021\215�---Type <return> to continue, or q <return> to quit---
�u���w���\020\215\r��Ʒ\000\000\000\000\004\000\000\000@\000�� x��\000\000\000\0008\002��@\000��\002\000\000\000`\000���RL�@mL�\b\000\000\000_;L�D8?N8\021\215���ķ",
  Date = "\000\021\215��w��\003\000\000\000\003\000\000\000\f\000\000\000\020\000���\230?�hu���\021\215��\021\215�\210\021\215�i�ŷ\\u��\000\000\000\000T\021\215���ķ;\000\000\000��ķ\210\021\215�\003\000\000\000xu��\000\000\000\000t\021\215���ķ�w���w���\021\215�\031�ŷ��Ʒ�t���\021\215�o�ŷ�t��\003\000\000\000�\021\215��\021\215�$\001\000\000�w��\030\022\215�\215�ŷ\b\022\215��w��\027\000\000\000��Ʒ�t��",
  Ext = "\000\000\000\000\030\022\215���ŷ�t��m\232Ʒ�w����ŷ�u��x\232Ʒ\004\022\215�\234\232Ʒ�u��\230u���u��:\000\000\000D'��\002\000\000\000\002\000\000\000��Ʒ�t��\002\000\000\000H\022\215���ķd\022\215�\000f��\000\000\000\000\000\000\000\000\020\000��\020�Ʒ\237\232Ʒhu���\022\215��\022\215�\230\022\215�i�ŷ\\u��\000\000\000\000\000\000\000\000�\017\t0\024\000\000\000\200\220Ʒ\230\022\215�6�ŷ\0040��\200\220Ʒ", DestAddr = {sin_family = 2, sin_port = 7180, sin_addr = {
      s_addr = 17279168}, sin_zero = "\000\000\000\000\000\000\000"}}
   event = {Cmd = SSDP_OK, RequestType = SSDP_ROOTDEVICE, ErrCode = 0,
  MaxAge = 0, Mx = 0,
  UDN = "uuid:824ff22b-8c7d-41c5-a131-44f534e12555", '\0' <repeats 138 times>,
  DeviceType = '\0' <repeats 179 times>,
  ServiceType = '\0' <repeats 179 times>, Location = '\0' <repeats 179 times>,
  HostAddr = '\0' <repeats 179 times>, Os = '\0' <repeats 179 times>,
  Ext = '\0' <repeats 179 times>, Date = '\0' <repeats 179 times>,
---Type <return> to continue, or q <return> to quit---
  DestAddr = 0x0, Cookie = 0x0}
   nt_found = 1 '\001'
   usn_found = 1 '\001'
   st_found = <value optimized out>
   save_char = 0 '\0'
   event_type = 30
   ctrlpt_callback = (Upnp_FunPtr) 0x8152120
   ctrlpt_cookie = (void *) 0xb0333d4
   node = <value optimized out>
   searchArg = <value optimized out>
   matched = <value optimized out>
   job = {func = 0, arg = 0x0, free_func = 0, requestTime = {tv_sec = 0,
    tv_usec = 0}, priority = 0, jobId = 0}
#7  0xb7c56221 in ssdp_event_handler_thread (the_data=0xb5a074f8)
    at src/ssdp/ssdp_server.c:743
No locals.
#8  0xb7c4d5a5 in WorkerThread (arg=0xb7c6d1ec) at src/ThreadPool.c:573
   start = 1236797829
   job = (ThreadPoolJob *) 0xbd64528
   head = (ListNode *) 0xbd72788
   timeout = {tv_sec = 1236797829, tv_nsec = 108000000}
   retCode = <value optimized out>
   persistent = 0
---Type <return> to continue, or q <return> to quit---
#9  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#10 0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

more to follow....
Logged

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #3 on: March 11, 2009, 08:14:26 PM »


(gdb)  thread apply all bt

Thread 18 (Thread 0xb08d1b90 (LWP 17034)):
#0  0x00000000 in ?? ()
#1  0xb7c5d6d2 in http_RequestAndResponse (destination=0xb08d02a0,
    request=0xb5a046c0 "GET /gateway.xml HTTP/1.1\r\nHOST: 192.168.7.1:49152\r\nDATE: Wed, 11 Mar 2009 18:57:09 GMT\r\nCONNECTION: close\r\nUSER-AGENT: Linux/2.6.27-11-generic, UPnP/1.0, Portable SDK for UPnP devices/1.6.6\r\n\r\n",
    request_length=194, req_method=HTTPMETHOD_GET, timeout_secs=30,
    response=0xb08d01c4) at src/genlib/net/http/httpreadwrite.c:546
#2  0xb7c5e893 in http_Download (
    url_str=0xb08d0fa8 "http://192.168.7.1:49152/gateway.xml",
    timeout_secs=30, document=0xb08d0350, doc_length=0xb08d0320,
    content_type=0xb08d0354 "�D��") at src/genlib/net/http/httpreadwrite.c:648
#3  0xb7c64d45 in UpnpDownloadUrlItem (url=0x0, outBuf=0x1e,
    contentType=0xb08d0354 "�D��") at src/api/upnpapi.c:3249
#4  0xb7c64da9 in UpnpDownloadXmlDoc (url=0x1e <Address 0x1e out of bounds>,
    xmlDoc=0xb08d0630) at src/api/upnpapi.c:3281
#5  0x08152541 in ?? ()
#6  0xb7c55ca8 in ssdp_handle_ctrlpt_msg (hmsg=0xb5a074f8,
    dest_addr=0xb5a075d4, timeout=0 '\0', cookie=0x0)
    at src/ssdp/ssdp_ctrlpt.c:251
#7  0xb7c56221 in ssdp_event_handler_thread (the_data=0xb5a074f8)
    at src/ssdp/ssdp_server.c:743
---Type <return> to continue, or q <return> to quit---
#8  0xb7c4d5a5 in WorkerThread (arg=0xb7c6d1ec) at src/ThreadPool.c:573
#9  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xaf8cfb90 (LWP 16066)):
#0  0xb80cf430 in __kernel_vsyscall ()
#1  0xb80853a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb772483c in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb772488f in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb772554c in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb77255df in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08237a07 in ?? ()
#7  0xb7725bb8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7725c2d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 11 (Thread 0xb29f9b90 (LWP 15341)):
#0  0xb80cf430 in __kernel_vsyscall ()
#1  0xb8088906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb772ba88 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb772bab1 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7723f8d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x0811f0e4 in ?? ()
#6  0xb7725bb8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7725c2d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb21f8b90 (LWP 15326)):
#0  0xb80cf430 in __kernel_vsyscall ()
#1  0xb80853a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7c4d2c9 in WorkerThread (arg=0xb7c6d444) at src/ThreadPool.c:499
#3  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb39fbb90 (LWP 15323)):
#0  0xb80cf430 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
#1  0xb745fdf1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7c59101 in RunMiniServer (miniSock=0xb033cd0)
    at src/genlib/miniserver/miniserver.c:420
#3  0xb7c4d5a5 in WorkerThread (arg=0xb7c6d444) at src/ThreadPool.c:573
#4  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb49fdb90 (LWP 15320)):
#0  0xb80cf430 in __kernel_vsyscall ()
#1  0xb80853a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7c4d2c9 in WorkerThread (arg=0xb7c6d1ec) at src/ThreadPool.c:499
#3  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb51feb90 (LWP 15318)):
#0  0xb80cf430 in __kernel_vsyscall ()
#1  0xb80853a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7c4d2c9 in WorkerThread (arg=0xb7c6d728) at src/ThreadPool.c:499
#3  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 3 (Thread 0xb59ffb90 (LWP 15317)):
#0  0xb80cf430 in __kernel_vsyscall ()
#1  0xb80853a2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7c4e275 in TimerThreadWorker (arg=0xb7c6d3ac) at src/TimerThread.c:137
#3  0xb7c4d5a5 in WorkerThread (arg=0xb7c6d728) at src/ThreadPool.c:573
#4  0xb808150f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb7467a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6770700 (LWP 15239)):
#0  0xb7186100 in gtk_border_copy () from /usr/lib/libgtk-x11-2.0.so.0
#1  0xb6d4960a in ?? () from /usr/lib/libgobject-2.0.so.0
#2  0xb7228d81 in gtk_widget_style_get_valist ()
   from /usr/lib/libgtk-x11-2.0.so.0
#3  0xb7228f06 in gtk_widget_style_get () from /usr/lib/libgtk-x11-2.0.so.0
#4  0xb7228f9f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb72290aa in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb722e4f7 in gtk_widget_queue_resize () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb70fc726 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb70fee50 in gtk_label_set_text () from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb799bac1 in wxNotebook::SetPageText ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x081c21ce in ?? ()
---Type <return> to continue, or q <return> to quit---
#11 0x081c2287 in ?? ()
#12 0x081d3363 in ?? ()
#13 0x081d3cdf in ?? ()
#14 0x081e788b in ?? ()
#15 0x080c88a3 in ?? ()
#16 0x0808bda8 in ?? ()
#17 0xb767c415 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb772738f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb77274dd in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0xb7727646 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#21 0xb7727b87 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#22 0xb767cdcf in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#23 0xb79b4f5f in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#24 0xb78f5006 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#25 0xb6cac7c1 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0xb6cae6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#27 0xb6cb1da3 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb6cb22c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0xb710c309 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb790f5dc in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#31 0xb79b4efe in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#32 0xb79b4541 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#33 0xb76b89fa in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#34 0xb76b8aa7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#35 0x0815bc30 in ?? ()
#36 0xb739c685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#37 0x08085c21 in ?? ()
#0  0x00000000 in ?? ()
Logged

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit - uPNP?
« Reply #4 on: March 12, 2009, 12:15:44 PM »


Switching off uPNP in amule has stabilized it.

Other programs using uPNP are fine, so this is an aMule issue.

Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #5 on: March 12, 2009, 02:46:53 PM »

But what's the relation between number of downloads and UPnP?
Logged
concordia cum veritate

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #6 on: March 12, 2009, 04:26:47 PM »

At this point, I don't know.

It could just be coincidence as I upgraded to 2.2.3 shortly before adding the extra downloads.

Then again, more downloads means more sources to track - I am seeing an average of 300 sources per file at the moment with some downloads seeing 1024 sources.


Note that the Ubuntu 8.10 main channel binary is 2.2.2 and uPNP is completely broken in that build. Both amule and amuled stayed up for weeks at a  time.

Presumably  only a few Ubuntu 8.10 users are seeing this problem (so far) because only a few have upgraded to the PPA 2.2.3 package or compiled from source.

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #7 on: March 12, 2009, 08:41:15 PM »

9 threads ? Huh ? Is this normal with UPnP ?

But what's the relation between number of downloads and UPnP?
Remember the relation between IP2Country, 64 bit and the tray icon.  8)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #8 on: March 13, 2009, 02:09:33 AM »

Looks like I spoke too soon about crashes.

This is with uPNP disabled - but note that it was up 18 hours, not 15 minutes.

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.3 using wxGTK2 v2.8.8
Running on: Linux 2.6.27-11-generic i686

[2] wxString::~wxString() in amule [0x8086e11]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb776ff26]
[4] ?? in [0xb80ae400]
[5] wxStringTokenizer::~wxStringTokenizer() in amule [0x8096f23]
[6] wxStringTokenizer::~wxStringTokenizer() in amule [0x809bff3]
[7] wxString::operator+=(wxString const&) in amule [0x80a3e63]
[8] wxString::operator+=(wxString const&) in amule [0x80a425f]
[9] wxString::~wxString() in amule [0x808be3d]
[10] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[11] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[14] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb776ba89]
[15] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc601]
[16] wxAppBase::ProcessIdle() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb79d058f]
[17] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb791f123]
[18] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d2e7c1]
[19] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6d306f8]
[20] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d33da3]
[21] g_main_context_iteration in /usr/lib/libglib-2.0.so.0[0xb6d33f61]
[22] gtk_main_iteration in /usr/lib/libgtk-x11-2.0.so.0[0xb7162164]
[23] wxWindow::DoPopupMenu(wxMenu*, int, int) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb79b273d]
[24] wxMenuItemList::~wxMenuItemList() in amule [0x81a37f0]
[25] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[26] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[27] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[28] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[29] wxTreeCtrlBase::OnCompareItems(wxTreeItemId const&, wxTreeItemId const&) in amule [0x82673cf]
[30] wxTreeCtrlBase::OnCompareItems(wxTreeItemId const&, wxTreeItemId const&) in amule [0x826ac37]
[31] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[32] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[33] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[34] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[35] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c8b9]
[36] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7a8c093]
[37] wxWindow::GTKProcessEvent(wxEvent&) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb79481cb]
[38] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb794dffc]
[39] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0xb7167f96]
[40] g_closure_invoke in /usr/lib/libgobject-2.0.so.0[0xb6dcdb78]
[41] ?? in /usr/lib/libgobject-2.0.so.0 [0xb6de4095]
[42] g_signal_emit_valist in /usr/lib/libgobject-2.0.so.0[0xb6de562b]
[43] g_signal_emit in /usr/lib/libgobject-2.0.so.0[0xb6de5c26]
[44] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0xb727cf1e]
[45] gtk_propagate_event in /usr/lib/libgtk-x11-2.0.so.0[0xb7160aac]
[46] gtk_main_do_event in /usr/lib/libgtk-x11-2.0.so.0[0xb7161f77]
[47] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0xb6ff856a]
[48] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6d306f8]
[49] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d33da3]
[50] g_main_context_iteration in /usr/lib/libglib-2.0.so.0[0xb6d33f61]
[51] gtk_main_iteration in /usr/lib/libgtk-x11-2.0.so.0[0xb7162164]
[52] wxWindow::DoPopupMenu(wxMenu*, int, int) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb79b273d]
[53] wxMenuItemList::~wxMenuItemList() in amule [0x81a37f0]
[54] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[55] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[56] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[57] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[58] wxTreeCtrlBase::OnCompareItems(wxTreeItemId const&, wxTreeItemId const&) in amule [0x82673cf]
[59] wxTreeCtrlBase::OnCompareItems(wxTreeItemId const&, wxTreeItemId const&) in amule [0x826ac37]
[60] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[61] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[62] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[63] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[64] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c8b9]
[65] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7a8c093]
[66] wxWindow::GTKProcessEvent(wxEvent&) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb79481cb]
[67] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb794dffc]
[68] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0xb7167f96]
[69] g_closure_invoke in /usr/lib/libgobject-2.0.so.0[0xb6dcdc4b]
[70] ?? in /usr/lib/libgobject-2.0.so.0 [0xb6de4095]
[71] g_signal_emit_valist in /usr/lib/libgobject-2.0.so.0[0xb6de562b]
[72] g_signal_emit in /usr/lib/libgobject-2.0.so.0[0xb6de5c26]
[73] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0xb727cf1e]
[74] gtk_propagate_event in /usr/lib/libgtk-x11-2.0.so.0[0xb7160aac]
[75] gtk_main_do_event in /usr/lib/libgtk-x11-2.0.so.0[0xb7161f77]
[76] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0xb6ff856a]
[77] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6d306f8]
[78] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d33da3]
[79] g_main_context_iteration in /usr/lib/libglib-2.0.so.0[0xb6d33f61]
[80] gtk_main_iteration in /usr/lib/libgtk-x11-2.0.so.0[0xb7162164]
[81] wxTaskBarIconAreaBase::DoPopupMenu(wxMenu*, int, int) in /usr/lib/libwx_gtk2u_adv-2.8.so.0[0xb7bfc2dd]
[82] wxTaskBarIcon::PopupMenu(wxMenu*) in /usr/lib/libwx_gtk2u_adv-2.8.so.0[0xb7bf8b48]
[83] wxTaskBarIconBase::OnRightButtonDown(wxTaskBarIconEvent&) in /usr/lib/libwx_gtk2u_adv-2.8.so.0[0xb7bf5e59]
[84] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[85] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[86] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[87] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[88] wxTaskBarIconArea::OnMouseEvent(wxMouseEvent&) in /usr/lib/libwx_gtk2u_adv-2.8.so.0[0xb7bf9b94]
[89] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb76cc2a1]
[90] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776b60a]
[91] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c824]
[92] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb776c92b]
[93] wxWindow::GTKProcessEvent(wxEvent&) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb79481cb]
[94] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb794dffc]
[95] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0xb7167f96]
[96] g_closure_invoke in /usr/lib/libgobject-2.0.so.0[0xb6dcdb78]
[97] ?? in /usr/lib/libgobject-2.0.so.0 [0xb6de4095]
[98] g_signal_emit_valist in /usr/lib/libgobject-2.0.so.0[0xb6de562b]
[99] g_signal_emit in /usr/lib/libgobject-2.0.so.0[0xb6de5c26]


--------------------------------------------------------------------------------
Aborted
Logged

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #9 on: March 16, 2009, 12:24:12 AM »

Reducing the number of active sessions to ~200 has 100% stabilised the program - No crashes  for several days.
Logged

yanhuang5k

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: Crash: Amule 2.2.3, Ubuntu 8.10, 32 bit
« Reply #10 on: March 26, 2009, 06:38:35 AM »

I also encountered a crash with backtrace message as below:

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.3 using wxGTK2 v2.8.8
Running on: Linux 2.6.27-11-generic i686

[2] std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() in amule [0x8092e53]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb76fbd96]
[4] ?? in [0xb802a400]
[5] ?? in [0xa9da25d]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0xb6f7e4af]
[7] ?? in /usr/lib/libglib-2.0.so.0 [0xb6d1c71d]
[8] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6ce5718]
[9] ?? in /usr/lib/libglib-2.0.so.0 [0xb6ce8dc3]
[10] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb6ce92e2]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb71163a9]
[12] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb78c3e95]
[13] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb795a5ce]
[14] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb795a1a1]
[15] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7692a7a]
[16] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7692c77]
[17] std::ostream::operator<<(bool) in amule [0x829cf0d]
[18] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb73a7685]
[19] ?? in amule [0x808cd91]


-------------------------------------------------------------------------------
Logged