Bug 290864

Summary: Ktorrent crashed when runing
Product: [Unmaintained] kdelibs Reporter: D0k <d0kl0d411>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description D0k 2012-01-07 10:40:07 UTC
Application: ktorrent (4.1.1)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- Custom settings of the application:
full standart Qt: 4.7.4
KDE Development Platform: 4.7.3 (4.7.3)
KTorrent: 4.1.1
- in konsole: 
nezus@nezus-901C372:~$ ktorrent
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 

unnamed app(2374): Communication problem with  "ktorrent" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.UnknownObject" : " "No such object path '/MainApplication'" " 

nezus@nezus-901C372:~$ 
nezus@nezus-901C372:~$ Warning: Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

ktorrent: malloc.c:3551: munmap_chunk: Assertion `ret == 0' failed.
KCrash: Application 'ktorrent' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/nezus/.kde/socket-nezus-901C372/kdeinit4__0
Warning: QSocketNotifier: Invalid socket 36 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 37 and type 'Read', disabling...

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb4341a00 (LWP 2375))]

Thread 3 (Thread 0xb2fe9b70 (LWP 2377)):
#0  0xb4d1a6c0 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb4d1b637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb4d1bc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb677ab37 in QEventDispatcherGlib::processEvents (this=0x9da46e8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb674b1dd in QEventLoop::processEvents (this=0xb2fe92e0, flags=...) at kernel/qeventloop.cpp:149
#5  0xb674b421 in QEventLoop::exec (this=0xb2fe92e0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb664e90b in QThread::exec (this=0x9d75568) at thread/qthread.cpp:498
#7  0xb765de7d in utp::UTPServerThread::run (this=0x9d75568) at ../../src/utp/utpserverthread.cpp:41
#8  0xb66517b3 in QThreadPrivate::start (arg=0x9d75568) at thread/qthread_unix.cpp:331
#9  0xb4f2fd31 in start_thread (arg=0xb2fe9b70) at pthread_create.c:304
#10 0xb59420ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb25ffb70 (LWP 2378)):
#0  0xb770e424 in __kernel_vsyscall ()
#1  0xb593340e in __GI___poll (fds=0x9ddd1c8, nfds=2, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb75b7b07 in net::Poll::poll (this=0xb25ff27c, timeout=500) at ../../src/net/poll.cpp:99
#3  0xb7624019 in dht::RPCServer::Private::run (this=0x9ddc7c8) at ../../src/dht/rpcserver.cpp:95
#4  0xb66517b3 in QThreadPrivate::start (arg=0x9ddc7c8) at thread/qthread_unix.cpp:331
#5  0xb4f2fd31 in start_thread (arg=0xb25ffb70) at pthread_create.c:304
#6  0xb59420ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4341a00 (LWP 2375)):
[KCrash Handler]
#7  0xb770e424 in __kernel_vsyscall ()
#8  0xb589dc8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb58a12b5 in __GI_abort () at abort.c:92
#10 0xb58ddf09 in __malloc_assert (assertion=<optimized out>, file=<optimized out>, line=3551, function=0xb59a9b4b "munmap_chunk") at malloc.c:351
#11 0xb58dedf1 in munmap_chunk (p=<optimized out>) at malloc.c:3551
#12 0xb664ae2b in qFree (ptr=0x6ace6008) at global/qmalloc.cpp:60
#13 0xb669c032 in QString::free (d=0x6ace6008) at tools/qstring.cpp:1186
#14 0xb6a37491 in ~QString (this=0xbffaf568, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qstring.h:883
#15 KCatalog::catalogLocaleDir (name=..., language=...) at ../../kdecore/localization/kcatalog.cpp:153
#16 0xb6a52c54 in KLocalePrivate::updateCatalogs (this=0x9cb71d8) at ../../kdecore/localization/klocale_kde.cpp:852
#17 0xb6a50442 in KLocalePrivate::removeCatalog (this=0x9cb71d8, catalog=...) at ../../kdecore/localization/klocale_kde.cpp:877
#18 0xb6a4574a in KLocale::removeCatalog (this=0x9cb6108, catalog=...) at ../../kdecore/localization/klocale.cpp:143
#19 0xb69b9686 in ~KComponentDataPrivate (this=0x9d0f248, __in_chrg=<optimized out>) at ../../kdecore/kernel/kcomponentdata_p.h:54
#20 deref (this=0x9d0f248) at ../../kdecore/kernel/kcomponentdata_p.h:74
#21 deref (this=0x9d0f248) at ../../kdecore/kernel/kcomponentdata.cpp:120
#22 KComponentData::~KComponentData (this=0x9d248d0, __in_chrg=<optimized out>) at ../../kdecore/kernel/kcomponentdata.cpp:123
#23 0xb3dfb236 in Oxygen::Helper::~Helper (this=0x9d24880, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:161
#24 0xb3dfbe22 in Oxygen::StyleHelper::~StyleHelper (this=0x9d24880, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#25 0xb3dc1e71 in Oxygen::Style::~Style (this=0x9d151c8, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:195
#26 0xb3dc1ed2 in Oxygen::Style::~Style (this=0x9d151c8, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:195
#27 0xb5c827ed in QApplication::~QApplication (this=0xbffaf850, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1168
#28 0xb6d35378 in KApplication::~KApplication (this=0xbffaf850, __in_chrg=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:894
#29 0xb6d3d0f8 in KUniqueApplication::~KUniqueApplication (this=0xbffaf850, __in_chrg=<optimized out>) at ../../kdeui/kernel/kuniqueapplication.cpp:347
#30 0x08068871 in main (argc=) at ../../ktorrent/main.cpp:175

Reported using DrKonqi
Comment 1 D0k 2012-01-07 10:56:56 UTC
ktorrent have more than 40 torrent for downloading/uploading;
klocale: I don't know what it is, but in Kickoff>System parameters>Locale:  when first time I click in "System languages" there was few system windows about "Your language was installed not full" and loading/installing something; I think after that starts to work "bugs  support" when I run ktorrent.
Comment 2 Joris Guisson 2012-01-09 17:35:57 UTC
Seems like a kdelibs problem, reassigning it to them.
Comment 3 Andrew Crouthamel 2018-10-29 22:30:15 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-13 14:36:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-29 09:36:49 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!