Opened 20 years ago
Closed 20 years ago
Last modified 20 years ago
#1078 closed defect (fixed)
Frontend segfault (PreviewGenerator related?)
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
i updated to the latest svn rev today and i got the frontend to segfault.
i was watching a recording when it stopped and i was back at the watch recording screen, so i tried to start playback again of it so i could check the ending of it and that's when the frontend segfaulted. the backtrace is from a coredump so it contains only one thread, i hope it's good enough.
output from "mythfrontend --version"
Library API version: 0.19.20060115-1 Source code version: 8671 Options compiled in: linux debug using_xvmcw using_v4l using_oss using_alsa using_arts using_ivtv using_dbox2 using_lirc using_joystick_menu using_dvb using_dvb_eit using_x11 using_xv using_xrandr using_xvmc using_xvmc_vld using_frontend using_backend
Attachments (3)
Change History (6)
by , 20 years ago
Attachment: | frontend segfault.txt added |
---|
comment:1 by , 20 years ago
Milestone: | → 0.19 |
---|---|
Owner: | changed from | to
Version: | → head |
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [8717]) Fixes #1078. References #956.
The fix for #956 made the invalid assumption that shutting down the ~PlaybackBox() should never take longer than 500 ms to finish. This was a zombie prevention measure. I've removed the timeout, and I've also implemented a deleteLater() function which cleans up some things early, and should give us snappier preview response.
Torbjorn, can you run with '-v playback' for a while, and then grep for "previewThreadDone took" in the logs, I'd like some info on how long this takes in the longest case on your system. On my system it never takes longer than 7 ms, which is why I thought a 500 ms timeout would be safe. Maybe I can use a 5 minute timeout or something like that..
by , 20 years ago
Attachment: | log2.txt.bz2 added |
---|
frontend log file with -v playback for bt2.txt.bz2
comment:3 by , 20 years ago
backtrace and matching logfile from frontend attached with patch from daniel.
the frontend version is:
# mythfrontend --version Library API version: 0.19.20060121-2 Source code version: 8733M Options compiled in: linux debug using_xvmcw using_v4l using_oss using_alsa using_arts using_ivtv using_dbox2 using_lirc using_joystick_menu using_dvb using_dvb_eit using_x11 using_xv using_xrandr using_xvmc using_xvmc_vld using_frontend using_backend
backtrace from coredump