Opened 18 years ago
Closed 18 years ago
#2072 closed patch (fixed)
DBox2: Mythbackend segfault
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | high | Keywords: | |
Cc: | Ticket locked: | no |
Description
Hi there!
As suggested in #2068, I'm opening a new ticket.
My setup is fairly simple: one channel, one video source, one capture card: the DBox2.
After setting up everything in mythtv-setup, I start mythbackend. It segfaults, every time.
Here's the log created with v record,channel,siparser (as suggested in the official documentation)
2006-07-18 19:22:46.365 Using runtime prefix = /usr/local 2006-07-18 19:22:46.504 DBPassword is not set in mysql.txt 2006-07-18 19:22:47.754 New DB connection, total: 1 2006-07-18 19:22:48.217 Connected to database 'mythconverg' at host: localhost 2006-07-18 19:22:48.425 Current Schema Version: 1154 Starting up as the master server. 2006-07-18 19:22:48.794 New DB connection, total: 2 2006-07-18 19:22:48.899 Connected to database 'mythconverg' at host: localhost 2006-07-18 19:22:48.982 EITHelper: localtime offset 2:00:00 2006-07-18 19:22:49.139 DBox2Ch(1): Loading channels... Reading channel list from 192.168.0.27:80 2006-07-18 19:22:49.193 DBox2Ch(1): Open() 2006-07-18 19:22:49.222 New DB connection, total: 3 2006-07-18 19:22:49.282 Connected to database 'mythconverg' at host: localhost 2006-07-18 19:22:49.625 ChannelBase(1): Input #1: 'MPEG2TS' schan(1) sourceid(1) ccid(1) 2006-07-18 19:22:49.723 ChannelBase(1): Current Input #1: 'MPEG2TS' 2006-07-18 19:22:49.819 DBox2Ch(1): Channel list not received yet. Will switch to channel 1 later... 2006-07-18 19:22:50.140 TVRec(1): SetFlags(RunMainLoop,) -> RunMainLoop, 2006-07-18 19:22:50.197 TVRec(1): ClearFlags(ExitPlayer,FinishRecording,) -> RunMainLoop, 2006-07-18 19:22:50.362 New DB scheduler connection 2006-07-18 19:22:50.387 Connected to database 'mythconverg' at host: localhost 2006-07-18 19:22:50.459 Main::Starting HttpServer 2006-07-18 19:22:50.562 Main::Registering HttpStatus Extension 2006-07-18 19:22:50.749 mythbackend version: 0.19.20060708-1 www.mythtv.org 2006-07-18 19:22:50.798 Enabled verbose msgs: important general record channel siparser 2006-07-18 19:22:50.843 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min 2006-07-18 19:22:50.921 AutoExpire: Required Free Space: 1.1 GB w/freq: 10 min 2006-07-18 19:22:51.212 DBox2Ch(1): Reading channel list succeeded. 2006-07-18 19:22:51.349 DBox2Ch(1): Read 168 channels. 2006-07-18 19:22:51.394 DBox2Ch(1): Changing to '1'. 2006-07-18 19:22:51.444 DBox2Ch(1): Channel ID for '1' is '43700016d67'.
Backtrace is attached.
-- Michael
p.s.: Daniel, the fix in #2068 seems to work for me.
Attachments (2)
Change History (7)
Changed 18 years ago by
Attachment: | mythbackend-dbox2-backtrace-20060718.bz2 added |
---|
comment:1 Changed 18 years ago by
Milestone: | → unknown |
---|---|
Severity: | medium → high |
Not sure what is going on here.
We need a programmer with access to a DBox2 device to look at this...
comment:2 Changed 18 years ago by
I won't be much of a help here because I can't code, I'm sorry.
We could ask levon to take a look at it (if anyone can contact him) or I could let you access my DBox2. This could either be done via some ssh tunnels so you can connect directly to my Dbox2 or I could create some kind of virtual machine where you could do everything you ever wanted ;). If you're located overseas, latency might be an issue, though.
-- Michael
Changed 18 years ago by
Attachment: | dbox2_backend_segfault_fix.diff added |
---|
comment:4 Changed 18 years ago by
Type: | defect → patch |
---|
dbox2_backend_segfault_fix.diff fixes the segfault in dbox2channel and and corrects some minor issues in dbox2recorder.
Unfortunately the recorded program doesn't work yet. The frontend segfaults immediately. It plays fine in mplayer though.
I suspect an error in the written PAT/PMT.
The recording is available at http://grunau.be/dbox2_rec.mpg (16MB).
comment:5 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [10627]) Fixes #2072. Fixes segfault in DBOX2 recorder using patch from Janne.
There are still various other problems with the recorder. Levent has looking at them as part of a significant rewrite of the recorder but those changes will probably not make it in before 0.20.
A patch that would just fixes the PAT/PMT problem before the 0.20 release would be welcome.
Backtrace of the mythbackend crash