Bug#329039: mkisofs segfaults when creating isos

2005-09-19 Thread C.Y.M
Steve McIntyre wrote:
 On Sun, Sep 18, 2005 at 06:05:42PM -0700, C.Y.M wrote:
 
Package: mkisofs
Version: 2.01+01a03-1
Severity: grave

mkisofs segfaults when creating isos.

Example:

mkisofs -dvd-video -V ISO_`date +%d-%m-%Y` -o image.iso image

Segmentation fault
 
 
 Can you provide an example tree that demonstrates this please? I can't
 reproduce this at the moment...
 

Do you mean the xml?

--SNIP--

Enter do_dvdauthor
?xml version=1.0 encoding=ISO-8859-1?
dvdauthor dest=/home/video/tmp/vdr2dvd/16364/DVDSTRUCT jumppad=1
!-- The top level menu --
vmgm
menus
video format=ntsc aspect=4:3 /
audio format=mp2 channels=2 samplerate=48khz /
pgc entry=title
pre { g1=0;
if (g2 lt 1024) button=1024;
if (g2 gt 1024) button=g2;
button=1024;
   }
/pre
  vob
file=/home/video/tmp/vdr2dvd/16364/DVDMENU/spu-mainmenu-1.mpg pause=2/vob
  button name=1 { g2=button ; jump titleset 1 menu ; 
}/button
  postjump cell 1;/post
/pgc
/menus
/vmgm
  !-- The chapter menu and chapter for titleset 1   --
  titleset

  menus
video format=ntsc aspect=4:3 /
audio format=mp2 channels=2 samplerate=48khz /
  pgc
  pre button=2048; /pre
vob
file=/home/video/tmp/vdr2dvd/16364/DVDMENU/Titel-1/spu-submenu-1.mpg
pause=2/vob
button name=1jump vmgm menu 1;/button
button name=2jump title 1 chapter 1;/button
postjump cell 1;/post
  /pgc
/menus

  titles
video format=ntsc aspect=4:3 /
audio format=mp2 lang=en /
audio format=mp2 lang=en /
pgc
  vob
file=/home/video/tmp/vdr2dvd/16364/DVDMENU/Titel-1/mplex.mpg
chapters=00:00:00,00:15:00,00:30:00,00
:45:00,01:00:00,01:15:00,01:30:00,01:45:00,02:00:00,02:15:00,02:30:00,02:45:00,03:00:00,03:15:00,03:30:00,03:45:00,04:00:00,0
4:15:00,04:30:00,04:45:00 pause=2/vob
  postcall vmgm menu 1;/post
/pgc
  /titles
/titleset
/dvdauthor
DVDAuthor::dvdauthor, version 0.6.11.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to [EMAIL PROTECTED]

INFO: Locale=en_US
INFO: Converting filenames to ISO-8859-1
INFO: dvdauthor creating VTS
STAT: Picking VTS 01

STAT: Processing 
/home/video/tmp/vdr2dvd/16364/DVDMENU/Titel-1/spu-submenu-1.mpg...

INFO: Video pts = 0.178 .. 6.150
INFO: Audio[8] pts = 0.178 .. 2.170
INFO: Audio[32] pts = 0.178 .. 0.178
STAT: VOBU 10 at 2MB, 1 PGCS
INFO: Generating VTSM with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x480
INFO: Audio ch 0 format: mp2/2ch, 48khz 20bps

STAT: Processing /home/video/tmp/vdr2dvd/16364/DVDMENU/Titel-1/mplex.mpg...
STAT: VOBU 144 at 41MB, 1 PGCS
STAT: VOBU 272 at 86MB, 1 PGCS
STAT: VOBU 400 at 135MB, 1 PGCS
STAT: VOBU 528 at 174MB, 1 PGCS
STAT: VOBU 608 at 197MB, 1 PGCS
INFO: Video pts = 0.179 .. 649.695
INFO: Audio[8] pts = 0.246 .. 649.086
INFO: Audio[9] pts = 0.246 .. 649.110
STAT: VOBU 617 at 199MB, 1 PGCS
WARN: GOP is not closed on cell 1 of source
/home/video/tmp/vdr2dvd/16364/DVDMENU/Titel-1/mplex.mpg of pgc 1
INFO: Generating VTS with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 704x480
INFO: Audio ch 0 format: mp2/2ch, 48khz 20bps, 'en'
INFO: Audio ch 1 format: mp2/2ch, 48khz 20bps, 'en'

