Bug 361863 - ktorrent 5.0 get Segmentation fault when trying to enable scheduler plugin
Summary: ktorrent 5.0 get Segmentation fault when trying to enable scheduler plugin
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 5.0
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
: 373553 382691 383524 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-16 17:40 UTC by bill59118
Modified: 2017-08-23 12:51 UTC (History)
9 users (show)

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 bill59118 2016-04-16 17:40:17 UTC
Application: ktorrent (5.0)
 (Compiled from sources)
Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.5.1-1-CHAKRA x86_64
Distribution: "Chakra"

-- Information about the crash:
- What I was doing when the application crashed:
start from fresh profile of ktorrent
go to plugin tab
try to click on the checkbox of the scheduler plugin
CRASH!

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fce4322f840 (LWP 13278))]

Thread 3 (Thread 0x7fce3bfff700 (LWP 13280)):
#0  0x00007fce4bdea321 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007fce4bd9f60a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007fce4bda0109 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fce4bda0322 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fce530b41fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fce5305cc2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fce52e86434 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007fce51a17495 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007fce52e8b238 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fce4e118464 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fce5228d12d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fce3b5f4700 (LWP 13282)):
#0  0x00007fce4bdea30d in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007fce4bd9f0d8 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#2  0x00007fce4bda0098 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fce4bda0322 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fce530b41fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fce5305cc2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fce52e86434 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007fce52e8b238 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fce4e118464 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fce5228d12d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fce4322f840 (LWP 13278)):
[KCrash Handler]
#6  0x0000000000000006 in ?? ()
#7  0x00007fce21f96008 in kt::LongestDayWidth (fm=...) at /chakra/desktop/ktorrent/src/ktorrent-5.0/plugins/bwscheduler/weekscene.cpp:65
#8  0x00007fce21f9787b in kt::WeekScene::addCalendar (this=this@entry=0x2250480) at /chakra/desktop/ktorrent/src/ktorrent-5.0/plugins/bwscheduler/weekscene.cpp:107
#9  0x00007fce21f9805b in kt::WeekScene::WeekScene (this=0x2250480, parent=<optimized out>) at /chakra/desktop/ktorrent/src/ktorrent-5.0/plugins/bwscheduler/weekscene.cpp:52
#10 0x00007fce21f94e3e in kt::WeekView::WeekView (this=0x21f7b30, parent=<optimized out>) at /chakra/desktop/ktorrent/src/ktorrent-5.0/plugins/bwscheduler/weekview.cpp:37
#11 0x00007fce21f9bccd in kt::ScheduleEditor::ScheduleEditor (this=0x21f7f90, parent=<optimized out>) at /chakra/desktop/ktorrent/src/ktorrent-5.0/plugins/bwscheduler/scheduleeditor.cpp:47
#12 0x00007fce21f937fc in kt::BWSchedulerPlugin::load (this=0x19f7380) at /chakra/desktop/ktorrent/src/ktorrent-5.0/plugins/bwscheduler/bwschedulerplugin.cpp:96
#13 0x00007fce572677fa in kt::PluginManager::load (this=this@entry=0x17b9bb0, pi=..., idx=idx@entry=1) at /chakra/desktop/ktorrent/src/ktorrent-5.0/libktcore/plugin/pluginmanager.cpp:136
#14 0x00007fce57267d49 in kt::PluginManager::loadPlugins (this=0x17b9bb0) at /chakra/desktop/ktorrent/src/ktorrent-5.0/libktcore/plugin/pluginmanager.cpp:101
#15 0x00007fce5308adb0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#16 0x00007fce51f7c04f in KPluginSelector::changed(bool) () from /usr/lib/libKF5KCMUtils.so.5
#17 0x00007fce5308b0ee in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#18 0x00007fce51f7bf8f in KPluginSelector::Private::PluginDelegate::changed(bool) () from /usr/lib/libKF5KCMUtils.so.5
#19 0x00007fce5308b0ee in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#20 0x00007fce53f4f282 in QAbstractButton::clicked(bool) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007fce53cbd7b4 in ?? () from /usr/lib/libQt5Widgets.so.5
#22 0x00007fce53cbec67 in ?? () from /usr/lib/libQt5Widgets.so.5
#23 0x00007fce53cbede4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007fce53c25368 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fce53be0b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007fce53be6591 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007fce5305ea48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007fce53be5365 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007fce53c3f239 in ?? () from /usr/lib/libQt5Widgets.so.5
#30 0x00007fce53c4178b in ?? () from /usr/lib/libQt5Widgets.so.5
#31 0x00007fce53be0b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#32 0x00007fce53be5e16 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007fce5305ea48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#34 0x00007fce535fda30 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#35 0x00007fce535ff5d5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#36 0x00007fce535dc78b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#37 0x00007fce42b9ac50 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#38 0x00007fce4bd9ffba in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007fce4bda0248 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007fce4bda0322 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007fce530b41df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#42 0x00007fce5305cc2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#43 0x00007fce530650ac in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#44 0x000000000042af0a in main (argc=1, argv=<optimized out>) at /chakra/desktop/ktorrent/src/ktorrent-5.0/ktorrent/main.cpp:238

Reported using DrKonqi
Comment 1 Iyán Méndez Veiga 2016-04-16 18:00:51 UTC
Same happen to me. Confirmed.
Comment 2 Argy M 2016-04-18 13:11:21 UTC
Also confirmed (KTorrent 5.0.1 on Arch Linux).
Comment 4 Christoph Feck 2017-02-08 01:14:28 UTC
Yes.
Comment 5 Christoph Feck 2017-02-08 01:14:49 UTC
*** Bug 373553 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2017-07-31 12:34:29 UTC
*** Bug 382691 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Silva 2017-07-31 12:39:41 UTC
Which ktorrent release includes the fix?
Ktorrent 5.0.1 is still crashing on Arch.
Comment 8 Christoph Feck 2017-07-31 15:20:02 UTC
There was no release after v4.3.1. If your distribution already releases builds from the master branch, ask them to update their checkout.
Comment 9 Christoph Feck 2017-08-23 12:51:49 UTC
*** Bug 383524 has been marked as a duplicate of this bug. ***