Bug 497010
Summary: | rtorrent or libtorrent crashes in konsole and gnome-terminal | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Shawn Baker <vinic> |
Component: | nss | Assignee: | Kai Engert (:kaie) (inactive account) <kengert> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | accounts, bugs.michael, cse.cem+redhatbugz, emaldona, kengert, pahan, vinic |
Target Milestone: | --- | Keywords: | Reopened, Triaged |
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 455954 | Environment: | |
Last Closed: | 2009-12-18 09:18:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Shawn Baker
2009-04-22 02:11:23 UTC
At this point, it seems to crash anywhere between half an hour to a few hours. Here's a new backtrace made after installing the aforementioned debuginfos: Thread 1 (Thread 0xb7fe8740 (LWP 19691)): #0 0x00aaf416 in __kernel_vsyscall () #1 0x00326460 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x00327e28 in abort () at abort.c:88 #3 0x00363fed in __libc_message (do_abort=2, fmt=0x43ee68 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #4 0x0036a3a4 in malloc_printerr (action=2, str=0x43ef60 "double free or corruption (!prev)", ptr=0xa612488) at malloc.c:5994 #5 0x0036c356 in __libc_free (mem=0xa612488) at malloc.c:3625 #6 0x04765b37 in PR_Free (ptr=0x0) at ../../../mozilla/nsprpub/pr/src/malloc/prmem.c:490 #7 0x006b32f8 in nss_ZRealloc (pointer=0xa612490, newSize=4096) at arena.c:1076 #8 0x006a179b in pem_CreateObject (fwInstance=0x8958de0, fwSession=0x895ad08, mdToken=0x8958f38, pTemplate=0xbfffdd84, ulAttributeCount=4, pError=0xbfffdca8) at pobject.c:1080 #9 0x006a33ce in pem_mdSession_CreateObject (mdSession=0x895ad78, fwSession=0x895ad08, mdToken=0x8958f38, fwToken=0x895a2d8, mdInstance=0x6c4180, fwInstance=0x8958de0, arena=0x895a238, pTemplate=0xbfffdd84, ulAttributeCount=4, pError=0xbfffdca8) at psession.c:156 #10 0x006a77f4 in nssCKFWSession_CreateObject (fwSession=0x895ad08, pTemplate=0xbfffdd84, ulAttributeCount=4, pError=0xbfffdca8) at session.c:1353 #11 0x006af2c9 in NSSCKFWC_CreateObject (fwInstance=0x8958de0, hSession=1, pTemplate=0xbfffdd84, ulCount=4, phObject=0xbfffdd38) at wrap.c:1991 #12 0x0069e4ac in pemC_CreateObject (hSession=1, pTemplate=0xbfffdd84, ulCount=4, phObject=0xbfffdd38) at ../../../../../dist/public/nss/nssck.api:566 #13 0x047d2ece in PK11_CreateNewObject (slot=0x8959f90, session=1, theTemplate=0xbfffdd84, count=4, token=0, objectID=0xbfffdd38) at pk11obj.c:412 #14 0x047d3150 in PK11_CreateGenericObject (slot=0x8959f90, pTemplate=0xbfffdd84, count=4, token=0) at pk11obj.c:1346 #15 0x06084949 in nss_load_cert () from /usr/lib/libcurl.so.4 #16 0x0608544c in Curl_nss_connect () from /usr/lib/libcurl.so.4 #17 0x0607c2f5 in Curl_ssl_connect_nonblocking () from /usr/lib/libcurl.so.4 #18 0x06057291 in https_connecting () from /usr/lib/libcurl.so.4 #19 0x060629c1 in Curl_protocol_connect () from /usr/lib/libcurl.so.4 #20 0x06076cb7 in multi_runsingle () from /usr/lib/libcurl.so.4 #21 0x060771ba in multi_socket () from /usr/lib/libcurl.so.4 #22 0x06077285 in curl_multi_socket_action () from /usr/lib/libcurl.so.4 #23 0x0808f5f8 in core::CurlStack::receive_action (this=0x81163a8, socket=0x9638868, events=19691) at curl_stack.cc:93 #24 0x08091206 in core::CurlSocket::event_write (this=0x9638868) at curl_socket.cc:118 #25 0x0054977c in torrent::PollEPoll::perform (this=0x811cdc8) at poll_epoll.cc:168 #26 0x0808be8b in core::PollManagerEPoll::poll (this=0x811cc18, timeout={m_time = 851908}) at poll_manager_epoll.cc:74 #27 0x0806b6aa in main (argc=1, argv=0xbffff574) at main.cc:318 Get a usable backtrace and send it to rtorrent upstream. I can't fix bugs like this, and I've never run into them using rtorrent for days at a time. As soon as rtorrent makes a new release I will be happy to push it as an update. And what would gnome-terminal or konsole have *anything* to do with the issue? I found this ticket detailing the same problem I have, added to it, and was told to make a new one, so I cloned it. You'll have to ask the other commenters who kept the original ticket alive what it has to do with gnome-terminal or konsole. What would I need to do to generate a more "usable" backtrace? Comment #1 looks like a reasonable backtrace, but I'm not an rtorrent developer, there's not much I can do. Open a bug on their tracker. At least let's ask the Fedora NSS and Curl maintainers for a second pair of eyes first. As I pointed out in the cloned bug 455954 comment 11, the "double free or corruption" crash is deep into NSS and NSPR with a longer code path from within Curl -- hopefully not caused by side-effects from unsafe threading. Btw, next time *please* don't clone a bug, but really open a new one. One wants to eliminate old less useful or unrelated comments and strace logs from a different report, and at most mention the ticket number. When you experienced this bug on Fedora 10, did you use nss-3.12.2.0-5.fc10 ? That update got released after 2009-04-13. It fixed an off-by-one error in the libpem module, which is listed multiple times in your stack trace. It's been bug 483855. It sounds like it could be the same issue. Could you please test the new package? I've similar bug (coredump [1]), but I think it is not related Konsole, gnome-terminal or anyting other terminal emulator. Caught Segmentation fault, dumping stack: 0 rtorrent [0x806a998] 1 rtorrent [0x806d46c] 2 [0x5d2400] 3 /lib/libcrypto.so.7(BN_num_bits+0x1c) [0x86360c] 4 /usr/lib/libtorrent.so.11 [0xcfea9a] 5 /usr/lib/libtorrent.so.11 [0xcedfe5] 6 /usr/lib/libtorrent.so.11 [0xcef556] 7 /usr/lib/libtorrent.so.11 [0xcef641] 8 /usr/lib/libtorrent.so.11(_ZN7torrent9PollEPoll7performEv+0x67) [0xcb9737] 9 rtorrent [0x808bb6f] 10 rtorrent [0x806b56e] 11 /lib/libc.so.6(__libc_start_main+0xe6) [0xabf5d6] 12 rtorrent(_ZNSt8ios_base4InitD1Ev+0x69) [0x8051d31] bash: line 1: 10875 Аварийный останов (core dumped) rtorrent P.S. I can't find possibility to attach file in bugzilla... Didn't I search it well or it is not exist? [1] http://ru.bir.ru/_temp/rtorrent/core.10875 Nobody responded to my question/request: Please make sure you have at least nss-3.12.2.0-5.fc10 (or newer) installed. Does it fix the bug? I'm have bit older version: $ rpm -q nss nss-3.12.2.0-3.fc9.i386 but it is last available in stable repositories for Fedora 9, which I use. I check now, and in testing also have not updates for nss. nss-3.12.2.0-3.fc9.i386 contains the same fixed (see package changelog) Kai refers to. But: Pavel Alexeev, please do open a new ticket and attach a complete backtrace ( http://fedoraproject.org/wiki/StackTraces ). For that you need to install a couple of missing -debuginfo packages. Your comment 7 looks entirely different than the previous traces posted in this bug. It's a different code path than e.g. comment 1 and involves just libtorrent/openssl/rtorrent but not nss. Ok, I reopen previous my bugreport. Sorry if it is not applicable to that error. This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |