Bug 368830

Summary: ktorrent crashes (aborting) on "data checking" on random percent of checked data
Product: [Frameworks and Libraries] qca Reporter: Vadim A. Misbakh-Soloviov (mva) <kde>
Component: generalAssignee: Ivan Romanov <drizt72>
Status: RESOLVED WORKSFORME    
Severity: critical CC: aacid, bradh, justin, martin.sandsmark
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vadim A. Misbakh-Soloviov (mva) 2016-09-15 04:57:15 UTC
Sometimes, I re-downloading torrents with slightly changed data (it maybe few changed files in the torrent folder, or a bit regenerated disk image, or so.

So, mostly, content is the same, and only few chunks needs to be re-fetched.

So, I checking "check existing data" in torrent-opening dialog.

Then, ktorrent start to checking data, and... crashes after random amount of checked chunks. drKonqi says that debug info is useless and signal was "abort".

After the restart of ktorrent, it... starting to download entire torrent content from scratch (!) and replacing (!) already downloaded data (and braking it by that action).

If I stop it and click "check data" in context menu, it finds many already existing chunks, but crashes again after some random amount checked.

Reproducible: Always

Steps to Reproduce:
1. run ktorrent
2. right mouse button click on the torrent.
3. click "check data"
4. Wait for check to finish
5. It can not finish, and Ktorrent crashes (aborts) after random amount of checked chunks (sometimes 600 of 4000+, sometimes 3800 of 4000, and sometimes - 300 of 1000) and shows drkonqi dialog



gdb trace:
Temporary breakpoint 1 at 0x4310d4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Temporary breakpoint 1, 0x00000000004310d4 in main ()
[New Thread 0x7fffe0c4c700 (LWP 119300)]
[New Thread 0x7fffdb41e700 (LWP 119301)]
[New Thread 0x7fffda20d700 (LWP 119306)]
[New Thread 0x7fffd9a0c700 (LWP 119307)]
[Thread 0x7fffda20d700 (LWP 119306) exited]
чт сент. 15 11:32:31 2016: Bound to ::
чт сент. 15 11:32:31 2016: UTP: bound to ::
чт сент. 15 11:32:31 2016: Bound to 0.0.0.0
чт сент. 15 11:32:31 2016: UTP: bound to 0.0.0.0
[New Thread 0x7fffda20d700 (LWP 119313)]
чт сент. 15 11:32:31 2016: Bound to UDP port 6881
чт сент. 15 11:32:31 2016: Bound to ::
чт сент. 15 11:32:31 2016: Cannot bind to port 0.0.0.0:6881 : Адрес уже используется
чт сент. 15 11:32:31 2016: Bound to TCP port 6881
чт сент. 15 11:32:31 2016: DHT: Starting on port 7881
чт сент. 15 11:32:31 2016: Bound to ::
чт сент. 15 11:32:31 2016: DHT: Bound to ::
чт сент. 15 11:32:31 2016: Bound to 0.0.0.0
чт сент. 15 11:32:31 2016: DHT: Bound to 0.0.0.0
чт сент. 15 11:32:31 2016: Cannot open /home/mva/.local/share/ktorrent/groups : Нет такого файла или каталога
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor0/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor1/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Bound to ::
чт сент. 15 11:32:31 2016: Bound to 0.0.0.0
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor10/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor100/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor101/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor102/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor11/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor12/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor13/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor14/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor15/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor16/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor17/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor18/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor19/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor2/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor20/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor21/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor22/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor23/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor24/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor25/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor26/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor27/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor28/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor29/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor3/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor30/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor31/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor32/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor33/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor34/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor35/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor36/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor37/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor38/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor39/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor4/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor5/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor6/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor7/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor75/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor8/
чт сент. 15 11:32:31 2016: Encoding : UTF-8
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor9/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor90/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor91/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor92/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor93/
чт сент. 15 11:32:31 2016: Loading /home/mva/.local/share/ktorrent/tor96/
Error Opening file /usr/share/GeoIP/GeoIP.dat
чт сент. 15 11:32:33 2016: Downloading XML file http://192.168.0.1:5000/rootDesc.xml
чт сент. 15 11:32:33 2016: Trying to find UPnP devices on the local network
чт сент. 15 11:32:33 2016: ZeroConf service added for Preacher.s01e06.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for FSD | PragmataPro & PragmataPro Mono 0.822 (2016 update) OpenType 8×TTF $219
чт сент. 15 11:32:33 2016: ZeroConf service added for Mr.Robot.s02e06.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Мифика.Некромант.2015.P.WEB-DLRip.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Mythica.A.Quest.for.Heroes.2015.P.HDRip.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Miphica.Tyyomniie.Vremena.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for The.Adventures.of.Puss.in.Boots.s03.WEB.720p.NewStudio.TV
чт сент. 15 11:32:33 2016: ZeroConf service added for Money.Monster.2016.D.HDRip.14OOMB.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Полтора.шпиона.2016.WEBRip.[1080p].NNMClub.to.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Killjoys.1080p.rus.LostFilm
чт сент. 15 11:32:33 2016: ZeroConf service added for Тёмная материя (сезон 2) Dark Matter (2016) WEB-DLRip - LostFilm
чт сент. 15 11:32:33 2016: ZeroConf service added for Capitan.Fantastik.2016.D.WEB-DLRip.1400MB.nnmclub.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Prometheus.(480p).(pk).m4v
чт сент. 15 11:32:33 2016: ZeroConf service added for Dvoe vo vselennoj 2016 BDRip.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Torchwood.Series.1.Complete.HQ.Edition.x264
чт сент. 15 11:32:33 2016: ZeroConf service added for Варкрафт_Warcraft.2016.WEB-DLRip.H.264.NNMCLUB.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for season1
чт сент. 15 11:32:33 2016: ZeroConf service added for season2
чт сент. 15 11:32:33 2016: ZeroConf service added for Doctor Who - Attack of the Graske [RusSub] 2005
чт сент. 15 11:32:33 2016: ZeroConf service added for The.Sarah.Jane.Adventures.Series.1.Complete.HQ.Edition.x264
чт сент. 15 11:32:33 2016: ZeroConf service added for Angel.from.Hell.s01e06.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Angel.from.Hell.s01e07.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Angel.from.Hell.s01e08.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e08.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Mr.Robot.s02e07.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e09.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Divinity.Original.Sin.Enhanced.Edition_Linux
чт сент. 15 11:32:33 2016: ZeroConf service added for The.Secret.Life.of.Pets.2016.WEBRip.720p-LQ.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Черепашки-ниндзя.2.2016.WEB-DLRip.NNMClub.to.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Captain America_Civil War.2016.BDRip.720p.LQ.NNMCLUB.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Ice.Age.Collision.Course.2016.WEBRip.DUB.LINE-piratbit.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Кингсглейв. Последняя фантазия XV - Kingsglaive. Final Fantasy XV (2015)_WEB-DL.1080p.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Inside.Out.2015.BDRip-AVC.Dub.1.45Gb.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Rileys.First.Date.2015.BDRip.720p.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Иллюзия обмана 2. - Now.You.See.Me.2.2016.1080p.BluRay.AC3.x264.mkv
чт сент. 15 11:32:33 2016: ZeroConf service added for Lud1.X.4pokal1psis.2016.D.HDRip.NNM-CLUB.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for The.Other.Woman.2014.D.HDRip.1400MB.nnm-club.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e04.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e05.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e06.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Мистер Робот (сезон 1)  Mr. Robot (2015) WEBDLRip - NewStudio
чт сент. 15 11:32:33 2016: ZeroConf service added for Re Zero
чт сент. 15 11:32:33 2016: ZeroConf service added for Мистер Робот (сезон 2)  Mr. Robot (2016) WEBDLRip - NewStudio
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e07.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Preacher.s01e04.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e01.HDTVRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e02.HDTVRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Preacher.s01e05.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: ZeroConf service added for Braindead.s01e03.WEBDLRip.NewStudio.TV.avi
чт сент. 15 11:32:33 2016: Starting minimized
чт сент. 15 11:32:33 2016: Started update timer
чт сент. 15 11:32:33 2016: Suppressing sleep
чт сент. 15 11:32:33 2016: DHT: finding node 
чт сент. 15 11:32:33 2016: Stopped update timer
чт сент. 15 11:32:33 2016: Stopped suppressing sleep
чт сент. 15 11:32:33 2016: Detected IGD OpenWRT/OpenWrt UPnP/2.0 MiniUPnPd/1.9
чт сент. 15 11:32:33 2016: Downloading XML file http://192.168.0.1:5000/rootDesc.xml
чт сент. 15 11:32:34 2016: Doing port mappings for OpenWRT/OpenWrt UPnP/2.0 MiniUPnPd/1.9
чт сент. 15 11:32:34 2016: Forwarding port 6881 (UDP)
чт сент. 15 11:32:34 2016: Forwarding port 6881 (TCP)
чт сент. 15 11:32:34 2016: Forwarding port 7881 (UDP)
чт сент. 15 11:32:34 2016: Forwarding port 8881 (UDP)
чт сент. 15 11:32:34 2016: HTTPRequest error : Удалённый узел закрыл соединение
чт сент. 15 11:32:34 2016: HTTPRequest error : Удалённый узел закрыл соединение
чт сент. 15 11:32:34 2016: HTTPRequest error : Удалённый узел закрыл соединение
чт сент. 15 11:32:34 2016: HTTPRequest error : Удалённый узел закрыл соединение
чт сент. 15 11:32:34 2016: HTTPRequest error : Удалённый узел закрыл соединение
чт сент. 15 11:32:34 2016: UPnP: GetExternalIP failed: Неизвестная ошибка
[New Thread 0x7fffc3a4b700 (LWP 119376)]
чт сент. 15 11:32:40 2016: Started update timer
чт сент. 15 11:32:40 2016: Suppressing sleep
чт сент. 15 11:32:40 2016: Stopped update timer
чт сент. 15 11:32:40 2016: Stopped suppressing sleep
чт сент. 15 11:33:20 2016: UTP: established connection with 217.172.30.34
чт сент. 15 11:33:20 2016: Accepted connection from 217.172.30.34
чт сент. 15 11:33:20 2016: UTP: Connection 12392|12391 closed 
чт сент. 15 11:33:29 2016: UTP: established connection with 2001:0:5ef5:79fd:18d2:1801:4f3b:6d99
чт сент. 15 11:33:29 2016: Send error : Семейство адресов не поддерживается протоколом
чт сент. 15 11:33:29 2016: Accepted connection from 2001:0:5ef5:79fd:18d2:1801:4f3b:6d99
чт сент. 15 11:33:33 2016: DHT: NodeLookup done
чт сент. 15 11:33:42 2016: UTP: established connection with 91.212.68.226
чт сент. 15 11:33:42 2016: UTP: Connection 48776|48775 closed 
чт сент. 15 11:34:03 2016: Accepted connection from 2001:0:5ef5:79fb:4f2:32b3:9231:63b9
чт сент. 15 11:34:05 2016: UTP: established connection with 2001:0:5ef5:79fb:4f2:32b3:9231:63b9
чт сент. 15 11:34:05 2016: UTP: Connection 36473|36472 closed 
чт сент. 15 11:34:19 2016: UTP: established connection with 217.172.30.34
чт сент. 15 11:34:19 2016: UTP: Connection 43410|43409 closed 
чт сент. 15 11:34:19 2016: Accepted connection from 217.172.30.34
чт сент. 15 11:34:36 2016: Accepted connection from 37.212.189.54
чт сент. 15 11:34:38 2016: UTP: established connection with 91.212.68.226
чт сент. 15 11:34:38 2016: UTP: Connection 14899|14898 closed 
чт сент. 15 11:34:44 2016: Accepted connection from 2a02:2698:4c22:5577:90ae:7916:c948:9eac
чт сент. 15 11:34:56 2016: Accepted connection from 91.212.68.226
чт сент. 15 11:35:01 2016: Accepted connection from 2002:b927:723f::b927:723f
чт сент. 15 11:35:04 2016: UTP: established connection with 37.212.189.54
чт сент. 15 11:35:04 2016: UTP: Connection 6012|6011 closed 
чт сент. 15 11:35:11 2016: UTP: established connection with 91.212.68.226
чт сент. 15 11:35:11 2016: UTP: Connection 46049|46048 closed 
чт сент. 15 11:35:41 2016: UTP: established connection with 2001:0:5ef5:79fd:429:e1ee:a07e:4978
чт сент. 15 11:35:41 2016: UTP: Connection 35828|35827 closed 
чт сент. 15 11:35:41 2016: Accepted connection from 2001:0:5ef5:79fd:429:e1ee:a07e:4978
чт сент. 15 11:35:52 2016: UTP: established connection with 217.172.30.34
чт сент. 15 11:35:52 2016: Accepted connection from 217.172.30.34
чт сент. 15 11:35:52 2016: UTP: Connection 13856|13855 closed 
чт сент. 15 11:35:56 2016: Invalid token
чт сент. 15 11:36:01 2016: UTP: established connection with 46.180.161.178
чт сент. 15 11:36:01 2016: Accepted connection from 46.180.161.178
чт сент. 15 11:36:01 2016: UTP: Connection 20150|20149 closed 
чт сент. 15 11:36:23 2016: Invalid token
terminate called after throwing an instance of 'Botan::Noop_Mutex_Factory::make()::Noop_Mutex::Mutex_State_Error'
  what():  Internal error: Noop_Mutex::lock: Mutex is already locked

Thread 7 "QThread" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc3a4b700 (LWP 119376)]
0x00007ffff2a4a228 in raise () from /lib64/libc.so.6

