Bug 433869 - Ktorrent crash when closing
Summary: Ktorrent crash when closing
Status: REPORTED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-02 18:42 UTC by paolo brusasco
Modified: 2021-03-02 18:42 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 paolo brusasco 2021-03-02 18:42:49 UTC
Application: ktorrent (5.1.2)

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.63-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

-- Information about the crash:
- What I was doing when the application crashed: closing Ktorrent.

- Custom settings of the application: current ktorrentrc
[ChunkDownloadView]
state=AAAA/wAAAAAAAAABAAAAAQAAAAMBAAAAAAAAAAAAAAAAAAAAAAAAB3wAAAAFAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAFAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAF7AAAAAEAAAAAAAAD6AAAAABk

[FileSelectDlg]
download_location_history=/home/prova/Documenti/torrent/
file_view=\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xe1\x00\x00\x00\x02\x01\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\xff\xff\xff\xff\x00\x00\x00\x81\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x01}\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x00\x00\x00d
move_on_completion_location_history=
show_file_tree=true
size=551,537

[FileView]
show_list_of_files=false
state=AAAA/wAAAAAAAAABAAAAAQAAAAABAAAAAAAAAAAAAAAAAAAAAAAAB5IAAAAFAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAFAAABpgAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAEwAAAAAEAAAAAAAAD6AAAAABk

[GroupSwitcher]
current_tab=0
groups=/all/ungrouped
tab0_settings=\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x05\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x9d\x00\x00\x00\x10\x01\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\xff\xff\xff\xff\x00\x00\x00\x81\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x02J\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00R\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00N\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00R\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00Y\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00=\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00G\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x00\x00\x00d
tab1_settings=\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00@\x00\x00\x00\x01\x00\x00\x00\x0e\x00\x00\x00d\x00\x00\x06A\x00\x00\x00\x10\x01\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\xff\xff\xff\xff\x00\x00\x00\x81\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x02\x1a\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00T\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00H\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00J\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x003\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00A\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00=\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00B\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x005\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00E\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x00\x00\x00d
tab2_settings=\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\t\x07\x00\x00\x00\x10\x01\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\xff\xff\xff\xff\x00\x00\x00\x81\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x03+\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00d\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x00\x00\x00d

[GroupView]
expanded=/all,/all/uploads,/all/active,/all/passive,/all/downloads,/all/custom
visible=false

[InfoWidgetPlugin]
InfoWidgetPluginEnabled=true

[KFileDialog Settings]
detailViewIconSize=0

[MagnetView]
state=AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB3wAAAADAQAAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAADAAAEYgAAAAEAAAAAAAAAZAAAAAEAAAAAAAACtgAAAAEAAAAAAAAD6AAAAABk

[MainWindow]
Height 1080=1015
Height 2160=2095
Priority_plugins_wght_5=128
Priority_torrents_wght_0=128
State=AAAA/wAAAAD9AAAAAAAAB4AAAAOYAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAIAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAAAAAAHgBUAG8AcgByAGUAbgB0AHMAVABvAG8AbABCAGEAcgEAAAIw/////wAAAAAAAAAA
ToolBarsMovable=Disabled
Width 1920=1920
Width 3840=3840
Window-Maximized 1080x1920=true
current_activity=0
hidden_on_exit=false
menubar_hidden=false
statusbar_hidden=false

[PasteDlg]
group=0
silently=false

[PeerView]
state=AAAA/wAAAAAAAAABAAAAAQAAAAMBAAAAAAAAAAAAAAAAAAAAAAAAB2cAAAAQAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAQAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAABiwAAAAEAAAAAAAAD6AAAAABk

[PrefDialog]
size=838,518

[QueueManager]
suspended=false

[QueueManagerWidget]
search_bar_visible=false
search_text=
show_downloads=true
show_not_queued=true
show_uploads=true
view_state=AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0EAAAAEAQAAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAEAAAAZAAAAAEAAAAAAAAChwAAAAEAAAAAAAAAZAAAAAEAAAAAAAAD8gAAAAEAAAAAAAAD6AAAAABk

