[mythtv] backtrace of mythfrontend was: RE: Improved MythTV DirectFB output

Juha Pahkala juhis at trinity.is-a-geek.com
Tue Apr 6 12:30:06 EDT 2004


Hello,

Don't know if this is related to the improved directfb patch or not, but
I get a segfault whenever I stop watching live-tv or a recording. And
this happens with the 'release' setting in settings.pro. But if I build
mythtv with 'debug' settings, and try to watch live-tv with that, the tv
never shows, mythfrontend exits before that. And I get the backtrace
that's attached. Is there a way to make mythfrontend under gdb work when
watching tv, so I could make a real backtrace of it?

TIA, juhis




On Mon, 2004-04-05 at 17:38, Juha Pahkala wrote:
> This mail is a reply to the below thread in mythtv-dev list:
> 
> http://www.gossamer-threads.com/archive/MythTV_C2/Dev_F10/Improved_MythTV_DirectFB_output_P117567/
> 
> Please apply these patches to cvs. They fixed my Directfb output, before
> them, my directfb output always looked funny. Now I know it must've been
> the colorspaces ;) Here's a mail I sent about it a month ago.
> 
> http://www.gossamer-threads.com/archive/MythTV_C2/Dev_F10/DirectFB_and_DVB-C_almost_working_P111893/
> 
> There's at least one problem with the patch though. Pretty often when I
> change the channel, when watching live tv, a still frame of the previous
> channel is left on top of the picture, ie. I can hear the sound of the
> new channel, but see the still frame of the old one. And the frame won't
> disappear even when I exit mythfrontend, I have to use some other
> directfb application to reset the picture on the tv.
> 
> Anyhow thanks for the great contribution, mythtv is becoming usable for
> me too, very happy ;)
> 
> juhis
> 
> 
> ______________________________________________________________________
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run -qws
Starting program: /usr/local/mythtv-debug/bin/mythfrontend -qws
[New Thread 1094762624 (LWP 23117)]
Creating mouse: Auto
2004-04-06 19:11:57 mythfrontend version: 0.15.20040324-1 www.mythtv.org
2004-04-06 19:11:57 Enabled verbose msgs : important general
[New Thread 1126099888 (LWP 23126)]
2004-04-06 19:12:00 Registering Internal as a media playback plugin.
[New Thread 1150483376 (LWP 23143)]
2004-04-06 19:12:32 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-04-06 19:12:32 Using protocol version 4
2004-04-06 19:12:33 Using protocol version 4
2004-04-06 19:12:34 Using protocol version 4
[New Thread 1158978480 (LWP 23149)]
[New Thread 1167367088 (LWP 23150)]
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/mnt/video/mythtv//ringbuf9.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
2004-04-06 19:12:39 Opening OSS audio device '/dev/dsp'.
2004-04-06 19:12:40 Audio fragment size: 4096
[New Thread 1182972848 (LWP 23151)]
(*) DirectFB/Config: parsing config file '/etc/directfbrc'.

       ---------------------- DirectFB v0.9.21 ---------------------
             (c) 2000-2002  convergence integrated media GmbH  
             (c) 2002-2004  convergence GmbH                   
        -----------------------------------------------------------

(*) DirectFB/Core: Multi Application Core. (with MMX support) (2004-04-01 10:17)
(*) Direct/Memcpy: using MMXEXT optimized memcpy()
[New Thread 1191402416 (LWP 23152)]
(!) DirectFB/FBDev/vt: FBIOGET_CON2FBMAP failed!
    --> Inappropriate ioctl for device
(!) DirectFB/FBDev/vt: FBIOPUT_CON2FBMAP failed!
    --> Inappropriate ioctl for device

Program received signal SIGUSR2, User defined signal 2.
[Switching to Thread 1094762624 (LWP 23117)]
0x41247cdc in nanosleep () from /lib/tls/libc.so.6
(gdb) thread apply all bt full

Thread 7 (Thread 1191402416 (LWP 23152)):
#0  0x41270787 in select () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x4138f51d in fusion_read_loop () from /usr/local/lib/libfusion-0.9.so.21
No symbol table info available.
#2  0x47035620 in ?? ()
No symbol table info available.

Thread 6 (Thread 1182972848 (LWP 23151)):
#0  0x41247cdc in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x41270ffb in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x4074d123 in AudioOutputOSS::OutputAudioLoop() (this=0x45fae008)
    at audiooutputoss.cpp:575
        space_on_soundcard = 1182973436
        zeros = "\000"
#3  0x4074d73f in AudioOutputOSS::kickoffOutputAudioLoop(void*) (
    player=0x45fae008) at audiooutputoss.cpp:634
No locals.
#4  0x4090c974 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 1167367088 (LWP 23150)):
#0  0x41247cdc in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x41270ffb in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x40209f24 in RingBuffer::ReadAheadThread() (this=0x81b59e8)
    at RingBuffer.cpp:799
        totfree = 45055
        ret = 256000
        used = 2514945
#3  0x4020967f in RingBuffer::startReader(void*) (type=0x81b59e8)
    at RingBuffer.cpp:657
        rbuffer = (RingBuffer *) 0x81b59e8
#4  0x4090c974 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 4 (Thread 1158978480 (LWP 23149)):
#0  0x4126fe04 in ioctl () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x46832330 in dfb_vt_initialize ()
   from /usr/local/lib/directfb-0.9.21/systems/libdirectfb_fbdev.so
No symbol table info available.
#2  0x4682e045 in system_initialize ()
   from /usr/local/lib/directfb-0.9.21/systems/libdirectfb_fbdev.so
No symbol table info available.
#3  0x468333a0 in ?? ()
   from /usr/local/lib/directfb-0.9.21/systems/libdirectfb_fbdev.so
No symbol table info available.
#4  0x20008e00 in ?? ()
No symbol table info available.
#5  0x4138fa70 in fusion_skirmish_dismiss ()
   from /usr/local/lib/libfusion-0.9.so.21
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
#0  0x41247cdc in nanosleep () from /lib/tls/libc.so.6
(gdb) 


More information about the mythtv-dev mailing list