Opened 13 years ago
Closed 12 years ago
#9547 closed Bug Report - Crash (Fixed)
[CRASH] Seg. fault while navigating Program Guide
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | 0.24-fixes |
Severity: | medium | Keywords: | program guide |
Cc: | Ticket locked: | no |
Description
Random crashes while navigating the Program Guide. Unable to reproduce consistently but with enough time spent navigating the Guide it will eventually crash.
Attachments (2)
Change History (21)
comment:1 Changed 13 years ago by
This problem also happens to me frequently.
From frontend log:
2011-02-15 17:34:17.535 [mp2 @ 0x7f90e403f5e0]incomplete frame 2011-02-15 17:34:17.535 AFD Error: Unknown audio decoding error 2011-02-15 17:34:17.857 Marking recording as watched using offset 4 minutes 2011-02-15 17:34:17.857 TV: Attempting to change from WatchingPreRecorded to None 2011-02-15 17:34:17.877 Trying 1680x1050 0.000 Hz 2011-02-15 17:34:17.877 SwitchToGUI: Switched to 1680x1050 0.000 Hz 2011-02-15 17:34:18.044 Pulse: PulseAudio resume OK 2011-02-15 17:34:18.050 TV: Changing from WatchingPreRecorded to None 2011-02-15 17:34:18.059 TV: Attempting to change from None to None *** glibc detected *** /usr/bin/mythfrontend.real: malloc(): memory corruption (fast): 0x00007f90c4b81fff *** ======= Backtrace: ========= /lib/libc.so.6(+0x774b6)[0x7f90dab4f4b6] /lib/libc.so.6(+0x7b781)[0x7f90dab53781] /lib/libc.so.6(__libc_malloc+0x6e)[0x7f90dab5438e] /usr/lib/nvidia-current/libGL.so.1(+0x9ab15)[0x7f90de8d5b15]
I use
MythTV Version : v0.24-151-g1a69c92 MythTV Branch : fixes/0.24 Network Protocol : 63 Library API : 0.24.20101129-1 QT Version : 4.7.0
comment:2 Changed 13 years ago by
Summary: | Seg. fault while navigating Program Guide → [CRASH] Seg. fault while navigating Program Guide |
---|
comment:3 Changed 13 years ago by
Crash does not appear to be affected by theme, has crashed with Mythcenter-wide and Blue Abstract.
comment:4 Changed 13 years ago by
I think I am being affected by the same bug, at least I am getting the same type of glibc messages. My problem is not in the program guide, but in the Schedule Recordings->Search Lists menus
If you use the bando-blue theme, you can replicate it fairly consistently by going to Schedule->Search Lists->New Titles, then use the END key to change categories. I also get it in Schedule->Search Lists->Channels using the END key or the 1 and 2 keys to change the sort order. It doesn't happen every time, just 90% of the time, making these screens practically unusable under that theme. Using mythcenter-wide, it happens much less frequently, but still very annoying.
*** glibc detected *** mythfrontend: double free or corruption (fasttop): 0x00002b707c8e3c80 *** ======= Backtrace: ========= /lib/libc.so.6(+0x775b6)[0x2b7062d8e5b6] /lib/libc.so.6(cfree+0x73)[0x2b7062d94e83] /usr/lib/libQtGui.so.4(_ZN7QRegion7cleanUpEPNS_11QRegionDataE+0x2d)[0x2b706147caad] /opt/myth-0.24/lib/libmythui-0.24.so.0(_ZN10MythUIType19SetChildNeedsRedrawEPS_+0xce)[0x2b705aebfc1e] /opt/myth-0.24/lib/libmythui-0.24.so.0(_ZN10MythUIType9SetRedrawEv+0xcc)[0x2b705aebfd6c] /opt/myth-0.24/lib/libmythui-0.24.so.0(_ZN10MythUIText12SetFontStateERK7QString+0x90)[0x2b705aed8fb0] /opt/myth-0.24/lib/libmythui-0.24.so.0(_ZN10MythUIText5ResetEv+0x43)[0x2b705aed9273] /opt/myth-0.24/lib/libmythui-0.24.so.0(_ZN10MythUIType5ResetEv+0x156)[0x2b705aec28b6] ======= Memory map: ========
comment:5 Changed 13 years ago by
This bug is really annoying. I can reproduce with ArchLight? consistently. Basically the program guide is unuasble now!
comment:6 Changed 13 years ago by
Ticket locked: | set |
---|
Please read the ticket howto, this ticket is now locked to everyone because you needed to use it as a billboard for your frustration.
comment:7 Changed 13 years ago by
I've seen many segfaults similar to this. The problem is the main thread and the ImageLoadThread? both trying to access/update stuff in MythUIImage at the same time.
comment:8 Changed 13 years ago by
Initialize the MythUIImage filename correctly
Fixes #9634. Fixes #9708. Refs #9547.
If the filename does not start with "/", "http://", "https://" or "ftp://", then the actual filename loaded is uninitialized. It can be any random crap on the stack. I'm honestly surprised this worked at all :)
This may fix things for #9547 as well, and should be tested with that scenario too.
Branch: master Changeset: 2c7735e7f80b5d2737d2bc8c4e9144f3e42da2e7
comment:9 Changed 13 years ago by
Status: | new → infoneeded_new |
---|
Please retest with the fix as above (c321ee6a821f2a773f0d8d158d27d83b70c9332d on fixes/0.24)
comment:10 Changed 13 years ago by
Ticket locked: | unset |
---|
Unlocking for response from original poster to whether this still occurs with the changeset above.
comment:11 Changed 13 years ago by
Revert "Initialize the MythUIImage filename correctly"
This reverts commit 2c7735e7f80b5d2737d2bc8c4e9144f3e42da2e7.
Opens #9634. Opens #9708. Refs #9547.
Branch: master Changeset: 2b52eb40f2ddc9cf2c85c8edf1baab7210ab7619
comment:13 Changed 13 years ago by
Status: | infoneeded_new → new |
---|
Reverted at 1605466620e84. removing infoneeded tag.
comment:14 Changed 13 years ago by
Type: | Bug Report → Bug Report - Crash |
---|
comment:16 Changed 12 years ago by
It's not exactly clear looking at the BT but this looks suspiciously like another case of two threads trying to update a MythUIType at the same time. Refs #10073
comment:18 Changed 12 years ago by
Status: | new → infoneeded_new |
---|
Now that #9388 has been fixed, please see if this is reproducable. If not, I think we can consider it closed by that fix.
comment:19 Changed 12 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | infoneeded_new → closed |
Possible resolution applied at 02f8352b91d8f, with no further response from reporter. Assume fixed. Ticket can be re-opened if problem persists.
Backtrace