Package: xorriso
Version: 1.3.2-1
Severity: important
Tags: d-i

Dear Maintainer,

I was trying to check if xorriso was usable for building the debian-installer 
package.
Unfortunately, using xorriso as replacement for genisoimage leads to a SIGBUS 
error.

Seems to be an unaligned access on sparc which is quite picky about aligned 
access.
Here's the report from gdb:
seb@raptor2:~/dev/debian-installer-20140316/build$ gdb 
../../xorriso-1.3.2/xorriso/xorriso
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 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 "sparc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/seb/dev/xorriso-1.3.2/xorriso/xorriso...done.
(gdb) set args -as mkisofs -r -J -o ./tmp/miniiso/mini.iso -G /boot/isofs.b -B 
... ./tmp/miniiso/cd_tree/
(gdb) r
Starting 
program:/home/seb/dev/debian-installer-20140316/build/../../xorriso-1.3.2/xorriso/xorriso
 -as mkisofs -r -J -o ./tmp/miniiso/mini.iso -G /boot/isofs.b -B ... 
./tmp/miniiso/cd_tree/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
GNU xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:./tmp/miniiso/mini.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 9140m free
Added to ISO image: directory 
'/'='/home/seb/dev/debian-installer-20140316/build/tmp/miniiso/cd_tree'
xorriso : UPDATE : 7 files added in 1 seconds
xorriso : UPDATE : 7 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 7040 bytes from file '/boot/isofs.b'
[New Thread 0xf76cfb70 (LWP 6582)]

Program received signal SIGBUS, Bus error.
add_worker (w_type=3, d=0x161128 <drive_array>, f=0xd1b20 
<write_disc_worker_func>, data=0xffffd27c) at libburn/async.c:149
149             a->u = *(union w_list_data *)data;
(gdb) l
144     #endif
145     
146             a = calloc(1, sizeof(struct w_list));
147             a->w_type = w_type;
148             a->drive = d;
149             a->u = *(union w_list_data *)data;
150     
151             /* insert at front of the list */
152             a->next = workers;
153             tmp = workers;
(gdb) p a
$1 = (struct w_list *) 0x1e6f08
(gdb) p a->u
$2 = {scan = {drives = 0x0, n_drives = 0x0, done = 0}, erase = {drive = 0x0, 
fast = 0}, format = {drive = 0x0, size = 0,
    flag = 0}, write = {drive = 0x0, opts = 0x0, disc = 0x0}, fifo = {source = 
0x0, flag = 0}}
(gdb) p data
$3 = (void *) 0xffffd27c
(gdb) p sizeof(struct w_list);
Invalid character ';' in expression.
(gdb) p sizeof(struct w_list)
$4 = 40
(gdb) p a->u
$5 = {scan = {drives = 0x0, n_drives = 0x0, done = 0}, erase = {drive = 0x0, 
fast = 0}, format = {drive = 0x0, size = 0,
    flag = 0}, write = {drive = 0x0, opts = 0x0, disc = 0x0}, fifo = {source = 
0x0, flag = 0}}
(gdb) p &a->u
$6 = (union w_list_data *) 0x1e6f18
(gdb) p *(union w_list_data *) data
$7 = {scan = {drives = 0x161128 <drive_array>, n_drives = 0x1f6f20, done = 2229520}, 
erase = {drive = 0x161128 <drive_array>,
    fast = 2060064}, format = {drive = 0x161128 <drive_array>, size = 
9575715485777920, flag = 0}, write = {
    drive = 0x161128 <drive_array>, opts = 0x1f6f20, disc = 0x220510}, fifo = {source 
= 0x161128 <drive_array>, flag = 2060064}}
(gdb) quit

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)

Kernel: Linux 3.13-1-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xorriso depends on:
ii  libacl1       2.2.52-1
ii  libburn4      1.3.2-1
ii  libc6         2.18-4
ii  libisoburn1   1.3.2-1
ii  libisofs6     1.3.2-1
ii  libjte1       1.19-2
ii  libreadline6  6.3-6
ii  zlib1g        1:1.2.8.dfsg-1

xorriso recommends no packages.

Versions of packages xorriso suggests:
pn  cdck   <none>
pn  jigit  <none>

-- no debconf information

Reply via email to