[mythtv-commits] Ticket #3167: MythArchive: machine hangs/crashes if working directory contains a trailing "/" character

MythTV mythtv at cvs.mythtv.org
Tue Mar 6 10:48:10 UTC 2007


#3167: MythArchive:  machine hangs/crashes if working directory contains a
trailing "/" character
----------------------------------------+-----------------------------------
 Reporter:  briand <turbo at talstar.com>  |        Owner:  paulh  
     Type:  defect                      |       Status:  new    
 Priority:  major                       |    Milestone:  unknown
Component:  mytharchive                 |      Version:  head   
 Severity:  high                        |   Resolution:         
----------------------------------------+-----------------------------------

Comment(by paulh):

 It's hard to see how a double '/' in a path would cause the problems you
 have been having. Adding a extra '/' on the end of the temp path has no
 effect for me.

 I just happened to be looking though the mythtv users irc transcripts and
 came across your conversation with squish102 about this problem. What is
 strange about the log extract you posted on pastebin is it looks like it
 was the second file that failed and also I just don't see any path through
 the code in question can produce that log in normal operation so I suspect
 that some sort of stack corruption is taking place somewhere. I think the
 most likely explanation is that the file is corrupt and the avcodec
 library is choking on the file.

 What version of compiler are you using. There may be a problem with using
 gcc v3.x with libavcodec which complains about the compiler not aligning
 stack variables. Not sure how big a problem this is I see that warning all
 the time and it doesn't seem to affect anything but may be something to
 try.

 In any case I will fix the double '/' in the temp work directory path.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3167#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list