From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8b3) Gecko/20050827 Fedora/1.1-0.2.8.deerpark.alpha2 Firefox/1.0+ Description of problem: If there's a CD or DVD inserted in the CD/DVD drive corresponding to /dev/cdrom, isoinfo will crash if started without arguments, but not if started as isoinfo -i /dev/cdrom. If there isn't any media in the drive, both cases will exist normally after printing the appropriate errors. If given additional arguments (say -R, -l, -f), it will display the requested information before crashing. In fact, it will crash on fclose, so it's quite likely just some uninitialized (or corrupted) FILE*. Version-Release number of selected component (if applicable): mkisofs-2.01.1-10 How reproducible: Always Steps to Reproduce: 1.Insert some media containing a filesystem in a CD or DVD drive associated with /dev/cdrom 2.Run isoinfo Actual Results: It crashes Expected Results: It shouldn't crash Additional info: So far I've only tried this on x86_64, but this might very well be architecture-independent.
Oops, filed against wrong component, sorry.
please do a: # strace -f isoinfo and attach the output.
Created attachment 118467 [details] strace output, as requested I very much doubt this is going to add any info over what I've already posted, but here it goes... FWIW, here's the crash as reported by GDB: Program received signal SIGSEGV, Segmentation fault. 0x000000377a35c1ab in fclose@@GLIBC_2.2.5 () from /lib64/libc.so.6 The crash occurs at the instruction that first reads from the first argument, that was (incorrectly) passed as NULL.
Bug still present in today's rawhide (mkisofs-2.01.1-10).