Thread 7 (Thread 0x7fffc3a4b700 (LWP 119376)):
#0  0x00007ffff2a4a228 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007ffff2a4b6aa in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007ffff3359b3d in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/libstdc++-v3/libsupc++/vterminate.cc:95
        terminating = true
        t = <optimized out>
#3  0x00007ffff3357996 in __cxxabiv1::__terminate (handler=<optimized out>) at /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
No locals.
#4  0x00007ffff33579e1 in std::terminate () at /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
No locals.
#5  0x00007ffff3357bf9 in __cxxabiv1::__cxa_throw (obj=0x7fffbc006090, tinfo=0x7fffd8f3b338 <typeinfo for Botan::Noop_Mutex_Factory::make()::Noop_Mutex::Mutex_State_Error>, dest=0x7fffd8c24550 <Botan::Noop_Mutex_Factory::make()::Noop_Mutex::Mutex_State_Error::~Mutex_State_Error()>) at /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/libstdc++-v3/libsupc++/eh_throw.cc:87
        globals = <optimized out>
#6  0x00007fffd8c246fd in Botan::Noop_Mutex_Factory::make()::Noop_Mutex::lock() () from /usr/lib64/libbotan-1.10.so.1
No symbol table info available.
#7  0x00007fffd8b163f8 in Botan::Mutex_Holder::Mutex_Holder(Botan::Mutex*) () from /usr/lib64/libbotan-1.10.so.1
No symbol table info available.
#8  0x00007fffd8b17c7f in Botan::Algorithm_Cache<Botan::HashFunction>::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib64/libbotan-1.10.so.1
No symbol table info available.
#9  0x00007fffd8b1474e in Botan::Algorithm_Factory::prototype_hash_function(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib64/libbotan-1.10.so.1
No symbol table info available.
#10 0x00007fffd8b14b0e in Botan::Algorithm_Factory::make_hash_function(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib64/libbotan-1.10.so.1
No symbol table info available.
#11 0x00007fffd8fc3547 in botanProvider::createContext(QString const&) () from /usr/lib64/qt5/plugins/crypto/libqca-botan.so
No symbol table info available.
#12 0x00007ffff2050a11 in QCA::getContext(QString const&, QString const&) () from /usr/lib64/libqca-qt5.so.2
No symbol table info available.
#13 0x00007ffff205198a in QCA::Algorithm::change(QString const&, QString const&) () from /usr/lib64/libqca-qt5.so.2
No symbol table info available.
#14 0x00007ffff2052804 in QCA::Algorithm::Algorithm(QString const&, QString const&) () from /usr/lib64/libqca-qt5.so.2
No symbol table info available.
#15 0x00007ffff20a9829 in QCA::Hash::Hash(QString const&, QString const&) () from /usr/lib64/libqca-qt5.so.2
No symbol table info available.
#16 0x00007ffff77ca041 in bt::SHA1HashGen::SHA1HashGen() () from /usr/lib64/libktorrent.so.6
No symbol table info available.
#17 0x00007ffff77ca3ce in bt::SHA1Hash::generate(unsigned char const*, unsigned int) () from /usr/lib64/libktorrent.so.6
No symbol table info available.
#18 0x00007ffff788c463 in bt::MultiDataChecker::check(QString const&, bt::Torrent const&, QString const&, bt::BitSet const&) () from /usr/lib64/libktorrent.so.6
No symbol table info available.
#19 0x00007ffff788a8b3 in bt::DataCheckerThread::run() () from /usr/lib64/libktorrent.so.6
No symbol table info available.
#20 0x00007ffff36f10bc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#21 0x00007fffeec7748a in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#22 0x00007ffff2afee9d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 6 (Thread 0x7fffda20d700 (LWP 119313)):
#0  0x00007ffff2af5e3d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fffee32919c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fffee3292ac in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff38dba6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff388c0ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff36ecc84 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#6  0x00007ffff36f10bc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#7  0x00007fffeec7748a in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#8  0x00007ffff2afee9d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 5 (Thread 0x7fffd9a0c700 (LWP 119307)):
#0  0x00007ffff2af5e3d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fffee32919c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fffee3292ac in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff38dba6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff388c0ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff36ecc84 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#6  0x00007ffff36f10bc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#7  0x00007fffeec7748a in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#8  0x00007ffff2afee9d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7fffdb41e700 (LWP 119301)):
#0  0x00007ffff2af5e3d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fffee32919c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fffee3292ac in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff38dba8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff388c0ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff36ecc84 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#6  0x00007ffff7ecd5c5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
No symbol table info available.
#7  0x00007ffff36f10bc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#8  0x00007fffeec7748a in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#9  0x00007ffff2afee9d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7fffe0c4c700 (LWP 119300)):
#0  0x00007ffff2af5e3d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fffeea538f2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
No symbol table info available.
#2  0x00007fffeea556f7 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
No symbol table info available.
#3  0x00007fffe2976cf9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
No symbol table info available.
#4  0x00007ffff36f10bc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#5  0x00007fffeec7748a in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x00007ffff2afee9d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7ffff7e01840 (LWP 119294)):
#0  0x00007ffff2af5e3d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fffee32919c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fffee3292ac in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff38dba8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#4  0x00007ffff388c0ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff3893aac in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#6  0x00000000004336ba in main ()
No symbol table info available.
gdb -batch -n -ex 'start' -ex 'cont' -ex 'thread apply all bt full' ktorrent  43,97s user 7,50s system 21% cpu 3:55,74 total
Comment 1 Martin Sandsmark 2016-10-06 21:52:18 UTC
This crash is deep inside Botan, possibly QCA isn't handling it safely. I'd suggest trying another QCA backend.
Comment 2 Albert Astals Cid 2020-03-10 16:19:15 UTC
Does this still happen when using QCA 2.3?
Comment 3 Bug Janitor Service 2020-03-25 04:33:12 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 4 Bug Janitor Service 2020-04-09 04:33:13 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!