The issue:
When trying to build an ISO and grub2-efi is installed xorriso abort and issue a SIGSEGV fault.
Unrelated, it also report an error #22 Invalid argument, but I have verified that this is a different thing an it arise from a call to get_acl_file().
(I have tried to rebuild xorriso/libisoburn without acl support, but no change in that respect.)
At this time the situation is exactly the same as 1 year ago:
https://forums.freebsd.org/threads/57547/
- Interestingly xorriso works when not using grub2-efi;
- it appear it also worked when using FreeBSD-10.3 with or without grub2-efi
So it look like something FreeBSD-11 specific, and triggered only when using grub2-efi.
At this time I don't have a working solution, nor a workaround. I tried to make some manual config/install, without success.
I also tried a previous version, also without success.
I was able to intercept the system call, by using truss, without any meaningful info:
Code: Select all
...
open("/usr/share/i18n/esdb/esdb.dir.db",O_CLOEXEC,037777735310) = 7 (0x7)
fstat(7,{ mode=-r--r--r-- ,inode=11997,size=13440,blksize=13824 }) = 0 (0x0)
mmap(0x0,13440,PROT_READ,MAP_PRIVATE,7,0x0) = 34367090688 (0x800703000)
close(7) = 0 (0x0)
munmap(0x800703000,13440) = 0 (0x0)
getpid() = 41648 (0xa2b0)
getpid() = 41648 (0xa2b0)
getpid() = 41648 (0xa2b0)
SIGNAL 11 (SIGSEGV)
sigprocmask(SIG_SETMASK,{ SIGSEGV },0x0) = 0 (0x0)
UNIX-SIGNAL: SIGSEGV errno= 22
write(2,"\nUNIX-SIGNAL: SIGSEGV errno= "...,34) = 34 (0x22)
getpid() = 41648 (0xa2b0)
sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALR
M|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ SIGSEGV }) = 0 (0x0)
sigaction(SIGHUP,{ SIG_IGN SA_RESTART ss_t },{ 0x800e49c30 SA_RESTART|SA_SIGINFO ss_t }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ SIGSEGV },0x0) = 0 (0x0)
...
If you have any further idea, however strange, please talk!