[mythtv] Frontend hang - back traces attached

Alan Snyder ax763 at yahoo.com
Sun Dec 7 21:06:12 EST 2003


--- bobnvic at everestkc.net wrote:
> I've had the frontend hang about once a day for the
> last couple months, with "Waited 2 seconds for data
> to become available, waiting again..." over and over
> in the log. I restart mythfrontend and everything's
> fine for a while.  This has occurred while running
> .11 and several cvs installs since, though primarily
> in LiveTV.  I've seen this mentioned on the mailing
> list several times, with backtraces given a couple
> times, but I've never seen any resolution.  I just
> installed the latest cvs last night (Dec 6th) and
> ran it with gdb.  Here are the backtraces for the
> frontend and backend.  I would appreciate any help
> you can give.  My wife likes MythTV, but the hangs
> are definitely putting a damper on her appreciation.
>  
> 
Exactly the same thing here.  As I said in another
thread today, this has been happening since 0.11 and
with every CVS I've tried (in general every couple of
weeks).  It also happens with Knoppmyth v4 (which is
0.12) playing from my backend.  The attached traces
and frontend console output are from CVS from 12/6. 
The backend continues to run just fine and says
nothing of interest in its log.  But I suspect a
backend problem because of the Knoppmyth hangs.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-------------- next part --------------
Program received signal SIGINT, Interrupt.
[Switching to Thread 327701 (LWP 19025)]
0x40bcfbe6 in nanosleep () from /lib/i686/libc.so.6
(gdb) thread apply all bt full

Thread 22 (Thread 327701 (LWP 19025)):
#0  0x40bcfbe6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 21 (Thread 311316 (LWP 19024)):
#0  0x40a0074b in write () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4019e96c in __JCR_LIST__ () from /usr/local/lib/libmyth-0.13.so.0
No symbol table info available.
#2  0x40141728 in AudioOutputOSS::OutputAudioLoop() (this=0x88f8ba8) at audiooutputoss.cpp:504
        bytesperframe = 4268
        space_on_soundcard = 1608
        zeros = '\0' <repeats 1023 times>
#3  0x40141982 in AudioOutputOSS::kickoffOutputAudioLoop(void*) (player=0x88f8ba8) at audiooutputoss.cpp:585
No locals.
#4  0x409fb811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x409fb915 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 20 (Thread 294931 (LWP 19023)):
#0  0x40bcfbe6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 19 (Thread 278546 (LWP 19022)):
#0  0x40a00fd6 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x409fa079 in pthread_cond_timedwait_relative () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 18 (Thread 262161 (LWP 19017)):
#0  0x40bcfbe6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#2  0x081906e4 in TV::RunTV() (this=0x8642110) at tv_play.cpp:832
        keypressed = (QKeyEvent *) 0x0
        updatecheck = 17
#3  0x081904ad in TV::EventThread(void*) (param=0x8642110) at tv_play.cpp:800
        thetv = (class TV *) 0x8642110
#4  0x409fb811 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x409fb915 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 3425)):
#0  0x40bf7537 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x409fa96e in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409fabbb in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 3422)):
#0  0x40bcfbe6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x0807293e in startTV() () at main.cpp:190
        db = (struct QSqlDatabase *) 0x85ea158
        tv = (class TV *) 0x8642110
        timeout = {d = {jd = 2452981}, t = {ds = 66780644}}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#3  0x0807348f in TVMenuCallback(void*, QString&) (data=0x85dc178, selection=@0x8642e9c) at main.cpp:279
        sel = {static null = {static null = <same as static member of an already seen type>, d = 0x85456c0,
    static shared_null = 0x85456c0}, d = 0x863f020, static shared_null = 0x85456c0}
#4  0x400e011e in ThemedMenu::handleAction(QString&) (this=0x8642cf0, action=@0x864133c)
    at themedmenu.cpp:1864
No locals.
#5  0x400de8ef in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x8642cf0, e=0xbffff330) at themedmenu.cpp:1694
        action = {static null = {static null = <same as static member of an already seen type>,
    d = 0x85456c0, static shared_null = 0x85456c0}, d = 0x86202b0, static shared_null = 0x85456c0}
        i = 0
        lastbutton = (ThemedButton *) 0x8641300
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x86281b0}, <No data fields>}
#0  0x40bcfbe6 in nanosleep () from /lib/i686/libc.so.6
(gdb)
-------------- next part --------------
2003-12-06 23:01:53 Enabled verbose msgs : important general
Found 2 Xinerama Screens.
Using first Xinerama screen, 800x600+0+0
2003-12-06 23:02:04 Connecting to backend server: 192.168.123.107:6543 (try 1 of 1
2003-12-06 23:02:08 Opening OSS audio device '/dev/dsp'.
Found 2 Xinerama Screens.
Using first Xinerama screen, 800x600+0+0
2003-12-06 23:02:08 Using XV port 106
2003-12-06 23:02:09 Changing from None to WatchingLiveTV
2003-12-07 05:02:54 prebuffering pause
2003-12-07 05:03:08 prebuffering pause
2003-12-07 09:05:58 prebuffering pause
2003-12-07 09:06:04 prebuffering pause
2003-12-07 09:06:26 prebuffering pause
2003-12-07 09:06:38 prebuffering pause
2003-12-07 09:06:42 prebuffering pause
2003-12-07 09:21:15 prebuffering pause
2003-12-07 09:21:18 prebuffering pause
2003-12-07 16:49:35 Changing from WatchingLiveTV to None
2003-12-07 16:49:35 Changing from None to None
2003-12-07 16:49:39 Opening OSS audio device '/dev/dsp'.
Found 2 Xinerama Screens.
Using first Xinerama screen, 800x600+0+0
2003-12-07 16:49:40 Using XV port 106
2003-12-07 16:49:41 Changing from None to WatchingLiveTV
2003-12-07 16:49:42 Changing from WatchingLiveTV to None
2003-12-07 16:49:42 Changing from None to None
2003-12-07 16:49:51 Opening OSS audio device '/dev/dsp'.
Found 2 Xinerama Screens.
Using first Xinerama screen, 800x600+0+0
2003-12-07 16:49:52 Using XV port 106
2003-12-07 16:49:52 Changing from None to WatchingPreRecorded
2003-12-07 17:11:55 Changing from WatchingPreRecorded to None
2003-12-07 17:11:55 Changing from None to None
2003-12-07 18:32:59 Opening OSS audio device '/dev/dsp'.
Found 2 Xinerama Screens.
Using first Xinerama screen, 800x600+0+0
2003-12-07 18:32:59 Using XV port 106
2003-12-07 18:33:00 Changing from None to WatchingLiveTV
2003-12-07 20:22:44 prebuffering pause
2003-12-07 20:30:41 prebuffering pause
2003-12-07 20:30:44 ReadStringList timeout (quick).
2003-12-07 20:30:45 Error writing stringlist
-------------- next part --------------
Waited 2 seconds for data to become available, waiting again...
QSocketDevice::writeBlock: Invalid socket
Waited 2 seconds for data to become available, waiting again...
Waited 2 seconds for data to become available, waiting again...
(and so on every 2 seconds)


More information about the mythtv-dev mailing list