Re: [mythtv-users] Frequent crashing with 0.18.1 - backtrace attached

2005-06-27 Thread David Muench
  On 6/26/05, Isaac Richards [EMAIL PROTECTED] wrote:
   Try using the release-0-18-fixes branch, I believe that this particular
   bug's been fixed there.  Instructions on cvs.mythtv.org on how to access
   the branch.  If that doesn't work, I'd try again with the main branch -
   things were fixed slightly differently there.

It looks like that fixed it for me, so far it's rock solid (knock on wood).

Thanks very much.

Dave

-- 
David Muench - [EMAIL PROTECTED]
Jabber ID: [EMAIL PROTECTED]
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Frequent crashing with 0.18.1 - backtrace attached

2005-06-26 Thread David Muench
Hi all,

I've been using mythtv since about version 0.8 and recently my system
became unstable in a way that's never happened before. I'm using 3
PVR-250 cards (and have been without issues for more than a year). The
crashes usually happen when more than one recording is going on (or
livetv + a recording) and I stop a recording (delete an in-progress
recording), or exit live-tv. But that's not the complete pattern,
sometimes deleting an old recording while something else is being
recorded can cause the backend to crash. Today it crashed while no
recordings were happening but right after finishing downloading the
listings.

The change that it seems most linked to was that I moved the
mythconverg DB from the same machine as the backend to another machine
on the local network. I'm not having any mysql problems that I can
find (either on the mythbackend client or the new server), but it
started happening right about then.

I captured a backtrace today - I was recording on one tuner, and I
cancelled/deleted that recording from the mythfrontend gui (frontends
are on separate machines). Nothing else was going on that I know of.
This is a debug build of the backend.

Any ideas? I am going to try to move the database back to the local
machine later today to see if that makes any difference.

Thanks,
Dave

[EMAIL PROTECTED] mythtv $ gdb /usr/bin/mythbackend
GNU gdb 6.3
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 i686-pc-linux-gnu...Using host
libthread_db library /lib/libthread_db.so.1.

(gdb) set args --logfile /var/log/mythtv/mythbackend.log
(gdb) run
Starting program: /usr/bin/mythbackend --logfile
/var/log/mythtv/mythbackend.log[Thread debugging using libthread_db
enabled]
[New Thread 16384 (LWP 9253)]
[New Thread 32769 (LWP 9258)]
[New Thread 16386 (LWP 9259)]
[New Thread 32771 (LWP 9261)]
[New Thread 49156 (LWP 9263)]
[New Thread 65541 (LWP 9264)]
[New Thread 81926 (LWP 9265)]
[New Thread 98311 (LWP 9266)]
[New Thread 114696 (LWP 9267)]
[New Thread 131081 (LWP 9270)]
[New Thread 147466 (LWP 9271)]
[New Thread 163851 (LWP 9272)]
[New Thread 180236 (LWP 9273)]
[New Thread 196621 (LWP 9274)]
[New Thread 213006 (LWP 9276)]
[New Thread 229391 (LWP 9279)]
[New Thread 245776 (LWP 9287)]
[Thread 245776 (LWP 9287) exited]
[New Thread 262160 (LWP 9288)]
[Thread 262160 (LWP 9288) exited]
[New Thread 278544 (LWP 9309)]
[Thread 278544 (LWP 9309) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 9253)]
0xb708138c in QMutex::lock () from /usr/qt/3/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 16 (Thread 229391 (LWP 9279)):
#0  0xb6b242cb in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb7f395ec in ?? () from /usr/lib/libmythtv-0.18.1.so.0
No symbol table info available.
#2  0x in ?? ()
No symbol table info available.
#3  0xb7e67548 in MpegRecorder::StartRecording (this=0x81f28a8)
at mpegrecorder.cpp:439
buffer = (unsigned char *) 0x811a6f0 '\u' repeats 64 times
ret = 12288
elapsedTimer = {ds = 0}
elapsed = 0
#4  0xb7e1adaa in SpawnEncode (param=0x81f28a8) at tv_rec.cpp:48
nvr = (class RecorderBase *) 0x81f28a8
#5  0xb6b1e18e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb6b1e332 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb69d0fea in clone () from /lib/libc.so.6
No symbol table info available.

---Type return to continue, or q return to quit---
Thread 15 (Thread 213006 (LWP 9276)):
#0  0xb69a2076 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x in ?? ()
No symbol table info available.
#2  0xb69cb16a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0xb7cbe86f in ThreadedFileWriter::DiskLoop (this=0x81b9a08)
at RingBuffer.cpp:276
size = 208896
written = 266176
timer = {ds = 42928368}
#4  0xb7cbde49 in ThreadedFileWriter::boot_writer (wotsit=0x81b9a08)
at RingBuffer.cpp:120
fw = (ThreadedFileWriter *) 0x81b9a08
#5  0xb6b1e18e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0xb6b1e332 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb69d0fea in clone () from /lib/libc.so.6
No symbol table info available.

Thread 14 (Thread 196621 (LWP 9274)):
---Type return to continue, or q return to quit---
#0  0xb69a2076 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x0001 in ?? ()
No symbol table info available.
#2  0xb69cb16a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0xb7e1d140 in 

Re: [mythtv-users] Frequent crashing with 0.18.1 - backtrace attached

2005-06-26 Thread Isaac Richards
On Sunday 26 June 2005 01:26 pm, David Muench wrote:
 I captured a backtrace today - I was recording on one tuner, and I
 cancelled/deleted that recording from the mythfrontend gui (frontends
 are on separate machines). Nothing else was going on that I know of.
 This is a debug build of the backend.

Try using the release-0-18-fixes branch, I believe that this particular bug's 
been fixed there.  Instructions on cvs.mythtv.org on how to access the 
branch.  If that doesn't work, I'd try again with the main branch - things 
were fixed slightly differently there.

Isaac
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Frequent crashing with 0.18.1 - backtrace attached

2005-06-26 Thread David Muench
On 6/26/05, Isaac Richards [EMAIL PROTECTED] wrote:

 Try using the release-0-18-fixes branch, I believe that this particular bug's
 been fixed there.  Instructions on cvs.mythtv.org on how to access the
 branch.  If that doesn't work, I'd try again with the main branch - things
 were fixed slightly differently there.

Thanks, I will give that a shot. Can I try the fixes branch on my
backend without upgrading my frontends (they're 0.18.1), or were there
changes that make them incompatible?

Dave

-- 
David Muench - [EMAIL PROTECTED]
Jabber ID: [EMAIL PROTECTED]
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Frequent crashing with 0.18.1 - backtrace attached

2005-06-26 Thread Isaac Richards
On Sunday 26 June 2005 03:02 pm, David Muench wrote:
 On 6/26/05, Isaac Richards [EMAIL PROTECTED] wrote:
  Try using the release-0-18-fixes branch, I believe that this particular
  bug's been fixed there.  Instructions on cvs.mythtv.org on how to access
  the branch.  If that doesn't work, I'd try again with the main branch -
  things were fixed slightly differently there.

 Thanks, I will give that a shot. Can I try the fixes branch on my
 backend without upgrading my frontends (they're 0.18.1), or were there
 changes that make them incompatible?

Quite possibly, I'm not sure if there've been any incompatible changes on the 
fixes branch or not.  I don't _think_ there have been, though.

Isaac
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users