Bug 1058132 - [abrt] qemu-system-ppc: dmg_open(): qemu-system-ppc killed by SIGSEGV
Summary: [abrt] qemu-system-ppc: dmg_open(): qemu-system-ppc killed by SIGSEGV
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:02d92d74fc88e3d7c38df68c72c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-27 05:07 UTC by Pavel Roskin
Modified: 2014-12-27 09:38 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-02 15:35:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (35.20 KB, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: cgroup (172 bytes, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: core_backtrace (4.58 KB, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: dso_list (12.84 KB, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: environ (2.90 KB, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: exploitable (82 bytes, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: limits (1.29 KB, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: maps (65.49 KB, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: open_fds (512 bytes, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: proc_pid_status (941 bytes, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details
File: var_log_messages (430 bytes, text/plain)
2014-01-27 05:07 UTC, Pavel Roskin
no flags Details

Description Pavel Roskin 2014-01-27 05:07:30 UTC
Version-Release number of selected component:
qemu-system-ppc-1.6.1-3.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        qemu-system-ppc -cdrom NetBoot9.dmg
crash_function: dmg_open
executable:     /usr/bin/qemu-system-ppc
kernel:         3.12.8-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 dmg_open at block/dmg.c:184
 #1 bdrv_open_common at block.c:747
 #2 bdrv_open at block.c:1078
 #3 blockdev_init at blockdev.c:706
 #4 drive_init at blockdev.c:809
 #5 drive_init_func at vl.c:1142
 #6 qemu_opts_foreach at util/qemu-option.c:1143

Comment 1 Pavel Roskin 2014-01-27 05:07:35 UTC
Created attachment 855904 [details]
File: backtrace

Comment 2 Pavel Roskin 2014-01-27 05:07:37 UTC
Created attachment 855905 [details]
File: cgroup

Comment 3 Pavel Roskin 2014-01-27 05:07:38 UTC
Created attachment 855906 [details]
File: core_backtrace

Comment 4 Pavel Roskin 2014-01-27 05:07:40 UTC
Created attachment 855907 [details]
File: dso_list

Comment 5 Pavel Roskin 2014-01-27 05:07:42 UTC
Created attachment 855908 [details]
File: environ

Comment 6 Pavel Roskin 2014-01-27 05:07:43 UTC
Created attachment 855909 [details]
File: exploitable

Comment 7 Pavel Roskin 2014-01-27 05:07:45 UTC
Created attachment 855910 [details]
File: limits

Comment 8 Pavel Roskin 2014-01-27 05:07:47 UTC
Created attachment 855911 [details]
File: maps

Comment 9 Pavel Roskin 2014-01-27 05:07:48 UTC
Created attachment 855912 [details]
File: open_fds

Comment 10 Pavel Roskin 2014-01-27 05:07:50 UTC
Created attachment 855913 [details]
File: proc_pid_status

Comment 11 Pavel Roskin 2014-01-27 05:07:51 UTC
Created attachment 855914 [details]
File: var_log_messages

Comment 12 Cole Robinson 2014-06-02 15:35:48 UTC
Latest f20 gives a clearer error here:

qemu-system-x86_64: -cdrom /home/crobinso/NetBoot9.dmg: sector count 222056 for chunk 1877 is larger than max (131072)
qemu-system-x86_64: -cdrom /home/crobinso/NetBoot9.dmg: could not open disk image /home/crobinso/NetBoot9.dmg: Invalid argument

It doesn't crash, so closing. But maybe qemu's dmg support can't handle old images

Comment 13 Peter Wu 2014-12-27 09:38:22 UTC
For your information, QEMU cannot accept this image because it uses the older Apple Data Compression (ADC) format. If someone wants to implement it, have a look at the format described at http://www.macdisk.com/dmgen.php

dmg2img has an implementation for the decompression routine: http://vu1tur.eu.org/tools/


Note You need to log in before you can comment on or make changes to this bug.