https://bugs.kde.org/show_bug.cgi?id=485756

--- Comment #1 from lg3dx...@gmail.com ---
recompiled without lto, got another bad_alloc:

backtrace:

[Thread 0x7fffcddc96c0 (LWP 79595) exited]
Warning: Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Thread 1 "ktorrent" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6,
no_tid=no_tid@entry=0) at pthread_kill.c:44
44           return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff54af5df in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#2  0x00007ffff5460612 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x00007ffff54494ed in __GI_abort () at abort.c:79
#4  0x00007ffff56a0b32 in __gnu_cxx::__verbose_terminate_handler ()
    at
/usr/src/debug/sys-devel/gcc-13.2.1_p20240113-r1/gcc-13-20240113/libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x00007ffff56b44e6 in __cxxabiv1::__terminate (handler=<optimized out>)
    at
/usr/src/debug/sys-devel/gcc-13.2.1_p20240113-r1/gcc-13-20240113/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6  0x00007ffff56b3179 in __cxa_call_terminate (ue_header=0x55555777cb30)
    at
/usr/src/debug/sys-devel/gcc-13.2.1_p20240113-r1/gcc-13-20240113/libstdc++-v3/libsupc++/eh_call.cc:54
#7  0x00007ffff56b385c in __cxxabiv1::__gxx_personality_v0
    (version=<optimized out>, actions=6, exception_class=5138137972254386944,
ue_header=<optimized out>, context=<optimized out>)
    at
/usr/src/debug/sys-devel/gcc-13.2.1_p20240113-r1/gcc-13-20240113/libstdc++-v3/libsupc++/eh_personality.cc:688
#8  0x00007ffff6faa6a4 in _Unwind_RaiseException_Phase2
    (exc=exc@entry=0x55555777cb30, context=context@entry=0x7fffffffcb50,
frames_p=frames_p@entry=0x7fffffffca58)
    at
/usr/src/debug/sys-devel/gcc-13.2.1_p20240113-r1/gcc-13-20240113/libgcc/unwind.inc:64
#9  0x00007ffff6faaf84 in _Unwind_Resume (exc=exc@entry=0x55555777cb30)
    at
/usr/src/debug/sys-devel/gcc-13.2.1_p20240113-r1/gcc-13-20240113/libgcc/unwind.inc:242
#10 0x00007ffff5aa1251 in QIODevice::readAll (this=this@entry=0x7fffffffcdb0)
    at
/usr/src/debug/dev-qt/qtcore-5.15.12-r2/qtbase-everywhere-src-5.15.12/src/corelib/io/qiodevice.cpp:892
#11 0x00007ffff73181d1 in KConfigIniBackend::parseConfig
(this=this@entry=0x55555604ddc0, currentLocale=..., entryMap=..., options=..., 
    options@entry=..., merging=merging@entry=true) at
/usr/src/debug/kde-frameworks/kconfig-5.115.0/kconfig-5.115.0/src/core/kconfigini.cpp:89
#12 0x00007ffff73192cc in KConfigIniBackend::writeConfig (this=0x55555604ddc0,
locale=..., entryMap=..., options=...)
    at
/usr/src/debug/kde-frameworks/kconfig-5.115.0/kconfig-5.115.0/src/core/kconfigini.cpp:414
#13 0x00007ffff7302d1e in KConfig::sync (this=0x55555604e620) at
/usr/src/debug/kde-frameworks/kconfig-5.115.0/kconfig-5.115.0/src/core/kconfig.cpp:481
#14 0x00007ffff7df248e in bt::TorrentControl::stop (this=0x55555604cb90,
wjob=0x0)
    at
/usr/src/debug/net-libs/libktorrent-23.08.5/libktorrent-23.08.5/src/torrent/torrentcontrol.cpp:460
#15 0x00007ffff7ded584 in bt::TorrentControl::~TorrentControl
(this=0x55555604cb90, this=<optimized out>)
    at
/usr/src/debug/net-libs/libktorrent-23.08.5/libktorrent-23.08.5/src/torrent/torrentcontrol.cpp:104
#16 0x00007ffff7ded639 in bt::TorrentControl::~TorrentControl
(this=0x55555604cb90, this=<optimized out>)
    at
/usr/src/debug/net-libs/libktorrent-23.08.5/libktorrent-23.08.5/src/torrent/torrentcontrol.cpp:124
#17 0x00007ffff7f28a8e in
qDeleteAll<QList<bt::TorrentInterface*>::const_iterator> (end=..., begin=...)
at /usr/include/qt5/QtCore/qalgorithms.h:320
#18 qDeleteAll<kt::QueuePtrList> (c=...) at
/usr/include/qt5/QtCore/qalgorithms.h:328
#19 kt::QueueManager::~QueueManager (this=0x555555eecdb0, __in_chrg=<optimized
out>)
    at
/usr/src/debug/net-p2p/ktorrent-23.08.5/ktorrent-23.08.5/libktcore/torrent/queuemanager.cpp:53
#20 0x00007ffff7f28b09 in kt::QueueManager::~QueueManager (this=0x555555eecdb0,
__in_chrg=<optimized out>)
    at
/usr/src/debug/net-p2p/ktorrent-23.08.5/ktorrent-23.08.5/libktcore/torrent/queuemanager.cpp:54
#21 0x00005555555b101e in kt::Core::~Core (this=0x555555f155a0,
__in_chrg=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at
/usr/src/debug/net-p2p/ktorrent-23.08.5/ktorrent-23.08.5/ktorrent/core.cpp:115
#22 0x00005555555b16e9 in kt::Core::~Core (this=0x555555f155a0,
__in_chrg=<optimized out>)
    at
/usr/src/debug/net-p2p/ktorrent-23.08.5/ktorrent-23.08.5/ktorrent/core.cpp:118
#23 0x00005555555bcbe2 in kt::GUI::~GUI (this=0x7fffffffd290,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at
/usr/src/debug/net-p2p/ktorrent-23.08.5/ktorrent-23.08.5/ktorrent/gui.cpp:116
#24 0x00005555555902ba in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/net-p2p/ktorrent-23.08.5/ktorrent-23.08.5/ktorrent/main.cpp:251

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to