Opened 20 years ago
Closed 20 years ago
Last modified 20 years ago
#498 closed defect (fixed)
mythtv-setup DVB channel scan seg fault (rev 7534)
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | dvb | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Doing a channel scan causes a segmentation fault. Using a HD-3000 ./configure --enable-xvmc --enable-opengl-vsync --enable-dvb --disable-xvmc-vld --compile-type=debug
Attaching log and backtrace.
Attachments (10)
Change History (26)
by , 20 years ago
| Attachment: | backtrace.txt added |
|---|
comment:1 by , 20 years ago
Here is another backtrace, this time with rev. 7466 and an AirStar HD card.
./configure --compile-type=debug --enable-dvb --enable-xvmc --enable-opengl-vsync --disable-joystick-menu
Attached backtrace below.
by , 20 years ago
| Attachment: | backtrace.txt.txt added |
|---|
backtrace of 2005-10-25 myth cvs, segfault doing qam256 std cable channel scan with airstart2/hd5000 tuner
comment:2 by , 20 years ago
Can someone try the debugging patch and report back with the output of "mythtv-setup -v siparser,channel" and the backtrace from the crash?
by , 20 years ago
| Attachment: | bt-with-debug-patch.txt added |
|---|
Backtrace with current svn and debug patch
comment:3 by , 20 years ago
I attached the log and backtrace. With this build, it didn't get as far as it did previously. Here, it seems to have crashed on the first channel lock. With the first backtrace I attached it crashed on about the 4th channel lock. Not sure if that matters. I hope this helps. Thanks.
comment:4 by , 20 years ago
| Milestone: | → 0.19 |
|---|---|
| Version: | → head |
Can you run this a 3-4 more times and produce different stacktraces? The last one had a corrupted stack.
Also if you know how to run Valgrind that might be even more helpful. This appears to be a corrupted memory problem.
comment:5 by , 20 years ago
comment:6 by , 20 years ago
comment:7 by , 20 years ago
| Milestone: | 0.19 → unknown |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
I've committed a few sanity checks and a debugging macro.
Valgrind doesn't report anything for me, but it might for the people experiencing the SEGFAULTS.
Since I can't reproduce the problem and I'm not getting responses from the bug reporters anymore, I'm marking this as "worksforme"...
by , 20 years ago
| Attachment: | mythtv-valgrind.txt.12338 added |
|---|
mythtv-setup full cable chan scan using valgrind with memory leak test=yes
comment:8 by , 20 years ago
I ran mythtv-setup using valgrind. Above I have attached the output. Mythtv-setup segfaulted during scan. -matt
comment:9 by , 20 years ago
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Matt, can you create some backtraces too?
If they all look the same, just send me the one. But since this appears to be a memory problem, they might be different.
Unfortunately, I couldn't find anything useful in the valgrind output.
comment:10 by , 20 years ago
I ran mythtv-setup twice using the command line args you mentioned above. I ran a full qam256 cable scan. Both times the scan crashed at what seems to me to be the same point in the scan, at C105 somewhere. I hope my traces are of some use. I copied some of the corresponding console output from mythtv-setup, too. The files are paired above. Thanks.
-matt
by , 20 years ago
| Attachment: | mythtv-setup-1.txt added |
|---|
by , 20 years ago
| Attachment: | mythtv-setup-2.txt added |
|---|
comment:12 by , 20 years ago
Wow, I was able to get a few of the FTA channels on the scan at least. This looks GREAT!
comment:13 by , 20 years ago
I'll get you some more backtraces and valgrind output, but it will be a couple more days before I can get to it. Thanks for looking in to this.
comment:14 by , 20 years ago
It looks like the problem has to do with DVB tables showing up in an unexpected place. I'll add some debugging for this...
Just to satisfy my curiosity, are you in North America?
comment:15 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |

Log and backtrace of channel scan