Opened 15 years ago
Closed 15 years ago
#9634 closed Bug Report - Crash (Unverified)
[CRASH] segfault in ImageLoadThread::run
| Reported by: | Owned by: | beirdo | |
|---|---|---|---|
| Priority: | blocker | Milestone: | unknown |
| Component: | MythTV - User Interface Library | Version: | 0.24-fixes |
| Severity: | high | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Using 0.24-fixes from today, I am getting a pretty consistent segfault trying to start viewing a particular program.
The stack trace of the active thread in gdb when it segfaults:
#0 0x0a5e2e60 in ?? () #1 0x0053f0b3 in ImageLoadThread::run (this=0xb3cf790) at mythuiimage.cpp:104 #2 0x01a6625c in QThreadPoolThread::run (this=0x9bffa58) at concurrent/qthreadpool.cpp:106 #3 0x01a7132e in QThreadPrivate::start (arg=0x9bffa58) at thread/qthread_unix.cpp:248 #4 0x018e596e in start_thread (arg=0xa9bdfb70) at pthread_create.c:300 #5 0x01e72a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
I will attach the full threaded backtrace.
Attachments (1)
Change History (15)
by , 15 years ago
| Attachment: | ThreadStacktrace.txt added |
|---|
comment:1 by , 15 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → accepted |
| Version: | Unspecified → 0.24-fixes |
comment:3 by , 15 years ago
| Milestone: | unknown → 0.25 |
|---|---|
| Resolution: | → fixed |
| Status: | accepted → closed |
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:4 by , 15 years ago
| Milestone: | 0.25 → 0.24.2 |
|---|
comment:5 by , 15 years ago
| Milestone: | 0.24.2 → unknown |
|---|---|
| Resolution: | fixed |
| Status: | closed → new |
It's worth trying the re-fixed code, but the above commit got reverted.
comment:6 by , 15 years ago
| Priority: | blocker → major |
|---|
comment:7 by , 15 years ago
| Summary: | segfault in ImageLoadThread::run → [CRASH] segfault in ImageLoadThread::run |
|---|
comment:8 by , 15 years ago
| Status: | new → infoneeded_new |
|---|
Is this still happening in the particular test case that was cited in the ticket?
comment:9 by , 15 years ago
| Component: | MythTV - General → MythTV - User Interface Library |
|---|---|
| Milestone: | unknown → 0.25 |
| Priority: | major → blocker |
See also #9388
comment:11 by , 15 years ago
| Milestone: | 0.25 → unknown |
|---|
I'm removing the milestone as it is not clear that this will be fixed with no input from affected users. When we get more input, it can be set at that time.
comment:12 by , 15 years ago
We need either a test case that allows us to reproduce this, or to have someone who is affected to work with us. This is a serious bug, but we are not being able to move forward on it. To the original poster: Is this still happening? Have you tried master (0.25-pre)?
comment:14 by , 15 years ago
| Resolution: | → Unverified |
|---|---|
| Status: | infoneeded_new → closed |

threaded back trace of crash