STAT: fixed 10 VOBUS
STAT: fixing VOBU at 27MB (97/617, 15%)
STAT: fixing VOBU at 66MB (209/617, 31%)
STAT: fixing VOBU at 96MB (305/617, 49%)
STAT: fixing VOBU at 135MB (401/617, 64%)
STAT: fixing VOBU at 167MB (497/617, 80%)
STAT: fixing VOBU at 193MB (593/617, 95%)
STAT: fixed 617 VOBUS
INFO: dvdauthor creating table of contents
INFO: Scanning /home/video/tmp/vdr2dvd/16364/DVDSTRUCT/VIDEO_TS/VTS_01_0.IFO
INFO: Creating menu for TOC

STAT: Processing /home/video/tmp/vdr2dvd/16364/DVDMENU/spu-mainmenu-1.mpg...

INFO: Video pts = 0.178 .. 6.150
INFO: Audio[8] pts = 0.178 .. 2.170
INFO: Audio[32] pts = 0.178 .. 0.178
STAT: VOBU 10 at 1MB, 1 PGCS
INFO: Generating VMGM with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x480
INFO: Audio ch 0 format: mp2/2ch, 48khz 20bps

STAT: fixed 10 VOBUS
Enter do_mkisofs
17:30:57 : Start mkisofs
/usr/local/bin/vdr2dvd.sh: line 626: 22540 Segmentation fault  nice -n
${PRIO} $MKISOFS $DVDMKISOFSOPTS -dvd-video -o ${
Image}.iso ${UniqueDVDDIR} $LOG 21
ERROR : exit on error: mkisofs

--SNIP--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL 

Bug#329039: mkisofs segfaults when creating isos

2005-09-19 Thread Steve McIntyre
On Mon, Sep 19, 2005 at 02:47:52AM -0700, C.Y.M wrote:
Steve McIntyre wrote:
 On Sun, Sep 18, 2005 at 06:05:42PM -0700, C.Y.M wrote:
 
Package: mkisofs
Version: 2.01+01a03-1
Severity: grave

mkisofs segfaults when creating isos.

Example:

mkisofs -dvd-video -V ISO_`date +%d-%m-%Y` -o image.iso image

Segmentation fault
 
 
 Can you provide an example tree that demonstrates this please? I can't
 reproduce this at the moment...
 

Do you mean the xml?

That and the set of files to go with it, if possible...

-- 
Steve McIntyre, Cambridge, UK.[EMAIL PROTECTED]
  Mature Sporty Personal
  More Innovation More Adult
  A Man in Dandism
  Powered Midship Specialty


signature.asc
Description: Digital signature


Bug#329039: Re: Bug#329039: mkisofs segfaults when creating isos

2005-09-19 Thread Marc Haber
On Mon, Sep 19, 2005 at 10:28:58AM +0100, Steve McIntyre wrote:
 On Sun, Sep 18, 2005 at 06:05:42PM -0700, C.Y.M wrote:
 Package: mkisofs
 Version: 2.01+01a03-1
 Severity: grave
 
 mkisofs segfaults when creating isos.
 
 Example:
 
 mkisofs -dvd-video -V ISO_`date +%d-%m-%Y` -o image.iso image
 
 Segmentation fault
 
 Can you provide an example tree that demonstrates this please? I can't
 reproduce this at the moment...

I can reproduce this here. However, I do not quite understand what you
mean by example tree.

