[mythtv-users] Can't get backtrace in gdb

Jerry Rubinow jerryr at universal-imaging.com
Fri Jul 23 00:17:30 EDT 2004


I've been having problems with segmentation faults in the frontend when trying to play back high resolution HD recordings.  So I compiled myth with debugging info and ran it under gdb (5.3.90), as described in the docs.  I did the "handle SIGPIPE nostop" and then a run, but "thread apply all bt full" yields an error message.  How do I get around this?  It seems to be stopping much sooner within gdb than when I run it without gdb.  Here's my gdb session:
 
(gdb) run -v all
Starting program: /usr/local/bin/mythfrontend -v all
[Thread debugging using libthread_db enabled]
[New Thread -1084701344 (LWP 6988)]
2004-07-22 23:52:16 mythfrontend version: 0.15.20040525-1 www.mythtv.org <http://www.mythtv.org> 
2004-07-22 23:52:16 Enabled verbose msgs :all
[New Thread 117959600 (LWP 6989)]
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2004-07-22 23:52:17 Registering Internal as a media playback plugin.
2004-07-22 23:52:17 Registering MythDVD DVD Media Handler as a media handler
2004-07-22 23:52:17 Registering MythDVD VCD Media Handler as a media handler
2004-07-22 23:52:18 Registering MythMusic Media Handler as a media handler
2004-07-22 23:52:20 All Programs
2004-07-22 23:52:20 Connecting to backend server: 192.168.1.105:6543 (try 1 of 5)
2004-07-22 23:52:20 20      MYTH_PROTO_VERSION 8
2004-07-22 23:52:20 Using protocol version 8
2004-07-22 23:52:20 36      ANN Playback localhost.localdomain 0
2004-07-22 23:52:20 21      QUERY_RECORDINGS Play
2004-07-22 23:52:20 20      MYTH_PROTO_VERSION 8
2004-07-22 23:52:20 Using protocol version 8
2004-07-22 23:52:20 36      ANN Playback localhost.localdomain 1
2004-07-22 23:52:22 Interlaced: -1  video_height: 1088  fps: 29.97
2004-07-22 23:52:22 Estimated bitrate = 384000
Input #0, mpegts, from '/video/programs/1057_20040713115100_20040713115300.nuv':
  Stream #0.0[0x11]: Video: mpeg2video, 1920x1080, 29.97 fps
  Stream #0.1[0x14]: Audio: ac3, 48000 Hz, stereo, 384 kb/s
2004-07-22 23:52:22 Commercial Detection initialized: width = 1920, height = 1088, fps = 29.97, method = 1
2004-07-22 23:52:22 Image size. dispxoff 0, dispyoff: 0, dispwoff: 0, disphoff: 0
2004-07-22 23:52:22 Image size. imgx 0, imgy: 0, imgw: 1920, imgh: 1088
Couldn't get registers: No such process.
(gdb) thread apply all bt full
Cannot find new threads: generic error
(gdb)


More information about the mythtv-users mailing list