Markos Gogoulos | 1 Aug 2010 21:17
Picon

dvdauthor segmentation fault on Ubuntu 10.04

Hi all,

dvdauthor segfaults on Ubuntu 10.04 (version 0.6.14 from package, but also 0.6.18 from source).

DVDAuthor::dvdauthor, version 0.6.14.
Build options: gnugetopt magick iconv freetype

user <at> user:~/Desktop$ dvdauthor -t -o dvd/ -t testing/arxeio.mpg
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...

... (after 000's WARNS)...

WARN: Partial sector read (808 bytes); discarding data.
STAT: VOBU 0 at 0MB, 1 PGCS
Segmentation fault


The same happens when I install dvdauthor 0.6.18 from source. It compiles but at the end segfaults when run.

Any ideas?
Best regards,
Markos Gogoulos


--
https://unweb.me
state of the art information systems

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Roger Ivie | 1 Aug 2010 21:44
Favicon

Re: dvdauthor segmentation fault on Ubuntu 10.04

On Sun, 1 Aug 2010, Markos Gogoulos wrote:
> dvdauthor segfaults on Ubuntu 10.04 (version 0.6.14 from package, but also
> 0.6.18 from source).
>
> user <at> user:~/Desktop$ dvdauthor -t -o dvd/ -t testing/arxeio.mpg
> WARN: Skipping sector, waiting for first VOBU...
> ... (after 000's WARNS)...
> Segmentation fault

Don't know about the segfault, but it looks the video isn't an MPEG-2
video suitable for DVD. Looks to me like dvdauthor ran through the 
entire video without finding a VOBU and, rather than giving up, tried 
to use a pointer to a non-existent VOBU.

You need to figure out how to get your video in the proper format.
--

-- 
roger ivie
rivie@...

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Lawrence D'Oliveiro | 2 Aug 2010 02:27
Picon

Re: dvdauthor segmentation fault on Ubuntu 10.04

On 02/08/10 07:44, Roger Ivie wrote:

> Looks to me like dvdauthor ran through the entire video without
> finding a VOBU and, rather than giving up, tried to use a pointer
> to a non-existent VOBU.

I just recently put in a patch to check for a zero-length VOBU array, 
and print out an error and exit rather than segfaulting.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Markos Gogoulos | 2 Aug 2010 02:33
Picon

Re: dvdauthor segmentation fault on Ubuntu 10.04

Indeed the problem has to do with the files provided.

Thanks a lot for the replies!


 

On Sun, Aug 1, 2010 at 10:44 PM, Roger Ivie <rivie-x93uDK75UCDk1uMJSBkQmQ@public.gmane.org> wrote:
On Sun, 1 Aug 2010, Markos Gogoulos wrote:
> dvdauthor segfaults on Ubuntu 10.04 (version 0.6.14 from package, but also
> 0.6.18 from source).
>
> user <at> user:~/Desktop$ dvdauthor -t -o dvd/ -t testing/arxeio.mpg
> WARN: Skipping sector, waiting for first VOBU...
> ... (after 000's WARNS)...
> Segmentation fault

Don't know about the segfault, but it looks the video isn't an MPEG-2
video suitable for DVD. Looks to me like dvdauthor ran through the
entire video without finding a VOBU and, rather than giving up, tried
to use a pointer to a non-existent VOBU.

You need to figure out how to get your video in the proper format.
--
roger ivie
rivie-x93uDK75UCDk1uMJSBkQmQ@public.gmane.org

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users



--
https://unweb.me
state of the art information systems
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Elio Blanca | 3 Aug 2010 01:13
Picon

dvdunauthor, unexpected exit

I just launched dvdunauthor on a video dvd but it seems it stopped too early and it didn't create 
the file `dvdauthor.xml'. Here's its output:

$ dvdunauthor /media/ROADTOPERDITION_PAL_ITALY
DVDAuthor::dvdunauthor, version 0.6.18+.
Build options: gnugetopt imagemagick iconv freetype fontconfig
Send bug reports to <dvdauthor-users@...>

libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/sr0 mounted on /media/ROADTOPERDITION_PAL_ITALY for CSS 
authentication

INFO: VMGM

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000143
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000216
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000c28
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0025863b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00258659
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0025b2ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0025b30a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0025b322
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0025b340
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00265322
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00265348
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0026536e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00265394
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x002653ba
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x002653e0
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
STAT: [1] VOB 2, Cell 1 (18%)

INFO: VTSM 1/10
STAT: [4] VOB 3, Cell 3 (18%)
ERR:  Error 17 reading data: File exists
STAT: [22] VOB 11, Cell 2 (91%)

INFO: VTS 1/10
STAT: [39] VOB 2, Cell 14 (100%, 0:00 remain)

INFO: VTSM 2/10
STAT: [4] VOB 1, Cell 5 (80%)

INFO: VTS 2/10
STAT: [1] VOB 2, Cell 1 (100%, 0:00 remain)

INFO: VTSM 3/10
STAT: [4] VOB 1, Cell 5 (80%)

INFO: VTS 3/10
STAT: [0] VOB 1, Cell 1 (0%)

INFO: VTSM 4/10
STAT: [4] VOB 1, Cell 5 (80%)

INFO: VTS 4/10
STAT: [1] VOB 2, Cell 1 (100%, 0:00 remain)

INFO: VTSM 5/10
$

It seems libdvdread detected 10 titlesets, didn't it?
But the process copied just 5 titlesets and no dvdauthor.xml was created, why?

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Lawrence D'Oliveiro | 3 Aug 2010 06:06
Picon

Re: dvdunauthor, unexpected exit

On 03/08/10 11:13, Elio Blanca wrote:

> INFO: VTSM 5/10
> $
>
> It seems libdvdread detected 10 titlesets, didn't it?

Yup.

> But the process copied just 5 titlesets and no dvdauthor.xml was created, why?

I’m inclined to blame libdvdread. (Or is that libdvdnav? I’m not sure 
what the relationship is between the two...) If you look at the source, 
it is full of direct printf calls to display errors, and also abort 
calls to kill the program, instead of returning error codes to the caller.

My guess is, you hit one of those abort calls.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Lawrence D'Oliveiro | 4 Aug 2010 03:54
Picon

Re: dvdunauthor, unexpected exit

On 03/08/10 11:13, Elio Blanca wrote:

> $ dvdunauthor /media/ROADTOPERDITION_PAL_ITALY

Are you able to run this under gdb:

     gdb dvdunauthor
     (gdb) set args /media/ROADTOPERDITION_PAL_ITALY
     (gdb) break exit
     (gdb) break abort
     (gdb) run

Then when the program hits the breakpoint,

     (gdb) bt

to see the traceback.

Might help to install libdvdread-dbg (debug symbols) as well.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Elio Blanca | 5 Aug 2010 00:36
Picon

Re: Text Aspect Ratio & Video Format

Well, it worked!
I muxed two subpicture streams into my main menu and used the `mode' keyword to label each, so now 
everything is shown the right way, both on a 4:3 tv and on a 16:9 widescreen tv.
Here you have some of the relevant statements:

[...]
       <menus lang="it">
          <video format="pal" aspect="16:9" />
          <audio format="ac3" samplerate="48khz" />
          <subpicture lang="it">
              <stream mode="widescreen" id="0" />
              <stream mode="letterbox" id="1" />
          </subpicture>
          <pgc entry="root">
             <pre> button = 2k; </pre>
             <vob file="Main_menu.m2v" pause="inf" />
[...]

Thank you for your support!

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Elio Blanca | 6 Aug 2010 11:55
Picon

Re: dvdunauthor, unexpected exit


> gdb dvdunauthor

Here is the full output from gdb session:

$ gdb dvdunauthor
GNU gdb (GDB) 7.1-ubuntu
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/topolinik/bin/dvdunauthor...(no debugging symbols found)...done.
(gdb) set args /media/ROADTOPERDITION_PAL_ITALY
(gdb) break exit
Breakpoint 1 at 0x8049300
(gdb) break abort
Function "abort" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 2 (abort) pending.
(gdb) run
Starting program: /home/topolinik/bin/dvdunauthor /media/ROADTOPERDITION_PAL_ITALY
DVDAuthor::dvdunauthor, version 0.6.18+.
Build options: gnugetopt imagemagick iconv freetype fontconfig
Send bug reports to <dvdauthor-users@...>

libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/sr0 mounted on /media/ROADTOPERDITION_PAL_ITALY for CSS 
authentication

INFO: VMGM

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000143
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000216
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000c28
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0025863b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00258659
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0025b2ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0025b30a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0025b322
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0025b340
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00265322
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00265348
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0026536e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00265394
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x002653ba
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x002653e0
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
STAT: [1] VOB 2, Cell 1 (18%)

INFO: VTSM 1/10
STAT: [4] VOB 3, Cell 3 (18%)
ERR:  Error 17 reading data: File exists
STAT: [22] VOB 11, Cell 2 (91%)

INFO: VTS 1/10
STAT: [39] VOB 2, Cell 14 (100%, 0:00 remain)

INFO: VTSM 2/10
STAT: [4] VOB 1, Cell 5 (80%)

INFO: VTS 2/10
STAT: [1] VOB 2, Cell 1 (100%, 0:00 remain)

INFO: VTSM 3/10
STAT: [4] VOB 1, Cell 5 (80%)

INFO: VTS 3/10
STAT: [0] VOB 1, Cell 1 (0%)

INFO: VTSM 4/10
STAT: [4] VOB 1, Cell 5 (80%)

INFO: VTS 4/10
STAT: [1] VOB 2, Cell 1 (100%, 0:00 remain)

INFO: VTSM 5/10

Breakpoint 1, 0x002a9204 in exit () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x002a9204 in exit () from /lib/tls/i686/cmov/libc.so.6
#1  0x0804a9bc in ?? ()
#2  0x0804c7b6 in ?? ()
#3  0x0804cc74 in ?? ()
#4  0x00290bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#5  0x08049341 in ?? ()
(gdb) quit
A debugging session is active.

	Inferior 1 [process 3872] will be killed.

Quit anyway? (y or n) y
$

Is this helpful? Sorry, I'm not familiar with gdb...

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
kyle k | 24 Aug 2010 11:04
Picon

bug in spumux

video:841268kB audio:38404kB global headers:0kB muxing overhead
-4.365689% Multiplexing video and audio streams Executing command:
mplex -f 8 -S 0 -M -V -o "/tmp/dvd-cache/entry005.vob"
"/tmp/dvd-cache/entry005.vob.m2v" "/tmp/dvd-cache/entry005.vob.audio0"
INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
INFO: [mplex] File /tmp/dvd-cache/entry005.vob.m2v looks like an MPEG
Video stream. INFO: [mplex] File /tmp/dvd-cache/entry005.vob.audio0
looks like an AC3 Audio stream. INFO: [mplex] Video stream 0: profile
8 selected - ignoring non-standard options! INFO: [mplex] Found 1
audio streams and 1 video streams INFO: [mplex] Selecting dvdauthor
DVD output profile INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0
(/tmp/dvd-cache/entry005.vob.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO:
[mplex] Frame width : 720 INFO: [mplex] Frame height : 480 INFO:
[mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate :
29.970 frames/sec INFO: [mplex] Bit rate : 4908000 bits/sec INFO:
[mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO:
[mplex] Scanning for header info: AC3 Audio stream 00
(/tmp/dvd-cache/entry005.vob.audio0) INFO: [mplex] AC3 frame size =
896 INFO: [mplex] AC3 AUDIO STREAM: INFO: [mplex] Bit rate : 28672
bytes/sec (224 kbit/sec) INFO: [mplex] Frequency : 48000 Hz INFO:
[mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed
stream data rate : 5243896 INFO: [mplex] target data-rate specified :
10080000 INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in delay = 9009 Video delay = 9009 Audio delay =
12012 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0:
buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0
frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO:
[mplex] STREAM bd completed INFO: [mplex] Multiplex completion at
SCR=126363648. INFO: [mplex] Video e0: completed INFO: [mplex] Audio
bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video
Stream length: 861458859 bytes INFO: [mplex] Sequence headers: 3606
INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 42085
INFO: [mplex] No. Groups : 3606 INFO: [mplex] No. I Frames : 3606 avg.
size 39831 bytes INFO: [mplex] No. P Frames : 38480 avg. size 18653
bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex]
Average bit-rate : 4907600 bits/sec INFO: [mplex] Peak bit-rate :
9573600 bits/sec INFO: [mplex] BUFFERING min 15 Buf max 139692 INFO:
[mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length
39325440 bytes. INFO: [mplex] Frames : 43890 INFO: [mplex] BUFFERING
min 35 Buf max 3619 INFO: [mplex] MUX STATUS: no under-runs detected.
Multiplexing subtitles Multiplexing subtitles 1 of 5 Executing
command: spumux -s 0 "/tmp/dvd-cache/entry001.vob_spumux.xml"
DVDAuthor::spumux, version 0.6.14. Build options: gnugetopt magick
iconv freetype Send bugs to <dvdauthor-users@...>
INFO: Locale=en_US.utf8 INFO: Converting filenames to UTF-8 INFO:
Detected subtitle file format: subviewer 2.0 INFO: Opened iconv
descriptor. *UTF-8* *ISO8859-1* INFO: Read 0 subtitles INFO: Unicode
font: 393 glyphs. ERR: Couldn't load file /home/kyle/Desktop/lk/188
[480p] (1).ass. Failed

use this url to view all steps taken to try to solve problem and more
in depth errors
http://sourceforge.net/projects/dvdstyler/forums/forum/318795/topic/3814192/index/page/1

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d

Gmane