[TorrentActivityBottomTabBar]
current_tab=File
shrunken=false

[TorrentActivitySplitters]
hsplit=AAAA/wAAAAEAAAACAAABMgAABk0B/////wEAAAABAA==
vsplit=AAAA/wAAAAEAAAACAAACNwAAAToB/////wEAAAACAA==

[TorrentSearchBar]
hidden=true
text=gio

[TrackerView]
state=AAAA/wAAAAAAAAABAAAAAQAAAAABAAAAAAAAAAAAAAAAAAAAAAAABqkAAAAGAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAGAAACeAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAACoQAAAAEAAAAAAAAD6AAAAABk
tracker_hints=udp://tracker.publicbt.com:80/announce,udp://tracker.openbittorrent.com:80/announce

[WebSeedsTab]
state=AAAA/wAAAAAAAAABAAAAAQAAAAABAAAAAAAAAAAAAAAAAAAAAAAABqYAAAAEAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAEAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAFegAAAAEAAAAAAAAD6AAAAABk

[downloads]
completedDir=/home/prova/Documenti/torrent
decreasePriorityOfStalledTorrents=true
dhtSupport=true
lastSaveDir=/home/prova/Documenti/torrent/
maxConnectingSockets=40
maxConnections=100
maxDownloadRate=3500
maxDownloads=6
maxRatio=3
maxSeeds=5
maxTotalConnections=300
maxUploadRate=200
minDiskSpace=10000
networkInterface=Tutte le interfacce
numUploadSlots=8
openAllTorrentsSilently=true
openMultipleTorrentsSilently=true
saveDir=/home/prova/Documenti/torrent/tmp
stallTimer=11
tempDir=/home/prova/Documenti/torrent/torrent
torrentCopyDir=/home/prova/Documenti/torrent/tmp
useCompletedDir=true
useSaveDir=true
utpEnabled=true

