Opened 14 years ago

Closed 14 years ago

#1497 closed defect (invalid)

mythbackend dies with *** glibc detected *** free(): invalid pointer: 0x088dd4e8 ***

Reported by: kari dot salmela AT lanwan dot fi Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.19
Severity: medium Keywords: segmentation fault mythbackend
Cc: Ticket locked: no

Description

HW Setup: Athlon XP 2400+ running on Asus A7V266-EX, ATI Radeon 9600SE DVB: 2 x TechnoTrend? DVB-C Budget 1500

mythbackend crashes when watching live-tv or recording at random intervals (5-30 mins after restart).

SW: Linux 2.6.15.6 on Debian Unstable, X.Org R6.9

gdb debug file will be attached.

Attachments (1)

gdb.txt (61.9 KB) - added by anonymous 14 years ago.
gdb debug output

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by anonymous

Attachment: gdb.txt added

gdb debug output

comment:1 Changed 14 years ago by anonymous

Compiled with: ./configure --arch=athlon-xp --enable-dvb --enable-dvb-eit --compile-type=debug

mythtv:~/src/stable/mythtv# mythbackend --version Library API version: 0.19.20060121-2 Source code version: 9336 Options compiled in:

linux debug using_v4l using_oss using_alsa using_arts using_jack using_ivtv using_firewire using_dbox2 using_lirc using_joystick_menu using_dvb using_dvb_eit using_x11 using_xv using_dvdnav using_xrandr using_frontend using_backend

comment:2 Changed 14 years ago by anonymous

This may or may not be linked to ticket #1459 . I test by disabling eit support and report back. I am not very experienced in debugging c/c++ code so apologies..

--Kari

comment:3 Changed 14 years ago by Janne <janne-mythtv@…>

maybe fixed be #1493, see attached patch there

comment:4 Changed 14 years ago by anonymous

I'll check this #1493 soon, now it seems that without EIT backend is stable. (over 1,5 hours now without crash).

--Kari

comment:5 Changed 14 years ago by anonymous

Hmm.. I have some trouble putting the modifications in place. In my source code lines from around line ~300 in libs/libmythtv/dvbsiparser.cpp are like this:

1 if (rsz > 0) 2 { 3 ParseTable?(buffer, rsz, 4 PIDfilterManager[pollArray[i].fd].pid); 5 processed = true; 6 continue; 7 } 8 9 if (rsz == -1 && errno == EAGAIN)

If I just comment lines 3 and 4, I won't get video at all.. ;-/

--Kari

comment:6 Changed 14 years ago by Janne <janne-mythtv@…>

that was changed in [9327]. pleae try 'svn up' and 'svn status' to see if you have revision 9336 as stated in the 'mythbackend --version' output above.

You should also use the patch in #1459, since it fixes a different problem with DVB-EIT.

comment:7 Changed 14 years ago by anonymous

Something was changed which broke down the system for myself, at least. I cannot be quite specific yet, but compiling from "trunk" [ http://svn.mythtv.org/svn/trunk/mythtv ] with version 9345 and I don't get livetv video at all on YLE channels (in Finland). If I change start channel different value (for example MTV3) then I get video but the picture is quite distorted. That is an issue to be investigated in separate thread.

I fetched the source from http://svn.mythtv.org/svn/branches/release-0-19-fixes/mythtv and now it seems to work ok. I guess this ticket may be considered closed.

--Kari

comment:8 Changed 14 years ago by bjm

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.