On Fri, Nov 18, 2016 at 05:27:25PM +0100, Thomas Schmitt wrote:
> $ gdb xorriso/xorriso
> (gdb) b fs_image.c:3024
> (gdb) b rockridge_read.c:111
> (gdb) r -read_fs norock -indev /path/to/your.iso
Using the above and one of the UDF images that I am about to email you a URL to,
and the above, the process exits normally (w/o hitting breakpoints) and w/o
printing the RR error.
But digging into this a little, it seems to be an argument order issue.
works: -read_fs norock -indev ...
problems: -indev ... -read_fs norock
So running GDB but flipping the argument order from your example:
(gdb) r -indev /media/scratch/DVDrs/ballards_world.iso -read_fs norock
Starting program: /home/jon/git/xorriso-1.4.7/xorriso/xorriso -indev /media/scratch/DVDrs/ballards_world.iso -read_fs norock
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
GNU xorriso 1.4.7 : RockRidge filesystem manipulator, libburnia project.
xorriso : NOTE : Loading ISO image tree from LBA 0
Breakpoint 1, iso_image_filesystem_new (src=<optimized out>, opts=0x820e50, msgid=<optimized out>, fs=0x7fffffffe000)
at libisofs/fs_image.c:3024
3024 ret = read_root_susp_entries(data, data->pvd_root_block);
> If it stops at one of the breakpoints, please do
>
> (gdb) where
(gdb) where
#0 iso_image_filesystem_new (src=<optimized out>, opts=0x820e50, msgid=<optimized out>, fs=0x7fffffffe000)
at libisofs/fs_image.c:3024
#1 0x00000000004a6401 in iso_image_import (image=0x1, src=0x800, src@entry=0x820e90, opts=0x0, features=0x0,
features@entry=0x7fffffffe140) at libisofs/fs_image.c:5703
#2 0x000000000048cf9f in isoburn_read_image (d=<optimized out>, read_opts=0x820d50, image=0x7fffffffe220)
at libisoburn/isofs_wrap.c:316
#3 0x000000000045912e in Xorriso_aquire_drive (xorriso=0x7ffff7e21010,
adr=0x800 <error: Cannot access memory at address 0x800>,
adr@entry=0x820210 "/media/scratch/DVDrs/ballards_world.iso", show_adr=show_adr@entry=0x0, flag=1)
at xorriso/drive_mgt.c:565
#4 0x000000000043e8c5 in Xorriso_option_dev (xorriso=0x7ffff7e21010, in_adr=<optimized out>, flag=<optimized out>)
at xorriso/opts_d_h.c:122
#5 0x0000000000431fc1 in Xorriso_interpreter (xorriso=0x7ffff7e21010, argc=5, argv=0x0, idx=0x7fffffffe424, flag=255,
flag@entry=2) at xorriso/parse_exec.c:1389
#6 0x0000000000403dd2 in main (argc=5, argv=0x820150) at xorriso/xorriso_main.c:265