Bug 256826 - Ktorrent crashed after stop all downloads and start a new one
Summary: Ktorrent crashed after stop all downloads and start a new one
Status: RESOLVED DUPLICATE of bug 252341
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-13 18:12 UTC by Leandro Santiago da Silva
Modified: 2010-11-30 19:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Santiago da Silva 2010-11-13 18:12:45 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Ktorrent crashed after stop all downloads and start a new one.
I've selected all seeding, waiting and downloading downloads with ctrl+a and choiced "stop all". After this I selected the only one incomplete download and choiced "start". So KTorrent crashed.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7710710 (LWP 20493))]

Thread 16 (Thread 0xaeaeab70 (LWP 20504)):
#0  0x0563e9f2 in gettimeofday () at ../sysdeps/unix/syscall-template.S:82
#1  0x00348356 in bt::Now() () from /usr/lib/libktorrent.so.2
#2  0x003605ca in ?? () from /usr/lib/libktorrent.so.2
#3  0x00361178 in ?? () from /usr/lib/libktorrent.so.2
#4  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0019acc9 in start_thread (arg=0xaeaeab70) at pthread_create.c:304
#6  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 15 (Thread 0xae2e9b70 (LWP 20505)):
#0  0x00363a35 in non-virtual thunk to net::WakeUpPipe::reset() () from /usr/lib/libktorrent.so.2
#1  0x00364ed8 in net::Poll::poll(int) () from /usr/lib/libktorrent.so.2
#2  0x0035fa0c in ?? () from /usr/lib/libktorrent.so.2
#3  0x0035faff in ?? () from /usr/lib/libktorrent.so.2
#4  0x00361178 in ?? () from /usr/lib/libktorrent.so.2
#5  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#6  0x0019acc9 in start_thread (arg=0xae2e9b70) at pthread_create.c:304
#7  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 14 (Thread 0xadae8b70 (LWP 20506)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x05692103 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0562665f in _L_lock_9687 () from /lib/libc.so.6
#3  0x05624e56 in __libc_free (mem=0x8aaca68) at malloc.c:3736
#4  0x0561081a in _IO_new_fclose (fp=0x8aaca68) at iofclose.c:88
#5  0x07a2ccfa in ?? () from /lib/libnss_mdns4.so.2
#6  0x07a2d177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x0569b9df in __gethostbyaddr_r (addr=0xa9c86374, len=4, type=2, resbuf=0xadae8044, buffer=0xadae7a80 "\377\002", buflen=1024, result=0xadae8074, h_errnop=0xadae8078) at ../nss/getXXbyYY_r.c:253
#8  0x056a0f3b in getnameinfo (sa=0xa9c86370, addrlen=16, host=0xadae8194 "", hostlen=199, serv=0xadae80cc "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x0036455b in ?? () from /usr/lib/libktorrent.so.2
#10 0x003645f3 in ?? () from /usr/lib/libktorrent.so.2
#11 0x00364815 in ?? () from /usr/lib/libktorrent.so.2
#12 0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#13 0x0019acc9 in start_thread (arg=0xadae8b70) at pthread_create.c:304
#14 0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xad2e7b70 (LWP 20556)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x05692103 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0562665f in _L_lock_9687 () from /lib/libc.so.6
#3  0x05624e56 in __libc_free (mem=0x9f686f0) at malloc.c:3736
#4  0x0563f95c in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:435
#5  0x0563fbdd in __tzset () at tzset.c:592
#6  0x05269902 in QDateTime::currentDateTime() () from /usr/lib/libQtCore.so.4
#7  0x0034ff48 in ?? () from /usr/lib/libktorrent.so.2
#8  0x0034ee02 in bt::endl(bt::Log&) () from /usr/lib/libktorrent.so.2
#9  0x0034f012 in ?? () from /usr/lib/libktorrent.so.2
#10 0x05251285 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#11 0x052514aa in ?? () from /usr/lib/libQtCore.so.4
#12 0x05251689 in qWarning(char const*, ...) () from /usr/lib/libQtCore.so.4
#13 0x0538b9ec in ?? () from /usr/lib/libQtCore.so.4
#14 0x07eb3b39 in g_main_context_check () from /lib/libglib-2.0.so.0
#15 0x07eb445e in ?? () from /lib/libglib-2.0.so.0
#16 0x07eb4848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x0538b565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x0535b609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x0535ba8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x05257b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#21 0x0533a35b in ?? () from /usr/lib/libQtCore.so.4
#22 0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#23 0x0019acc9 in start_thread (arg=0xad2e7b70) at pthread_create.c:304
#24 0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xab5dfb70 (LWP 18304)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x0525b94f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0524f5b3 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0019acc9 in start_thread (arg=0xab5dfb70) at pthread_create.c:304
#6  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xaaddeb70 (LWP 18306)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x05692103 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0562665f in _L_lock_9687 () from /lib/libc.so.6
#3  0x05624e56 in __libc_free (mem=0x919a850) at malloc.c:3736
#4  0x05254fed in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0x00b47606 in ?? () from /usr/lib/libQtNetwork.so.4
#6  0x00b3b4a2 in ?? () from /usr/lib/libQtNetwork.so.4
#7  0x0524f523 in ?? () from /usr/lib/libQtCore.so.4
#8  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#9  0x0019acc9 in start_thread (arg=0xaaddeb70) at pthread_create.c:304
#10 0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xacae6b70 (LWP 18307)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x05259ef2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x052555ea in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0x01113ba4 in ?? () from /usr/lib/libkdecore.so.5
#5  0x01114a6b in ?? () from /usr/lib/libkdecore.so.5
#6  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#7  0x0019acc9 in start_thread (arg=0xacae6b70) at pthread_create.c:304
#8  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xa8dfeb70 (LWP 18308)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x05259ef2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x052555ea in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0x01113ba4 in ?? () from /usr/lib/libkdecore.so.5
#5  0x01114a6b in ?? () from /usr/lib/libkdecore.so.5
#6  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#7  0x0019acc9 in start_thread (arg=0xa8dfeb70) at pthread_create.c:304
#8  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xabde0b70 (LWP 18309)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x05259ef2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x052555ea in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0x01113ba4 in ?? () from /usr/lib/libkdecore.so.5
#5  0x01114a6b in ?? () from /usr/lib/libkdecore.so.5
#6  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#7  0x0019acc9 in start_thread (arg=0xabde0b70) at pthread_create.c:304
#8  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xaa5ddb70 (LWP 18310)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x05692103 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0562665f in _L_lock_9687 () from /lib/libc.so.6
#3  0x05624e56 in __libc_free (mem=0x9b4aa30) at malloc.c:3736
#4  0x00c78441 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0x01110189 in KNetwork::KResolverResults::operator=(KNetwork::KResolverResults const&) () from /usr/lib/libkdecore.so.5
#6  0x01112f9d in ?? () from /usr/lib/libkdecore.so.5
#7  0x01113ff1 in ?? () from /usr/lib/libkdecore.so.5
#8  0x01114a6b in ?? () from /usr/lib/libkdecore.so.5
#9  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0019acc9 in start_thread (arg=0xaa5ddb70) at pthread_create.c:304
#11 0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa95ffb70 (LWP 18311)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x05259ef2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x052555ea in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0x01113ba4 in ?? () from /usr/lib/libkdecore.so.5
#5  0x01114a6b in ?? () from /usr/lib/libkdecore.so.5
#6  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#7  0x0019acc9 in start_thread (arg=0xa95ffb70) at pthread_create.c:304
#8  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa85fdb70 (LWP 18313)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x05692103 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0562665f in _L_lock_9687 () from /lib/libc.so.6
#3  0x05624e56 in __libc_free (mem=0xa336160) at malloc.c:3736
#4  0x05254fed in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0x00b47606 in ?? () from /usr/lib/libQtNetwork.so.4
#6  0x00b3b4a2 in ?? () from /usr/lib/libQtNetwork.so.4
#7  0x0524f523 in ?? () from /usr/lib/libQtCore.so.4
#8  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#9  0x0019acc9 in start_thread (arg=0xa85fdb70) at pthread_create.c:304
#10 0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa7dfcb70 (LWP 18314)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x0525b94f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0524f5b3 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0019acc9 in start_thread (arg=0xa7dfcb70) at pthread_create.c:304
#6  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa75fbb70 (LWP 18315)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x0019f884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x0525b94f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0524f5b3 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0019acc9 in start_thread (arg=0xa75fbb70) at pthread_create.c:304
#6  0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6dfab70 (LWP 18316)):
#0  0x00db2416 in __kernel_vsyscall ()
#1  0x05692103 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0562665f in _L_lock_9687 () from /lib/libc.so.6
#3  0x05624e56 in __libc_free (mem=0x9371ab0) at malloc.c:3736
#4  0x05254fed in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0x00b47606 in ?? () from /usr/lib/libQtNetwork.so.4
#6  0x00b3b4a2 in ?? () from /usr/lib/libQtNetwork.so.4
#7  0x0524f523 in ?? () from /usr/lib/libQtCore.so.4
#8  0x0525adf9 in ?? () from /usr/lib/libQtCore.so.4
#9  0x0019acc9 in start_thread (arg=0xa6dfab70) at pthread_create.c:304
#10 0x056846ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7710710 (LWP 20493)):
[KCrash Handler]
#7  0x05620962 in malloc_consolidate (av=<value optimized out>) at malloc.c:5169
#8  0x05622a85 in _int_malloc (av=<value optimized out>, bytes=<value optimized out>) at malloc.c:4373
#9  0x05624f33 in __libc_malloc (bytes=16393) at malloc.c:3660
#10 0x00c7a619 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#11 0x00c7a74d in operator new[](unsigned int) () from /usr/lib/libstdc++.so.6
#12 0x0035b13c in ?? () from /usr/lib/libktorrent.so.2
#13 0x00397b13 in ?? () from /usr/lib/libktorrent.so.2
#14 0x00397cda in ?? () from /usr/lib/libktorrent.so.2
#15 0x053628ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x053756ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x0110ea23 in KNetwork::KResolver::finished(KNetwork::KResolverResults const&) () from /usr/lib/libkdecore.so.5
#18 0x0110edc3 in KNetwork::KResolver::emitFinished() () from /usr/lib/libkdecore.so.5
#19 0x0110ee23 in KNetwork::KResolver::event(QEvent*) () from /usr/lib/libkdecore.so.5
#20 0x01334fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x0133b04e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x080783dc in _start ()

Possible duplicates by query: bug 208881.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-11-30 19:26:43 UTC

*** This bug has been marked as a duplicate of bug 252341 ***