[mythtv] Backtrace of EPG hanging with lirc

James Meyer james.meyer at operamail.com
Thu Jan 6 01:42:50 EST 2005


The following problem has been occurring for a while and I finally got around to getting some backtraces. 
Simply stated the arrow keys (both keyboard and native lirc) stop working in the epg, the only way I have found to enable the keys again is to restart the frontend.
Oddly enough it's only the arrow 

Here are the steps to replicate the problem
1) launch mythfrontend
2) start mythvideo and use xine as the player
3) quit xine and return to the frontend
4)
      a) enter live tv  and view the program guide. After the guide loads you will get one keypress, after that the only key that works is ESC.
      b) attempt to schedule a program via the program guide.  After the guide only the ESC key works.

This may be a lirc or xine problem, but so far I have only noticed the problem within the epg.

configuration:
lirc 0.7  compiled against libirman 0.4.3
using serial irman as the ir receiver
mythtv checked out today(01-05-05), but the problem has occurred since at least .16 if not before.



-jm



-------------- next part --------------
GNU gdb 6.1
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mythfrontend 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26100)]
2005-01-05 19:08:59.764 mythfrontend version: 0.16.20041224-1 www.mythtv.org
2005-01-05 19:08:59.764 Enabled verbose msgs : important general
2005-01-05 19:08:59.768 Could not connect to LCDd: connection refused.
[New Thread 32769 (LWP 26103)]
[New Thread 16386 (LWP 26104)]
2005-01-05 19:09:00.731 Joystick disabled.
2005-01-05 19:09:00.775 Registering Internal as a media playback plugin.
[New Thread 32771 (LWP 26107)]
[New Thread 49156 (LWP 26108)]
2005-01-05 19:09:00.862 Registering MythDVD DVD Media Handler as a media handler
2005-01-05 19:09:00.863 Registering MythDVD VCD Media Handler as a media handler
2005-01-05 19:09:01.736 Registering MythMusic Media Handler as a media handler
Detaching after fork from child process 26109.
This is xine (X11 gui) - a free video player v0.99.2.
(c) 2000-2004 The xine Team.
2005-01-05 19:09:30.115 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-01-05 19:09:30.122 Using protocol version 14
2005-01-05 19:09:30.143 Using protocol version 14
2005-01-05 19:09:30.146 Using protocol version 14
Detaching after fork from child process 26166.
[New Thread 65540 (LWP 26227)]
2005-01-05 19:09:32.186 Initializing audio parms from stream #0.
2005-01-05 19:09:32.462 Opening audio device '/dev/dsp'.
2005-01-05 19:09:32.462 Opening OSS audio device '/dev/dsp'.
2005-01-05 19:09:32.471 Using XV port 107
2005-01-05 19:09:32.820 Realtime priority would require SUID as root.
2005-01-05 19:09:32.834 Changing from None to WatchingLiveTV
2005-01-05 19:09:32.953 Video timing method: USleep with busy wait
2005-01-05 19:09:37.028 Changing from WatchingLiveTV to None
2005-01-05 19:09:37.049 Changing from None to None
[New Thread 81925 (LWP 26230)]
[New Thread 98310 (LWP 26231)]
[New Thread 114695 (LWP 26232)]
[New Thread 131080 (LWP 26233)]
[New Thread 147465 (LWP 26238)]

Program received signal SIGINT, Interrupt.
[Switching to Thread 16386 (LWP 26104)]
0x413ef0c4 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 4 (Thread 32771 (LWP 26107)):
#0  0x413f2fdb in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x41639640 in __JCR_LIST__ () from /usr/local/lib/liblirc_client.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x41636031 in lirc_nextcode (code=0xbf5ffa1c) at lirc_client.c:1493
	packet_size = 100
	end_len = 0
	len = #0  0x413ef0c4 in __pthread_sigsuspend ()
   from /lib/libpthread.so.0
