[mythtv-users] MythArchive requires root?

Frank Riley fhriley at yahoo.com
Sat Nov 25 19:33:29 UTC 2006


On Nov 25, 2006, at 9:08 AM, Paul Harrison wrote:

> Frank Riley wrote:
>> On Nov 25, 2006, at 12:34 AM, Frank Riley wrote:
>>
>>
>>> Hello, I recently switched from running mythfrontend as root to
>>> running as mythtv. Now when I go into the "Import Files" option of
>>> MythArchive, mythfrontend seg faults. If I switch back to  
>>> starting up
>>> mythfrontend as root, it runs fine. The MythArchive working dirs are
>>> all owned by mythtv. Any ideas why it won't run under mythtv user?
>>>
>>
>> So I found the culprit, but I still don't know why it's doing it.
>>  From strace:
>>
>> access("/", F_OK)                       = 0
>> lstat64("/", {st_mode=S_IFDIR|S_ISVTX|0341, st_size=4096, ...}) = 0
>> open("/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES
>> (Permission denied)
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>
>> Why would it be trying to access the root dir of my drive?
>>
>>
> The "Find Archive Files" allow you to navigate though your file system
> to look for archived files to import. It always starts from the '/'
> directory and uses QT to get the file list so no ideal why its  
> failing.
> A BT would be useful so MythArchive could at least be made to not
> segfault assuming it is something in MythArchive and not in QT that  
> is.
>
> By the way what version are you using. You are aware that there was a
> nasty bug in earlier versions of the native inport/export stuff in
> MythArchive?
> http://www.gossamer-threads.com/lists/mythtv/users/224380#224380

Thanks Paul. Attached is the stack trace. Please let me know if you  
find anything or need any more info.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb.txt
Url: http://mythtv.org/pipermail/mythtv-users/attachments/20061125/b3827906/attachment.txt 


More information about the mythtv-users mailing list