The crash can be reproduced sometimes.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x0) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#7  QtPrivate::RefCount::ref (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#8  QString::QString (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:958
#9  v_construct_helper<QString> (t=..., x=0x7fffe7eda5d0) at ../../include/QtCore/5.12.7/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:123
#10 v_construct<QString> (t=..., x=0x7fffe7eda5d0) at ../../include/QtCore/5.12.7/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:152
#11 QVariant::QVariant (this=0x7fffe7eda5d0, val=...) at kernel/qvariant.cpp:2170
#12 0x000055e358241ecc in kt::ViewModel::Item::data (this=0x55e35b02baa0, col=<optimized out>) at /usr/src/debug/ktorrent-5.1.2-lp152.1.17.x86_64/ktorrent/view/viewmodel.cpp:255
#13 0x000055e358243d3d in kt::ViewModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/ktorrent-5.1.2-lp152.1.17.x86_64/ktorrent/view/viewmodel.cpp:648
#14 0x00007fed9340d77c in QModelIndex::data (arole=0, this=0x7fffe7eda850) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:458
#15 QStyledItemDelegate::initStyleOption (this=0x55e35b0350d0, option=0x7fffe7eda6c0, index=...) at itemviews/qstyleditemdelegate.cpp:345
#16 0x00007fed9340cc7c in QStyledItemDelegate::sizeHint (this=0x55e35b0350d0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410
#17 0x000055e358247824 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at /usr/src/debug/ktorrent-5.1.2-lp152.1.17.x86_64/ktorrent/view/viewdelegate.cpp:190
#18 0x00007fed934510ba in QTreeView::indexRowSizeHint (this=this@entry=0x55e35affa7c0, index=...) at itemviews/qtreeview.cpp:2995
#19 0x00007fed93451a2d in QTreeViewPrivate::layout (this=this@entry=0x55e35af9f050, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3329
#20 0x00007fed934594de in QTreeView::doItemsLayout (this=0x55e35affa7c0) at itemviews/qtreeview.cpp:2115
#21 0x00007fed93453ed5 in QAbstractItemViewPrivate::executePostedLayout (this=0x55e35af9f050) at ../../include/QtWidgets/5.12.7/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#22 QTreeViewPrivate::updateScrollBars (this=0x55e35af9f050) at itemviews/qtreeview.cpp:3660
#23 0x00007fed9345b038 in QTreeView::updateGeometries (this=0x55e35affa7c0) at itemviews/qtreeview.cpp:2834
#24 0x00007fed933e9099 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:420
#25 0x00007fed9233ee35 in QMetaObject::activate (sender=sender@entry=0x55e35b024710, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3804
#26 0x00007fed9233f547 in QMetaObject::activate (sender=sender@entry=0x55e35b024710, m=m@entry=0x7fed93888060 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3657
#27 0x00007fed933f4c13 in QHeaderView::geometriesChanged (this=this@entry=0x55e35b024710) at .moc/moc_qheaderview.cpp:502
#28 0x00007fed933ffe2c in QHeaderView::viewportEvent (this=0x55e35b024710, e=0x7fffe7edb020) at itemviews/qheaderview.cpp:2886
#29 0x00007fed9230f0ad in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55e35b024c20, event=event@entry=0x7fffe7edb020) at kernel/qcoreapplication.cpp:1214
#30 0x00007fed93194f05 in QApplicationPrivate::notify_helper (this=this@entry=0x55e359ac1ad0, receiver=receiver@entry=0x55e35b024c20, e=e@entry=0x7fffe7edb020) at kernel/qapplication.cpp:3695
#31 0x00007fed9319c540 in QApplication::notify (this=0x7fffe7edb7a0, receiver=0x55e35b024c20, e=0x7fffe7edb020) at kernel/qapplication.cpp:3447
#32 0x00007fed9230f328 in QCoreApplication::notifyInternal2 (receiver=0x55e35b024c20, event=0x7fffe7edb020) at kernel/qcoreapplication.cpp:1088
#33 0x00007fed9230f4fe in QCoreApplication::sendEvent (receiver=receiver@entry=0x55e35b024c20, event=event@entry=0x7fffe7edb020) at kernel/qcoreapplication.cpp:1476
#34 0x00007fed931d0225 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8501
#35 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#36 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#37 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#38 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#39 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#40 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#41 0x00007fed931d0212 in QWidgetPrivate::hideChildren (this=this@entry=0x55e359be27f0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8496
#42 0x00007fed931d04df in QWidgetPrivate::hide_helper (this=this@entry=0x55e359be27f0) at kernel/qwidget.cpp:8219
#43 0x00007fed931d4f28 in QWidgetPrivate::setVisible (this=0x55e359be27f0, visible=<optimized out>) at kernel/qwidget.cpp:8413
#44 0x00007fed931d0798 in QWidgetPrivate::close_helper (this=0x55e359be27f0, mode=<optimized out>) at kernel/qwidget.cpp:8544
#45 0x00007fed931d0de0 in QWidget::~QWidget (this=0x7fffe7edb810, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1626
#46 0x00007fed96068d5d in KMainWindow::~KMainWindow (this=0x7fffe7edb810, __in_chrg=<optimized out>) at /usr/src/debug/kxmlgui-5.71.0-lp152.1.1.x86_64/src/kmainwindow.cpp:417
#47 0x000055e3581cf747 in kt::GUI::~GUI (this=0x7fffe7edb810, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/ktorrent-5.1.2-lp152.1.17.x86_64/ktorrent/gui.cpp:128
#48 0x000055e3581b6f32 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ktorrent-5.1.2-lp152.1.17.x86_64/ktorrent/main.cpp:213
[Inferior 1 (process 24603) detached]

The reporter indicates this bug may be a duplicate of or related to bug 383127.

Possible duplicates by query: bug 433252, bug 429420, bug 427021, bug 425205, bug 422092.

Reported using DrKonqi