Bug 748270

Summary: [abrt] dvdbackup-0.4.1-2.fc15: CheckSizeArray: Process /usr/bin/dvdbackup was killed by signal 8 (SIGFPE)
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: dvdbackupAssignee: Carbo Kuo <byvoid.kcp>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: byvoid.kcp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b6aa9fef22c80dc17ef69aaa9c714520da069224
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 12:52:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Schwendt 2011-10-23 18:17:46 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
backtrace_rating: 4
cmdline:        dvdbackup -I
crash_function: CheckSizeArray
executable:     /usr/bin/dvdbackup
kernel:         3.1.0-0.rc10.git0.1.fc16.x86_64
reason:         Process /usr/bin/dvdbackup was killed by signal 8 (SIGFPE)
time:           Sun Oct 23 20:08:32 2011
uid:            1000
username:       misc16b

backtrace:
:Missing separate debuginfo for 
:Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/29/d706a6ee83f25e88d628f8ef7e254772f7cd00
:[New LWP 7274]
:Core was generated by `dvdbackup -I'.
:Program terminated with signal 8, Arithmetic exception.
:#0  0x0000000000403724 in CheckSizeArray (size_array=0x1ca0a70, target=<optimized out>, reference=0) at dvdbackup.c:102
:102		if ( (size_array[reference]/size_array[target] == 1) &&
:
:Thread 1 (LWP 7274):
:#0  0x0000000000403724 in CheckSizeArray (size_array=0x1ca0a70, target=<optimized out>, reference=0) at dvdbackup.c:102
:No locals.
:#1  0x0000000000403ec0 in DVDGetInfo (_dvd=0x1c9d0d0) at dvdbackup.c:657
:        counter = <optimized out>
:        i = <optimized out>
:        f = <optimized out>
:        candidate = 2
:        multi = 30018192
:        dual = 0
:        titles = <optimized out>
:        title_sets = <optimized out>
:        chapter_chapter_array = 0x1ca0970
:        title_set_chapter_array = <optimized out>
:        angle_angle_array = 0x1ca09b0
:        title_set_angle_array = 0x1ca09d0
:        subpicture_sub_array = 0x1ca09f0
:        title_set_sub_array = 0x1ca0a10
:        audio_audio_array = 0x1ca0a30
:        title_set_audio_array = 0x1ca0a50
:        size_size_array = <optimized out>
:        title_set_size_array = <optimized out>
:        channels_channel_array = 0x1ca0ab0
:        title_set_channel_array = 0x1ca0ad0
:        channels = <optimized out>
:        temp = <optimized out>
:        found = <optimized out>
:        chapters_1 = <optimized out>
:        chapters_2 = <optimized out>
:        found_chapter = <optimized out>
:        vmg_ifo = 0x4
:        vts_title_file = <optimized out>
:        titles_info = 0x1ca08b0
:#2  0x000000000040507f in DVDDisplayInfo (dvd=0x1c9d0d0, device=0x40595b "/dev/dvd") at dvdbackup.c:1823
:        i = <optimized out>
:        f = <optimized out>
:        chapters = <optimized out>
:        channels = <optimized out>
:        titles = <optimized out>
:        title_name = '\000' <repeats 32 times>
:        size = '\000' <repeats 39 times>
:        title_set_info = 0x0
:        titles_info = 0x0
:#3  0x000000000040193d in main (argc=2, argv=0x7fff07c958b8) at main.c:372
:        flags = <optimized out>
:        lose = <optimized out>
:        title_set = 0
:        titles = 0
:        start_chapter = 0
:        end_chapter = 0
:        do_mirror = 0
:        do_title_set = 0
:        do_titles = <optimized out>
:        do_feature = 0
:        do_info = 1
:        errorstrat = STRATEGY_SKIP_MULTIBLOCK
:        return_code = 0
:        dvd = 0x40595b "/dev/dvd"
:        aspect_temp = 0x0
:        start_chapter_temp = <optimized out>
:        end_chapter_temp = 0x0
:        titles_temp = <optimized out>
:        title_set_temp = 0x0
:        errorstrat_temp = <optimized out>
:        title_name = '\000' <repeats 32 times>
:        provided_title_name = 0x0
:        targetdir = 0x405959 "."
:        targetname = '\000' <repeats 968 times>, "}l\340\r;", '\000' <repeats 69 times>"\240, \016;\000\000\000\000 \240\016;\000\000\000\230\037\240\016;\000\000\000\230\037\240\016;", '\000' <repeats 11 times>, "\005\000\000\000\000\000\000\000\000 \300\016;\000\000\000\000@\300\016;\000\000\000x0\300\016;\000\000\000\344\002\341\r;\000\000\000\000 \000\000\000\000\000\000i\b\240\016;", '\000' <repeats 11 times>"\222, \205\340\r;", '\000' <repeats 43 times>"\212, q\340\r;\000\000\000\000\000\000\000\001", '\000' <repeats 61 times>, " \016;\000\000\000\000\240:\016;\000\000\000\\\237:\016;\000\000\000^e\341\r;", '\000' <repeats 11 times>"\340, \217\225\205\372\177\000\000/\000\000\000\000\000\000\000\375\266\340\r;\000\000\000@\370Z\016;\000\000\000"...
:        fileinfo = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 0, st_blocks = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused = {0, 0, 0}}
:        _dvd = 0x1c9d0d0
:        longopts = {{name = 0x4059fe "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x405a03 "version", has_arg = 0, flag = 0x0, val = 86}, {name = 0x405a0b "info", has_arg = 0, flag = 0x0, val = 73}, {name = 0x405a10 "mirror", has_arg = 0, flag = 0x0, val = 77}, {name = 0x405a17 "feature", has_arg = 0, flag = 0x0, val = 70}, {name = 0x405a1f "titleset", has_arg = 1, flag = 0x0, val = 84}, {name = 0x405a28 "title", has_arg = 1, flag = 0x0, val = 116}, {name = 0x405a2e "start", has_arg = 1, flag = 0x0, val = 115}, {name = 0x405a34 "end", has_arg = 1, flag = 0x0, val = 101}, {name = 0x405a38 "input", has_arg = 1, flag = 0x0, val = 105}, {name = 0x405a3e "output", has_arg = 1, flag = 0x0, val = 111}, {name = 0x405a45 "verbose", has_arg = 0, flag = 0x0, val = 118}, {name = 0x405a4d "name", has_arg = 1, flag = 0x0, val = 110}, {name = 0x405a52 "aspect", has_arg = 1, flag = 0x0, val = 97}, {name = 0x405a59 "error", has_arg = 1, flag = 0x0, val = 114}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
:        shortopts = 0x40597e "hVIMFT:t:s:e:i:o:vn:a:r:"
:From                To                  Syms Read   Shared Object Library
:0x0000003b256029c0  0x0000003b256150ec  Yes         /usr/lib64/libdvdread.so.4.1.4
:0x0000003b0e21ef10  0x0000003b0e3599f0  Yes         /lib64/libc-2.14.90.so
:0x0000003b0ea00de0  0x0000003b0ea01918  Yes         /lib64/libdl-2.14.90.so
:0x0000003b0de00b20  0x0000003b0de1aaaa  Yes         /lib64/ld-2.14.90.so
:$1 = 0x0
:No symbol "__glib_assert_msg" in current context.
:rax            0x79179	495993
:rbx            0x4	4
:rcx            0x0	0
:rdx            0x0	0
:rsi            0x0	0
:rdi            0x1ca0a70	30018160
:rbp            0x3	0x3
:rsp            0x7fff07c944c8	0x7fff07c944c8
:r8             0x79179	495993
:r9             0x1	1
:r10            0x0	0
:r11            0x3b25604a80	254030137984
:r12            0x4	4
:r13            0x2	2
:r14            0x1ca0a70	30018160
:r15            0x1ca0990	30017936
:rip            0x403724	0x403724 <CheckSizeArray+20>
:eflags         0x10246	[ PF ZF IF RF ]
:cs             0x33	51
:ss             0x2b	43
:ds             0x0	0
:es             0x0	0
:fs             0x0	0
:gs             0x0	0
:Dump of assembler code for function CheckSizeArray:
:   0x0000000000403710 <+0>:	mov    (%rdi),%r8d
:   0x0000000000403713 <+3>:	movslq %esi,%rsi
:   0x0000000000403716 <+6>:	mov    (%rdi,%rsi,4),%ecx
:   0x0000000000403719 <+9>:	xor    %esi,%esi
:   0x000000000040371b <+11>:	mov    %r8d,%edx
:   0x000000000040371e <+14>:	mov    %r8d,%eax
:   0x0000000000403721 <+17>:	sar    $0x1f,%edx
:=> 0x0000000000403724 <+20>:	idiv   %ecx
:   0x0000000000403726 <+22>:	cmp    $0x1,%eax
:   0x0000000000403729 <+25>:	mov    %edx,%edi
:   0x000000000040372b <+27>:	je     0x403730 <CheckSizeArray+32>
:   0x000000000040372d <+29>:	mov    %esi,%eax
:   0x000000000040372f <+31>:	retq   
:   0x0000000000403730 <+32>:	lea    (%r8,%r8,1),%eax
:   0x0000000000403734 <+36>:	sub    %ecx,%eax
:   0x0000000000403736 <+38>:	mov    %eax,%edx
:   0x0000000000403738 <+40>:	sar    $0x1f,%edx
:   0x000000000040373b <+43>:	idiv   %ecx
:   0x000000000040373d <+45>:	cmp    $0x1,%eax
:   0x0000000000403740 <+48>:	jne    0x40372d <CheckSizeArray+29>
:   0x0000000000403742 <+50>:	lea    (%rdi,%rdi,2),%edi
:   0x0000000000403745 <+53>:	xor    %esi,%esi
:   0x0000000000403747 <+55>:	cmp    %edi,%r8d
:   0x000000000040374a <+58>:	setg   %sil
:   0x000000000040374e <+62>:	jmp    0x40372d <CheckSizeArray+29>
:End of assembler dump.

comment:
:First brief look at dvdbackup since a long time. Started with running "dvdbackup -I" for an inserted video DVD. It reproducibly crashes:
:
:$ dvdbackup -I
:libdvdread: Encrypted DVD support unavailable.
:*** Zero check failed in /builddir/build/BUILD/libdvdread-4.1.4/src/ifo_read.c:571
:    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
:Floating point exception (core dumped)
:
:
:The "Zero check" failure is also printed when mirroring the disc:
:
:$ dvdbackup -M -n 'test'
:libdvdread: Encrypted DVD support unavailable.
:*** Zero check failed in /builddir/build/BUILD/libdvdread-4.1.4/src/ifo_read.c:571
:    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
:*** Zero check failed in /builddir/build/BUILD/libdvdread-4.1.4/src/ifo_read.c:571
:    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000

dso_list:
:/lib64/libdl-2.14.90.so glibc-2.14.90-13.x86_64 (Fedora Project) 1319188769
:/usr/lib64/libdvdread.so.4.1.4 libdvdread-4.1.4-0.4.svn1226.fc16.x86_64 (Fedora Project) 1317333775
:/usr/lib/locale/locale-archive glibc-common-2.14.90-13.x86_64 (Fedora Project) 1319188765
:/lib64/libc-2.14.90.so glibc-2.14.90-13.x86_64 (Fedora Project) 1319188769
:/usr/bin/dvdbackup dvdbackup-0.4.1-2.fc15.x86_64 (Fedora Project) 1319393261
:/lib64/ld-2.14.90.so glibc-2.14.90-13.x86_64 (Fedora Project) 1319188769

environ:
:XDG_VTNR=1
:XDG_SESSION_ID=2
:HOSTNAME=localhost.localdomain
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:GPG_AGENT_INFO=/tmp/keyring-qxE5MZ/gpg:0:1
:TERM=xterm
:SHELL=/bin/bash
:HISTSIZE=1000
:XDG_SESSION_COOKIE=6c8b425632a715baa675a08f00000016-1319361748.833493-96587151
:TMPDIR=/home/misc16b/tmp
:GJS_DEBUG_OUTPUT=stderr
:WINDOWID=33559122
:GNOME_KEYRING_CONTROL=/tmp/keyring-qxE5MZ
:'GJS_DEBUG_TOPICS=JS ERROR;JS LOG'
:IMSETTINGS_MODULE=none
:USER=misc16b
:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:*.pdf=00;33:*.ps=00;33:*.ps.gz=00;33:*.txt=00;33:*.patch=00;33:*.diff=00;33:*.log=00;33:*.tex=00;33:*.xls=00;33:*.xlsx=00;33:*.ppt=00;33:*.pptx=00;33:*.rtf=00;33:*.doc=00;33:*.docx=00;33:*.odt=00;33:*.ods=00;33:*.odp=00;33:*.xml=00;33:*.epub=00;33:*.abw=00;33:*.html=00;33:*.wpd=00;33:
:SSH_AUTH_SOCK=/tmp/keyring-qxE5MZ/ssh
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1422,unix/unix:/tmp/.ICE-unix/1422
:USERNAME=misc16b
:PATH=/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/misc16b/bin/:/home/misc16b/files/bin
:MAIL=/var/spool/mail/misc16b
:DESKTOP_SESSION=gnome
:QT_IM_MODULE=xim
:IRCSERVER=saberhagen.freenode.net
:PWD=/home/misc16b/mnt/images
:XMODIFIERS=@im=none
:EDITOR=emacs
:GNOME_KEYRING_PID=1416
:LANG=en_US.UTF-8
:IRCNAME=mschwendt
:GDMSESSION=gnome
:HISTCONTROL=ignoredups
:HOME=/home/misc16b
:XDG_SEAT=seat0
:IRCNICK=mschwendt
:SHLVL=2
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:LOGNAME=misc16b
:CVS_RSH=ssh
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-V44p8W8KXJ,guid=ec6c23aaccfe61d514b7b6f10000006b
:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:WINDOWPATH=1
:XDG_RUNTIME_DIR=/run/user/misc16b
:DISPLAY=:0
:COLORTERM=gnome-terminal
:XAUTHORITY=/var/run/gdm/auth-for-misc16b-wsXNT4/database
:_=/usr/bin/dvdbackup
:OLDPWD=/home/misc16b

maps:
:00400000-00408000 r-xp 00000000 08:03 537529                             /usr/bin/dvdbackup
:00608000-00609000 rw-p 00008000 08:03 537529                             /usr/bin/dvdbackup
:01c9c000-01cbd000 rw-p 00000000 00:00 0                                  [heap]
:3b0de00000-3b0de22000 r-xp 00000000 08:03 392505                         /lib64/ld-2.14.90.so
:3b0e021000-3b0e022000 r--p 00021000 08:03 392505                         /lib64/ld-2.14.90.so
:3b0e022000-3b0e023000 rw-p 00022000 08:03 392505                         /lib64/ld-2.14.90.so
:3b0e023000-3b0e024000 rw-p 00000000 00:00 0 
:3b0e200000-3b0e3aa000 r-xp 00000000 08:03 392506                         /lib64/libc-2.14.90.so
:3b0e3aa000-3b0e5aa000 ---p 001aa000 08:03 392506                         /lib64/libc-2.14.90.so
:3b0e5aa000-3b0e5ae000 r--p 001aa000 08:03 392506                         /lib64/libc-2.14.90.so
:3b0e5ae000-3b0e5b0000 rw-p 001ae000 08:03 392506                         /lib64/libc-2.14.90.so
:3b0e5b0000-3b0e5b5000 rw-p 00000000 00:00 0 
:3b0ea00000-3b0ea02000 r-xp 00000000 08:03 397829                         /lib64/libdl-2.14.90.so
:3b0ea02000-3b0ec02000 ---p 00002000 08:03 397829                         /lib64/libdl-2.14.90.so
:3b0ec02000-3b0ec03000 r--p 00002000 08:03 397829                         /lib64/libdl-2.14.90.so
:3b0ec03000-3b0ec04000 rw-p 00003000 08:03 397829                         /lib64/libdl-2.14.90.so
:3b25600000-3b2561c000 r-xp 00000000 08:03 528109                         /usr/lib64/libdvdread.so.4.1.4
:3b2561c000-3b2581c000 ---p 0001c000 08:03 528109                         /usr/lib64/libdvdread.so.4.1.4
:3b2581c000-3b2581d000 rw-p 0001c000 08:03 528109                         /usr/lib64/libdvdread.so.4.1.4
:7ffa7f51c000-7ffa8593f000 r--p 00000000 08:03 549267                     /usr/lib/locale/locale-archive
:7ffa8593f000-7ffa85942000 rw-p 00000000 00:00 0 
:7ffa85958000-7ffa85959000 rw-p 00000000 00:00 0 
:7fff07c76000-7fff07c97000 rw-p 00000000 00:00 0                          [stack]
:7fff07dc5000-7fff07dc6000 r-xp 00000000 00:00 0                          [vdso]
:ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

var_log_messages:
:Oct 23 20:07:41 localhost yum[7254]: Installed: dvdbackup-0.4.1-2.fc15.x86_64
:Oct 23 20:08:32 localhost kernel: [31670.301441] dvdbackup[7274] trap divide error ip:403724 sp:7fff07c944c8 error:0 in dvdbackup[400000+8000]
:Oct 23 20:08:32 localhost abrt[7276]: saved core dump of pid 7274 (/usr/bin/dvdbackup) to /var/spool/abrt/ccpp-2011-10-23-20:08:32-7274 (393216 bytes)

Comment 1 Fedora End Of Life 2013-01-16 12:33:09 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora End Of Life 2013-02-13 12:52:15 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.