Bug 236972 - sysutils/unetbootin: segfaults on usage
Summary: sysutils/unetbootin: segfaults on usage
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-02 21:28 UTC by amvandemore
Modified: 2019-07-21 15:09 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amvandemore 2019-04-02 21:28:14 UTC
Example:

% sudo QT_X11_NO_MITSHM=1 /usr/local/bin/unetbootin method=diskimage isofile="/home/jeanlucpicard/share/Win10_1809Oct_v2_English_x64.iso" installtype=USB targetdrive=/dev/da0
<Click OK>
Segmentation fault
% echo $?
139
Comment 1 Graham Perrin 2019-07-20 14:23:51 UTC
Bus error, here. 

grahamperrin@momh167-gjp4-8570p:~ % sudo QT_X11_NO_MITSHM=1 /usr/local/bin/unetbootin method=diskimage isofile="/home/grahamperrin/Documents/IT/UBCD/ubcd538.iso" installtype=USB targetdrive=/dev/da0
grahamperrin's password:
Bus error
grahamperrin@momh167-gjp4-8570p:~ % 

----

Also/alternatively: bug 239344
Comment 2 Graham Perrin 2019-07-21 15:09:24 UTC
Does this help? 

(Is the 'No such file or directory' line significant?)

----

grahamperrin@momh167-gjp4-8570p:~ % sudo truss /usr/local/bin/unetbootin method=diskimage isofile="/home/grahamperrin/Documents/IT/UBCD/ubcd538.iso" installtype=USB targetdrive=/dev/da0

…

write(7,"\^A",1)                                 = 1 (0x1)
openat(AT_FDCWD,"/usr/local/share/fonts/dejavu/DejaVuSans-Bold.ttf",O_RDONLY,00) = 16 (0x10)
fcntl(16,F_SETFD,FD_CLOEXEC)                     = 0 (0x0)
fstat(16,{ mode=-rw-r--r-- ,inode=819374,size=705684,blksize=131072 }) = 0 (0x0)
mmap(0x0,705684,PROT_READ,MAP_PRIVATE,16,0x0)    = 34549207040 (0x80b4b1000)
close(16)                                        = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
mmap(0x0,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34549915648 (0x80b55e000)
mmap(0x0,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34549960704 (0x80b569000)
mmap(0x0,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34549989376 (0x80b570000)
mmap(0x0,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34550018048 (0x80b577000)
mmap(0x0,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34550046720 (0x80b57e000)
write(7,"\^A",1)                                 = 1 (0x1)
write(7,"\^A",1)                                 = 1 (0x1)
write(7,"\^A",1)                                 = 1 (0x1)
write(7,"\^A",1)                                 = 1 (0x1)
mmap(0x0,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34550091776 (0x80b589000)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0)
poll({ 3/POLLIN|POLLOUT },1,-1)                  = 1 (0x1)
writev(3,[{";\^C\^E\0\^O\0\M-`\^C\0\0\0\0\0"...,76}],1) = 76 (0x4c)
access("/tmp/un184574.iso",F_OK)                 ERR#2 'No such file or directory'
SIGNAL 10 (SIGBUS) code=BUS_OBJERR trapno=9 addr=0x8014ed652
poll({ 3/POLLIN },1,-1)                          ERR#4 'Interrupted system call'
<thread 101136 exited>
<thread 101135 exited>
<thread 101140 exited>
<thread 101141 exited>
process killed, signal = 10 (core dumped)
grahamperrin@momh167-gjp4-8570p:~ % ls -hl unetbootin.core 
-rw-------  1 root  grahamperrin    65M 21 Jul 16:03 unetbootin.core
grahamperrin@momh167-gjp4-8570p:~ %