[mythtv] Backend process dies at 4GB file limit? - with backtrace as requested.

Buzz buzz at oska.com
Thu Jan 19 06:44:31 UTC 2006


Isaac/Others,

Last 4 lines of 'mythbackend -v all' followed by backtrace:
-----------------------
2006-01-19 16:35:20.575 MSqlQuery: INSERT INTO recordedmarkup (chanid,
starttime, mark, type, offset) VALUES ( '1007' , '2006-01-19T15:15:00' ,
'119754' , 9 , '4289249140' );
2006-01-19 16:35:20.576 MSqlQuery: INSERT INTO recordedmarkup (chanid,
starttime, mark, type, offset) VALUES ( '1007' , '2006-01-19T15:15:00' ,
'119772' , 9 , '4289895672' );
2006-01-19 16:35:20.577 MSqlQuery: INSERT INTO recordedmarkup (chanid,
starttime, mark, type, offset) VALUES ( '1007' , '2006-01-19T15:15:00' ,
'119790' , 9 , '4290548972' );
2006-01-19 16:35:25.630 TFW: safe_write(): funky usleep

Program received signal SIGXFSZ, File size limit exceeded.
[Switching to Thread -1336443984 (LWP 2872)]
0x00b8e402 in __kernel_vsyscall ()
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) bt
#0  0x00b8e402 in __kernel_vsyscall ()
#1  0x007540bb in __write_nocancel () from /lib/libpthread.so.0
#2  0x00e93412 in safe_write (fd=20, data=0xaee70d90, sz=12920)
    at ThreadedFileWriter.cpp:57
#3  0x00e950a1 in ThreadedFileWriter::DiskLoop (this=0x89b69d0)
    at ThreadedFileWriter.cpp:367
#4  0x00e951a5 in ThreadedFileWriter::boot_writer (wotsit=0x89b69d0)
    at ThreadedFileWriter.cpp:93
#5  0x0074fb80 in start_thread () from /lib/libpthread.so.0
#6  0x02d969ce in clone () from /lib/libc.so.6
-----------------------

All of backend log is available on request, and gdb is still sitting there
(for a few hours anyway), incase you want me to do anything else with it.
:-)   I'm a novice with GDB, so be gentle with me. (I don't know anything
more than how to do 'run','c' and 'bt'.)


Buzz.


> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org 
> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Isaac Richards
> Sent: Thursday, 19 January 2006 2:30 PM
> To: Development of mythtv
> Subject: Re: [mythtv] Backend process dies at 4GB file limit?
> 
> On Wednesday 18 January 2006 22:30, Buzz wrote:
> > Are you interested in this scenario:
> >
> > Backend saves files to FAT32 partition.
> > Backend tries to exceed 4GB (or there abouts) while unattended.
> > Backend dies with error "File size limit exceeded" emitted by OS.
> >
> >
> > Backend's last message prior to dying was:
> > "TFW: safe_swite() funky usleep"
> > (message comes from ThreadedFileWriter.cpp )
> >
> >
> > Buzz.
> >
> > P.S. Before you tell me "FAT32 is a bad, naughty, 
> unsupported filesystem"..
> > tell me another filesystem that works under both MS Windows 
> and linux, 
> > reliably, and I'll happily change (I'm waiting in anticipation of 
> > native
> > ext2/3 windows drivers or NTFS write support in the kernel - it's a 
> > long
> > wait)
> 
> Backtrace?  I'm not going to want to add code specifically to 
> handle fat32, but certainly dying is bad.
> 
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 




More information about the mythtv-dev mailing list