[32/[EMAIL PROTECTED]:~/Daten/mh_privat/Steuer$ ls -al 2004/
total 1.3M
drwxrwxr-x  2 mh mh 4.0K Sep 18 16:26 ./
drwxr-xr-x  3 mh mh   38 Sep 18 16:24 ../
-rwx--  1 mh mh 1.1M Aug 16 18:34 Arbeitszimmer.jpg*
-rw-rw-r--  1 mh mh 5.4K Aug 16 18:46 Arbeitszimmer.png
-rw-rw-r--  1 mh mh 8.7K Aug 16 19:00 Haeusliches_Arbeitszimmer.sxc
-rw-rw-r--  1 mh mh  10K Sep 19 11:54 Haeusliches_Arbeitszimmer.xls
-rw-r--r--  1 mh mh  28K Sep 18 16:23 Steuer2004.sxc
-rw-rw-r--  1 mh mh 169K Sep 18 16:24 Steuer2004.xls
[33/[EMAIL PROTECTED]:~/Daten/mh_privat/Steuer$ mkisofs -print-size -volid 
Steuer2004 -volset-size 1 -volset-seqno 1 -rational-rock -joliet 
-full-iso9660-filenames -iso-level 2 2004/*
INFO:   ISO-8859-1 character encoding detected by locale settings.
Assuming ISO-8859-1 encoded filenames on source filesystem,
use -input-charset to override.
Segmentation fault
[34/[EMAIL PROTECTED]:~/Daten/mh_privat/Steuer$ 

strace attached.

Does this help?

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


strace.mkisofs.bz2
Description: Binary data


Bug#329039: Re: Bug#329039: mkisofs segfaults when creating isos

2005-09-19 Thread Steve McIntyre
On Mon, Sep 19, 2005 at 12:15:38PM +0200, Marc Haber wrote:
On Mon, Sep 19, 2005 at 10:28:58AM +0100, Steve McIntyre wrote:
 On Sun, Sep 18, 2005 at 06:05:42PM -0700, C.Y.M wrote:
 Package: mkisofs
 Version: 2.01+01a03-1
 Severity: grave
 
 mkisofs segfaults when creating isos.
 
 Example:
 
 mkisofs -dvd-video -V ISO_`date +%d-%m-%Y` -o image.iso image
 
 Segmentation fault
 
 Can you provide an example tree that demonstrates this please? I can't
 reproduce this at the moment...

I can reproduce this here. However, I do not quite understand what you
mean by example tree.

[32/[EMAIL PROTECTED]:~/Daten/mh_privat/Steuer$ ls -al 2004/
total 1.3M
drwxrwxr-x  2 mh mh 4.0K Sep 18 16:26 ./
drwxr-xr-x  3 mh mh   38 Sep 18 16:24 ../
-rwx--  1 mh mh 1.1M Aug 16 18:34 Arbeitszimmer.jpg*
-rw-rw-r--  1 mh mh 5.4K Aug 16 18:46 Arbeitszimmer.png
-rw-rw-r--  1 mh mh 8.7K Aug 16 19:00 Haeusliches_Arbeitszimmer.sxc
-rw-rw-r--  1 mh mh  10K Sep 19 11:54 Haeusliches_Arbeitszimmer.xls
-rw-r--r--  1 mh mh  28K Sep 18 16:23 Steuer2004.sxc
-rw-rw-r--  1 mh mh 169K Sep 18 16:24 Steuer2004.xls
[33/[EMAIL PROTECTED]:~/Daten/mh_privat/Steuer$ mkisofs -print-size -volid 
Steuer2004 -volset-size 1 -volset-seqno 1 -rational-rock -joliet 
-full-iso9660-filenames -iso-level 2 2004/*
INFO:   ISO-8859-1 character encoding detected by locale settings.
Assuming ISO-8859-1 encoded filenames on source filesystem,
use -input-charset to override.
Segmentation fault
[34/[EMAIL PROTECTED]:~/Daten/mh_privat/Steuer$ 

strace attached.

Does this help?

Yes, very much, thanks. Can you give me a core dump too please? :-)

-- 
Steve McIntyre, Cambridge, UK.[EMAIL PROTECTED]
I suspect most samba developers are already technically insane... Of
 course, since many of them are Australians, you can't tell. -- Linus Torvalds


signature.asc
Description: Digital signature


Bug#329039: mkisofs segfaults when creating isos

2005-09-19 Thread Ingo Saitz
I can reproduce the problem, too. With -J segfault, without no segfault.
My locales are set to LANG=de_DE.UTF8. I can also avoid the segfault
setting LC_CTYPE to C or POSIX (ascii charset). Other supported charsets
([EMAIL PROTECTED]: ISO-8859-15 and de_DE: ISO-8859-1) also produce a segfault.

So it seems the charset conversion in the joliet tree is broken.

Another funny thing I noticed:

$ ls -l foo bar
-rw-r--r--  1 ingo ingo 0 2005-09-19 23:14 bar
-rw-r--r--  1 ingo ingo 0 2005-09-19 23:14 foo
$ mkisofs -J foo bar | wc
Warning: creating filesystem with (nonstandard) Joliet extensions
 but without (standard) Rock Ridge extensions.
 It is highly recommended to add Rock Ridge
INFO:   UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
  0   0   0
$ mkisofs -J foo | wc
Warning: creating filesystem with (nonstandard) Joliet extensions
 but without (standard) Rock Ridge extensions.
 It is highly recommended to add Rock Ridge
INFO:   UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
  0   0   32768

Both are aborting with an Segfault (remove the | wc).

And the workaround:
$ export LC_CTYPE=C
$ mkisofs -J foo bar | wc
Warning: creating filesystem with (nonstandard) Joliet extensions
 but without (standard) Rock Ridge extensions.
 It is highly recommended to add Rock Ridge
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
180 extents written (0 MB)
  4  42  368640


Mail me if you need additional data from me.

Ingo

$ locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=



signature.asc
Description: Digital signature


Bug#329039: mkisofs segfaults when creating isos

2005-09-18 Thread C.Y.M
Package: mkisofs
Version: 2.01+01a03-1
Severity: grave

mkisofs segfaults when creating isos.

Example:

mkisofs -dvd-video -V ISO_`date +%d-%m-%Y` -o image.iso image

Segmentation fault



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]