Bug #2718
torrenter crashes in eztvapi plugin
Status: | Fixed | Start date: | 06/25/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | Video playback | |||
Target version: | 4.10 | |||
Found in version: | 4.9.595 | Platform: | Linux |
Description
To reproduce, just run eztvapi plugin, go into any series and start play, then pgdn, bacspace play etc. Imitate intensive activities. Eventualy it hangs or crashes.
19:59:27.493: Video [DEBUG]: Starting playback of torrentfile://90f6ce16fa298a4bd0bd1a7f64cd52f3ecda3214//Breaking.Bad.S02E01.HDTV.XviD-0TV.avi (avi) 19:59:27.493: Probe [DEBUG]: Stream #0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 624x352 [PAR 1:1 DAR 39:22] 19:59:27.493: Probe [DEBUG]: Stream #1: Audio: mp3, 48000 Hz, 2 channels, s16p, 128 kb/s 19:59:27.493: media [DEBUG]: Selecting track libav:1, best score 6 19:59:27.493: Media [DEBUG]: Switching to audio track libav:1 19:59:27.493: Subscanner [DEBUG]: Starting subtitle scan for Breaking.Bad.S02E01.HDTV.XviD-0TV.avi (imdbid:<unknown>) year:0 season:-1 episode:-1 duration:2769 opensubhash:ebffcb55695ad277 19:59:27.493: Video [DEBUG]: Stream #0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 624x352 [PAR 1:1 DAR 39:22] 19:59:27.494: Video [DEBUG]: Stream #0: Codec created 19:59:27.494: Video [DEBUG]: Stream #1: Audio: mp3, 48000 Hz, 2 channels, s16p, 128 kb/s 19:59:27.494: Video [DEBUG]: Stream #1: Codec created 19:59:27.496: VIDEO [DEBUG]: Attempting to resume from 26.57 seconds 19:59:27.496: Video [DEBUG]: seek restart position to 26.57 (26568000 - 0) 19:59:27.509: audio [DEBUG]: Codec changed to mp3 (0x15001) 19:59:27.510: PA [DEBUG]: Created stream float32le 2ch 48000Hz [front-left,front-right] (tilesize=8184) 19:59:27.512: Audio [DEBUG]: Converting from [stereo 48000Hz s16p] to [stereo 48000Hz flt] 19:59:27.790: media [DEBUG]: Selecting track http://dl.opensubtitles.org/en/download/file/src-api/vrf-f2549f3bf9/sid-ken4t7pbc45p0puhutgtu42os1/1952078274.gz, best score 1301 19:59:27.790: Media [INFO ]: Switching to subtitle track http://dl.opensubtitles.org/en/download/file/src-api/vrf-f2549f3bf9/sid-ken4t7pbc45p0puhutgtu42os1/1952078274.gz 19:59:27.791: opensubtitles [DEBUG]: Added 6 subtitles 19:59:27.894: Subtitles [DEBUG]: Trying to load http://dl.opensubtitles.org/en/download/file/src-api/vrf-f2549f3bf9/sid-ken4t7pbc45p0puhutgtu42os1/1952078274.gz 19:59:28.238: Subtitles [INFO ]: http://dl.opensubtitles.org/en/download/file/src-api/vrf-f2549f3bf9/sid-ken4t7pbc45p0puhutgtu42os1/1952078274.gz is not valid UTF-8. Decoded as ISO-8859-2 (detected language: hu) 19:59:28.240: Subtitles [DEBUG]: Loaded http://dl.opensubtitles.org/en/download/file/src-api/vrf-f2549f3bf9/sid-ken4t7pbc45p0puhutgtu42os1/1952078274.gz OK 19:59:29.392: Video [DEBUG]: Stopped playback of torrentfile://90f6ce16fa298a4bd0bd1a7f64cd52f3ecda3214//Breaking.Bad.S02E01.HDTV.XviD-0TV.avi 19:59:29.398: vp [DEBUG]: Playing 'torrent:video:magnet:?xt=urn:btih:E3T5V35WAYDSA7AS3FGBIWTDCQ2WXCVG&dn=Breaking.Bad.S02E02.HDTV.XviD-0TV&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969', primary, resume:no (overridden) 19:59:29.399: media [DEBUG]: Settings initialized for URL torrent:video:magnet:?xt=urn:btih:E3T5V35WAYDSA7AS3FGBIWTDCQ2WXCVG&dn=Breaking.Bad.S02E02.HDTV.XviD-0TV&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969 in folder: Breaking Bad [eztvapi:showlist:tt0903747] 19:59:29.402: SVSYNC [DEBUG]: Set to 0s 19:59:29.410: AVSYNC [DEBUG]: Set to 0 ms 19:59:29.411: MAGNET [DEBUG]: Opening magnet for hash E3T5V35WAYDSA7AS3FGBIWTDCQ2WXCVG -- Breaking.Bad.S02E02.HDTV.XviD-0TV 19:59:29.413: media [DEBUG]: Settings initialized for URL torrent:video:magnet:?xt=urn:btih:E3T5V35WAYDSA7AS3FGBIWTDCQ2WXCVG&dn=Breaking.Bad.S02E02.HDTV.XviD-0TV&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969 in folder: Breaking Bad [eztvapi:showlist:tt0903747] 19:59:29.415: SVSYNC [DEBUG]: Set to 0s 19:59:29.416: AVSYNC [DEBUG]: Set to 0 ms showtime: /root/showtime/src/backend/bittorrent/diskio.c:468: torrent_diskio_open: Assertion `to->to_cachefile == ((void *)0)' failed. 19:59:31.929: CRASH [EMERG]: Signal: 6 in thread video player - PRG: Movian (4.9.595.gbcdc99) EXE: /root/showtime/build.linux/showtime, CWD: /root/showtime 19:59:32.112: CRASH [EMERG]: Fault address ??:0 0x1a0af (N/A) 19:59:32.112: CRASH [EMERG]: Loaded libraries: /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/x86_64-linux-gnu/libXext.so.6 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/x86_64-linux-gnu/libpulse.so.0 /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 /lib/x86_64-linux-gnu/libglib-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 /usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0 /usr/lib/x86_64-linux-gnu/libXss.so.1 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 /usr/lib/x86_64-linux-gnu/libXv.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/x86_64-linux-gnu/libvdpau.so.1 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libpng12.so.0 /lib/x86_64-linux-gnu/libexpat.so.1 /usr/lib/x86_64-linux-gnu/libxcb.so.1 /usr/lib/x86_64-linux-gnu/libglapi.so.0 /usr/lib/x86_64-linux-gnu/libXdamage.so.1 /usr/lib/x86_64-linux-gnu/libXfixes.so.3 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 /usr/lib/x86_64-linux-gnu/libdrm.so.2 /lib/x86_64-linux-gnu/libjson-c.so.2 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so /lib/x86_64-linux-gnu/libdbus-1.so.3 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 /usr/lib/x86_64-linux-gnu/libcairo.so.2 /usr/lib/x86_64-linux-gn 19:59:32.113: CRASH [EMERG]: Register dump [23]: fefefefefefefeff 0000000000000001 0000000000000008 0000000000000206 0000000000b4c710 0000000000b4c980 00007ff1097a05e0 00007ff1097a0610 000000000001a0af 000000000001a11e 00007ff1297be028 00007ff12fe0a000 0000000000000006 0000000000000000 ffffffffffffffff 00007ff0f9ff7988 00007ff129663267 0000000000000206 0000000000000033 0000000000000000 0000000000000000 0000000000000000 0000000000000000 19:59:32.113: CRASH [EMERG]: STACKTRACE (15 frames) 19:59:32.506: CRASH [EMERG]: /root/showtime/src/arch/linux/linux_trap.c:271 0x411fbb 19:59:32.608: CRASH [EMERG]: /root/showtime/src/arch/linux/linux_trap.c:340 0x4c2fa0 19:59:32.622: CRASH [EMERG]: ??:0 0x7ff12a337d10 19:59:32.622: CRASH [EMERG]: gsignal+0x37 (/lib/x86_64-linux-gnu/libc.so.6) 19:59:32.622: CRASH [EMERG]: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6) 19:59:32.645: CRASH [EMERG]: ??:0 0x7ff12965c03d 19:59:32.669: CRASH [EMERG]: ??:0 0x7ff12965c0f2 19:59:32.785: CRASH [EMERG]: /root/showtime/src/backend/bittorrent/diskio.c:468 (discriminator 1) 0x4ca36e 19:59:32.863: CRASH [EMERG]: /root/showtime/src/backend/bittorrent/magnet.c:399 0x4cc319 19:59:32.967: CRASH [EMERG]: /root/showtime/src/backend/bittorrent/bt_backend.c:299 0x4c91cb 19:59:33.039: CRASH [EMERG]: /root/showtime/src/video/video_playback.c:237 0x5d158b 19:59:33.123: CRASH [EMERG]: /root/showtime/src/video/video_playback.c:719 (discriminator 12) 0x5d211c 19:59:33.236: CRASH [EMERG]: /root/showtime/src/arch/posix/posix_threads.c:178 0x4c4bc0 19:59:33.286: CRASH [EMERG]: ??:0 0x7ff12a32e6aa 19:59:33.286: CRASH [EMERG]: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
Related issues
Associated revisions
bittorrent: Correctly handle multiple threads waiting for metadata for a torrent
Fixes #2718
History
#1
Updated by Leonid Protasov almost 6 years ago
- Related to Bug #2717: Torrent stats text gets jammed added
#2
Updated by Andreas Smas almost 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset git|cf213c0f5333b54a23e3e47033a3689d5666d7f2.