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=

Attachment: signature.asc
Description: Digital signature

Reply via email to