Summary: | net-p2p/ktorrent-24.02.1: segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Julien Delquié <julien.dlq> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | julien.dlq |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=484577 | ||
See Also: | https://invent.kde.org/network/ktorrent/-/merge_requests/118 | ||
Whiteboard: | fixed in 24.02.2 | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
ktorrent backtrace
better ktorrent backtrace |
Description
Julien Delquié
2024-03-21 20:57:29 UTC
Not reproducible here, so maybe let's start with disclosing how you configured your ktorrent/libktorrent packages? Please also try obtain a backtrace (https://wiki.gentoo.org/wiki/Debugging#Per-package). (In reply to Andreas Sturmlechner from comment #1) > Not reproducible here, so maybe let's start with disclosing how you > configured your ktorrent/libktorrent packages? I don’t know if it’s the information you need, but here what I have: $ eix net-p2p/ktorrent [I] net-p2p/ktorrent Available versions: (5) 23.08.5^t (6) {M}(~)24.02.1^t {+bwscheduler debug +downloadorder +handbook +infowidget +ipfilter +logviewer +magnetgenerator +mediaplayer rss +scanfolder +shutdown +stats test +upnp +webengine +zeroconf} Installed versions: 24.02.1(6)^t(14:39:34 24/03/2024)(bwscheduler downloadorder handbook infowidget ipfilter logviewer magnetgenerator mediaplayer scanfolder shutdown stats upnp webengine zeroconf -debug -rss -test) Homepage: https://apps.kde.org/ktorrent/ Description: Powerful BitTorrent client based on KDE Frameworks $ eix net-libs/libktorrent [I] net-libs/libktorrent Available versions: (5) 23.08.5^t (6) {M}(~)24.02.1^t {debug test} Installed versions: 24.02.1(6)^t(02:36:30 24/03/2024)(-debug -test) Homepage: https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent Description: BitTorrent library based on KDE Frameworks Also, I have unmasked Plasma6 and all what it needs to be unmasked (I hope), to try to use it (without setting kde and qt overlay, I just use gentoo repo) Created attachment 888571 [details] ktorrent backtrace (In reply to Sam James from comment #2) > Please also try obtain a backtrace > (https://wiki.gentoo.org/wiki/Debugging#Per-package). Ok, I tried my best to rebuild net-libs/libktorrent and net-p2p/ktorrent, following this link, thank you very much! The new backtrace I could produce is attached. Created attachment 888572 [details]
better ktorrent backtrace
Well, I also put debug for kde-frameworks/kstatusnotifieritem, and the backtrace is way better, I hope!
Thread 1 (Thread 0x7fa411188a00 (LWP 123360)):
[KCrash Handler]
#4 0x00007fa4184b1d81 in std::__uniq_ptr_impl<KStatusNotifierItemPrivate, std::default_delete<KStatusNotifierItemPrivate> >::_M_ptr (this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:199
#5 std::unique_ptr<KStatusNotifierItemPrivate, std::default_delete<KStatusNotifierItemPrivate> >::get (this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:470
#6 std::unique_ptr<KStatusNotifierItemPrivate, std::default_delete<KStatusNotifierItemPrivate> >::operator-> (this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:463
#7 KStatusNotifierItem::setAssociatedWindow (this=0x0, associatedWindow=0x55883ba0eed0) at /usr/src/debug/kde-frameworks/kstatusnotifieritem-6.0.0/kstatusnotifieritem-6.0.0/src/kstatusnotifieritem.cpp:497
#8 0x00005588395bbbbd in kt::TrayIcon::setAssociatedWindow (this=this@entry=0x55883b6e3290, window=<optimized out>) at /usr/src/debug/net-p2p/ktorrent-24.02.1/ktorrent-24.02.1/ktorrent/trayicon.cpp:425
#9 0x00005588395b6471 in kt::GUI::GUI (this=0x7ffdf668ce50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/net-p2p/ktorrent-24.02.1/ktorrent-24.02.1/ktorrent/gui.cpp:114
#10 0x000055883959ecff in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/net-p2p/ktorrent-24.02.1/ktorrent-24.02.1/ktorrent/main.cpp:227
#7 KStatusNotifierItem::setAssociatedWindow (this=0x0, associatedWindow=0x55883ba0eed0) at /usr/src/debug/kde-frameworks/kstatusnotifieritem-6.0.0/kstatusnotifieritem-6.0.0/src/kstatusnotifieritem.cpp:497 https://invent.kde.org/frameworks/kstatusnotifieritem/-/blob/v6.0.0/src/kstatusnotifieritem.cpp?ref_type=tags#L497 If asturm has no further questions, would you mind reporting this upstream at bugs.kde.org? (In reply to Sam James from comment #7) > If asturm has no further questions, would you mind reporting this upstream > at bugs.kde.org? Waiting for the confirmation, and I will do. :) Reported upstream: https://bugs.kde.org/show_bug.cgi?id=484577 I just applied the patch of upstream: https://invent.kde.org/network/ktorrent/-/merge_requests/118 And it works, no more crash. :) Excellent, thanks for reporting it upstream. |