(gdb) quit
The program is running.  Exit anyway? (y or n) 
-------------- next part --------------
GNU gdb 6.1
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mythfrontend 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26442)]
2005-01-05 19:12:34.308 mythfrontend version: 0.16.20041224-1 www.mythtv.org
2005-01-05 19:12:34.308 Enabled verbose msgs : important general
2005-01-05 19:12:34.312 Could not connect to LCDd: connection refused.
[New Thread 32769 (LWP 26445)]
[New Thread 16386 (LWP 26446)]
2005-01-05 19:12:34.879 Joystick disabled.
2005-01-05 19:12:34.907 Registering Internal as a media playback plugin.
[New Thread 32771 (LWP 26449)]
[New Thread 49156 (LWP 26450)]
2005-01-05 19:12:34.935 Registering MythDVD DVD Media Handler as a media handler
2005-01-05 19:12:34.935 Registering MythDVD VCD Media Handler as a media handler
2005-01-05 19:12:35.550 Registering MythMusic Media Handler as a media handler
Detaching after fork from child process 26451.
This is xine (X11 gui) - a free video player v0.99.2.
(c) 2000-2004 The xine Team.
2005-01-05 19:13:25.395 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-01-05 19:13:25.401 Using protocol version 14
2005-01-05 19:13:25.422 Using protocol version 14
2005-01-05 19:13:25.425 Using protocol version 14
Detaching after fork from child process 26508.
[New Thread 65540 (LWP 26530)]
2005-01-05 19:13:27.568 Initializing audio parms from stream #0.
2005-01-05 19:13:27.793 Opening audio device '/dev/dsp'.
2005-01-05 19:13:27.794 Opening OSS audio device '/dev/dsp'.
2005-01-05 19:13:27.819 Using XV port 107
2005-01-05 19:13:28.251 Realtime priority would require SUID as root.
2005-01-05 19:13:28.271 Changing from None to WatchingLiveTV
2005-01-05 19:13:28.430 Video timing method: USleep with busy wait
[New Thread 81925 (LWP 26533)]
[New Thread 98310 (LWP 26534)]
[New Thread 114695 (LWP 26535)]
[New Thread 131080 (LWP 26536)]
[New Thread 147465 (LWP 26541)]

Program received signal SIGINT, Interrupt.
[Switching to Thread 98310 (LWP 26534)]
0x415d3301 in select () from /lib/libc.so.6
(gdb) runthread apply all bt full

Thread 11 (Thread 147465 (LWP 26541)):
#0  0x415a8496 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x415d3c0a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0x401ad626 in RunProgramGuide (startchannel=
      {static null = {static null = <same as static member of an already seen type>, d = 0x814c108, static shared_null = 0x814c108}, d = 0x89d4f20, static shared_null = 0x814c108}, thread=true, player=0x405622e0, allowsecondaryepg=true)
    at guidegrid.cpp:53
	chanstr = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x814c108, static shared_null = 0x814c108}, d = 0x814c108, 
  static shared_null = 0x814c108}
#4  0x4025ebd2 in TV::doLoadMenu (this=0x820a9e8) at tv_play.cpp:3126
	dummy = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x814c108, static shared_null = 0x814c108}, d = 0x814c108, 
  static shared_null = 0x814c108}
	channame = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x814c108, static shared_null = 0x814c108}, d = 0x89d4f20, 
  static shared_null = 0x814c108}
	fullscreen = #0  0x415d3301 in select () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) 
-------------- next part --------------
GNU gdb 6.1
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) yrun
Starting program: /usr/bin/mythfrontend 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26311)]
2005-01-05 19:11:18.572 mythfrontend version: 0.16.20041224-1 www.mythtv.org
2005-01-05 19:11:18.573 Enabled verbose msgs : important general
2005-01-05 19:11:18.577 Could not connect to LCDd: connection refused.
[New Thread 32769 (LWP 26314)]
[New Thread 16386 (LWP 26315)]
2005-01-05 19:11:19.105 Joystick disabled.
2005-01-05 19:11:19.129 Registering Internal as a media playback plugin.
[New Thread 32771 (LWP 26318)]
[New Thread 49156 (LWP 26319)]
2005-01-05 19:11:19.156 Registering MythDVD DVD Media Handler as a media handler
2005-01-05 19:11:19.157 Registering MythDVD VCD Media Handler as a media handler
2005-01-05 19:11:19.604 Registering MythMusic Media Handler as a media handler
Detaching after fork from child process 26320.
This is xine (X11 gui) - a free video player v0.99.2.
(c) 2000-2004 The xine Team.
2005-01-05 19:11:48.561 Default
2005-01-05 19:11:49.028 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-01-05 19:11:49.035 Using protocol version 14
2005-01-05 19:11:49.166 Using protocol version 14
Detaching after fork from child process 26377.

