Re: dvdauthor 0.7.0 - segment fault

Andrew Z <[email protected]> Sat, 18 Aug 2012 23:23:03 -0400
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <CAPrcKXJqN1SoO4280GF1VNi68Bq3Se=s8TtGGSWPCnrurX0EyQ@mail.gmail.com>
I'm still stuck with this problem.
it seemed to be 100% reproducible regardless of the installation source (
one repo or another).
For example :
Aug 18 23:06:47 server yum[28730]: Installed: dvdauthor-0.7.0-1.el6.x86_64
Aug 18 23:07:20 server kernel: dvdauthor[28733]: segfault at 0 ip
00000000004049f5 sp 00007fffa6c20700 error 4 in dvdauthor[400000+26000]

Installed Packages
Name        : dvdauthor
Arch        : x86_64
Version     : 0.7.0
Release     : 1.el6
Size        : 474 k
Repo        : installed
>From repo   : linuxtech-release
Summary     : DVD Authoring Tools
URL         : http://dvdauthor.sourceforge.net/

and the loooong trace:

dvdauthor -o dvd_ready -m out.mpg
DVDAuthor::dvdauthor, version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>

INFO: default video format is NTSC
INFO: dvdauthor creating VTS
Segmentation fault

[az@server Movies]$ strace dvdauthor -o dvd_ready -m out.mpg
execve("/usr/bin/dvdauthor", ["dvdauthor", "-o", "dvd_ready", "-m",
"out.mpg"], [/* 42 vars */]) = 0
brk(0)                                  = 0x1e07000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6de000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/usr/local/cuda/livb64/tls/x86_64/libxml2.so.2", O_RDONLY) = -1
ENOENT (No such file or directory)
stat("/usr/local/cuda/livb64/tls/x86_64", 0x7fff302c52a0) = -1 ENOENT (No
such file or directory)
open("/usr/local/cuda/livb64/tls/libxml2.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat("/usr/local/cuda/livb64/tls", 0x7fff302c52a0) = -1 ENOENT (No such
file or directory)
open("/usr/local/cuda/livb64/x86_64/libxml2.so.2", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat("/usr/local/cuda/livb64/x86_64", 0x7fff302c52a0) = -1 ENOENT (No such
file or directory)
open("/usr/local/cuda/livb64/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat("/usr/local/cuda/livb64", 0x7fff302c52a0) = -1 ENOENT (No such file or
directory)
open("tls/x86_64/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("tls/libxml2.so.2", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("x86_64/libxml2.so.2", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("libxml2.so.2", O_RDONLY)          = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=72658, ...}) = 0
mmap(NULL, 72658, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6c1f6cc000
close(3)                                = 0
open("/usr/lib64/libxml2.so.2", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\306\2\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1376704, ...}) = 0
mmap(NULL, 3477176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f6c1f16f000
mprotect(0x7f6c1f2b6000, 2093056, PROT_NONE) = 0
mmap(0x7f6c1f4b5000, 40960, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x146000) = 0x7f6c1f4b5000
mmap(0x7f6c1f4bf000, 3768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6c1f4bf000
close(3)                                = 0
open("tls/x86_64/libz.so.1", O_RDONLY)  = -1 ENOENT (No such file or
directory)
open("tls/libz.so.1", O_RDONLY)         = -1 ENOENT (No such file or
directory)
open("x86_64/libz.so.1", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("libz.so.1", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/lib64/libz.so.1", O_RDONLY)      = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\37\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88520, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6cb000
mmap(NULL, 2183696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f6c1ef59000
mprotect(0x7f6c1ef6e000, 2093056, PROT_NONE) = 0
mmap(0x7f6c1f16d000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f6c1f16d000
close(3)                                = 0
open("tls/x86_64/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or
directory)
open("tls/libm.so.6", O_RDONLY)         = -1 ENOENT (No such file or
directory)
open("x86_64/libm.so.6", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("libm.so.6", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/lib64/libm.so.6", O_RDONLY)      = 3
read(3,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240>\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=595800, ...}) = 0
mmap(NULL, 2633944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f6c1ecd5000
mprotect(0x7f6c1ed58000, 2093056, PROT_NONE) = 0
mmap(0x7f6c1ef57000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x7f6c1ef57000
close(3)                                = 0
open("tls/x86_64/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or
directory)
open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or
directory)
open("x86_64/libc.so.6", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\355\1\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1912432, ...}) = 0
mmap(NULL, 3741864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f6c1e943000
mprotect(0x7f6c1eacc000, 2093056, PROT_NONE) = 0
mmap(0x7f6c1eccb000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x188000) = 0x7f6c1eccb000
mmap(0x7f6c1ecd0000, 18600, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6c1ecd0000
close(3)                                = 0
open("tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or
directory)
open("x86_64/libdl.so.2", O_RDONLY)     = -1 ENOENT (No such file or
directory)
open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or
directory)
open("/lib64/libdl.so.2", O_RDONLY)     = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19536, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6ca000
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f6c1e73f000
mprotect(0x7f6c1e741000, 2097152, PROT_NONE) = 0
mmap(0x7f6c1e941000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f6c1e941000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6c9000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6c8000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6c7000
arch_prctl(ARCH_SET_FS, 0x7f6c1f6c8700) = 0
mprotect(0x7f6c1e941000, 4096, PROT_READ) = 0
mprotect(0x7f6c1eccb000, 16384, PROT_READ) = 0
mprotect(0x7f6c1ef57000, 4096, PROT_READ) = 0
mprotect(0x7f6c1f16d000, 4096, PROT_READ) = 0
mprotect(0x7f6c1f6df000, 4096, PROT_READ) = 0
munmap(0x7f6c1f6cc000, 72658)           = 0
brk(0)                                  = 0x1e07000
brk(0x1e28000)                          = 0x1e28000
stat("/home/az/.config/video_format", {st_mode=S_IFREG|0664, st_size=5,
...}) = 0
open("/home/az/.config/video_format", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=5, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f6c1f6dd000
read(3, "NTSC\n", 4096)                 = 5
close(3)                                = 0
munmap(0x7f6c1f6dd000, 4096)            = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6c188ae000
close(3)                                = 0
write(2, "DVDAuthor::dvdauthor, version 0."..., 169DVDAuthor::dvdauthor,
version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>

) = 169
write(2, "INFO: default video format is NT"..., 35INFO: default video
format is NTSC
) = 35
write(2, "INFO: dvdauthor creating VTS\n", 29INFO: dvdauthor creating VTS
) = 29
mkdir("dvd_ready", 0777)                = -1 EEXIST (File exists)
mkdir("dvd_ready/VIDEO_TS", 0777)       = -1 EEXIST (File exists)
mkdir("dvd_ready/AUDIO_TS", 0777)       = -1 EEXIST (File exists)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
------------------------------------ END
-------------------------------------



On Sun, Jun 17, 2012 at 10:21 PM, Andrew Z <[email protected]> wrote:

> On Thu, 14 Jun 2012 22:37:23 -0400, Andrew Z wrote:
>
> > mkdir("dvd_ready", 0777)                = -1 EEXIST (File exists)
> > mkdir("dvd_ready/VIDEO_TS", 0777)       = -1 EEXIST (File exists)
> > mkdir("dvd_ready/AUDIO_TS", 0777)       = -1 EEXIST (File exists)
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> > Segmentation fault
> > [/code]
>
> Are you able to get a backtrace at all, using GDB?
>
> Lawrence,
>  just saw your email.
> Here is the complete session:
> gdb dvdauthor
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/dvdauthor...(no debugging symbols
> found)...done.
> Missing separate debuginfos, use: debuginfo-install
> dvdauthor-0.7.0-6.el6.x86_64
> (gdb) set args -o dvd_ready -m ./out.mpg
> (gdb) run
> Starting program: /usr/bin/dvdauthor -o dvd_ready -m ./out.mpg
>
> DVDAuthor::dvdauthor, version 0.7.0.
> Build options: gnugetopt iconv freetype fribidi fontconfig
> Send bug reports to <dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>
> INFO: default video format is NTSC
> INFO: dvdauthor creating VTS
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000004049d5 in ?? ()
> (gdb) backtrace
> #0  0x00000000004049d5 in ?? ()
> #1  0x0000000000415656 in ?? ()
> #2  0x00007ffff771acdd in __libc_start_main () from /lib64/libc.so.6
> #3  0x0000000000401e29 in ?? ()
> #4  0x00007fffffffe338 in ?? ()
> #5  0x000000000000001c in ?? ()
> #6  0x0000000000000005 in ?? ()
> #7  0x00007fffffffe622 in ?? ()
> #8  0x00007fffffffe635 in ?? ()
> #9  0x00007fffffffe638 in ?? ()
> #10 0x00007fffffffe642 in ?? ()
> #11 0x00007fffffffe645 in ?? ()
> #12 0x0000000000000000 in ?? ()
> (gdb)
>
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users