Program received signal SIGINT, Interrupt.
[Switching to Thread 32771 (LWP 26318)]
0x413f2fdb in read () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 4 (Thread 32771 (LWP 26318)):
#0  0x413f2fdb in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x41639640 in __JCR_LIST__ () from /usr/local/lib/liblirc_client.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x41636031 in lirc_nextcode (code=0xbf5ffa1c) at lirc_client.c:1493
	packet_size = 100
	end_len = 0
	len = (gdb) quit
The program is running.  Exit anyway? (y or n) 
-------------- next part --------------
GNU gdb 6.1
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mythfrontend 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 25949)]
2005-01-05 19:03:51.389 mythfrontend version: 0.16.20041224-1 www.mythtv.org
2005-01-05 19:03:51.389 Enabled verbose msgs : important general
2005-01-05 19:03:51.419 Could not connect to LCDd: connection refused.
[New Thread 32769 (LWP 25952)]
[New Thread 16386 (LWP 25953)]
2005-01-05 19:03:52.402 Joystick disabled.
2005-01-05 19:03:52.535 Registering Internal as a media playback plugin.
[New Thread 32771 (LWP 25956)]
[New Thread 49156 (LWP 25957)]
2005-01-05 19:03:52.683 Registering MythDVD DVD Media Handler as a media handler
2005-01-05 19:03:52.683 Registering MythDVD VCD Media Handler as a media handler
2005-01-05 19:03:53.465 Registering MythMusic Media Handler as a media handler
Detaching after fork from child process 25958.
This is xine (X11 gui) - a free video player v0.99.2.
(c) 2000-2004 The xine Team.
2005-01-05 19:08:06.277 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-01-05 19:08:06.340 Using protocol version 14
2005-01-05 19:08:06.396 Using protocol version 14
2005-01-05 19:08:06.405 Using protocol version 14
Detaching after fork from child process 26015.
[New Thread 65540 (LWP 26085)]
2005-01-05 19:08:08.835 Initializing audio parms from stream #0.
2005-01-05 19:08:09.061 Opening audio device '/dev/dsp'.
2005-01-05 19:08:09.064 Opening OSS audio device '/dev/dsp'.
2005-01-05 19:08:09.121 Using XV port 107
2005-01-05 19:08:09.574 Realtime priority would require SUID as root.
2005-01-05 19:08:09.592 Changing from None to WatchingLiveTV
2005-01-05 19:08:09.960 Video timing method: USleep with busy wait
[New Thread 81925 (LWP 26088)]
[New Thread 98310 (LWP 26089)]
[New Thread 114695 (LWP 26090)]
[New Thread 131080 (LWP 26091)]
[New Thread 147465 (LWP 26096)]

Program received signal SIGINT, Interrupt.
[Switching to Thread 98310 (LWP 26089)]
0x415d3301 in select () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 11 (Thread 147465 (LWP 26096)):
#0  0x415a8496 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x415d3c0a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0x401ad626 in RunProgramGuide (startchannel=
      {static null = {static null = <same as static member of an already seen type>, d = 0x814c108, static shared_null = 0x814c108}, d = 0x824c330, static shared_null = 0x814c108}, thread=true, player=0x405622e0, allowsecondaryepg=true)
    at guidegrid.cpp:53
	chanstr = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x814c108, static shared_null = 0x814c108}, d = 0x814c108, 
  static shared_null = 0x814c108}
#4  0x4025ebd2 in TV::doLoadMenu (this=0x82479f0) at tv_play.cpp:3126
	dummy = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x814c108, static shared_null = 0x814c108}, d = 0x814c108, 
  static shared_null = 0x814c108}
	channame = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x814c108, static shared_null = 0x814c108}, d = 0x824c330, 
  static shared_null = 0x814c108}
	fullscreen = #0  0x415d3301 in select () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) 


More information about the mythtv-dev mailing list