Opened 20 months ago

Last modified 20 months ago

#72231 assigned defect

qemu: segmentation fault

Reported by: startergo Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: herbygillot (Herby Gillot)
Port: qemu

Description

When I build Qemu with: sudo port install qemu -cocoa +sdl2

and then run a simple command like qemu-system-aarch64 -accel help I get segmentation fault error.

Attachments (1)

qemu-system-aarch64-2025-03-24-072348.ips​ (19.1 KB) - added by startergo 20 months ago.
qemu-system-aarch64-2025-03-24-072348.ips

Download all attachments as: .zip

Change History (4)

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: herbygillot added
Keywords: port install qemu -cocoa +sdl2 removed
Owner: set to raimue
Port: qemu added; Qemu removed
Status: new → assigned
Summary: Segmentation fault In Qemu port → qemu: segmentation fault

qemu version? macOS version? architecture? Can you attach the log that macOS generated for this crash in ~/Library/Logs/DiagnosticReports?

Changed 20 months ago by startergo

qemu-system-aarch64-2025-03-24-072348.ips

comment:2 Changed 20 months ago by startergo

qemu -cocoa +sdl
--->  Computing dependencies for qemu
--->  Fetching archive for qemu
--->  Attempting to fetch qemu-9.2.2_0+curses+spice+spice_protocol+target_arm+target_i386+target_x86_64+usb+vnc.darwin_24.arm64.tbz2 from https://bos.us.packages.macports.org/qemu
--->  Attempting to fetch qemu-9.2.2_0+curses+spice+spice_protocol+target_arm+target_i386+target_x86_64+usb+vnc.darwin_24.arm64.tbz2 from https://packages.macports.org/qemu
--->  Attempting to fetch qemu-9.2.2_0+curses+spice+spice_protocol+target_arm+target_i386+target_x86_64+usb+vnc.darwin_24.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/qemu
--->  Fetching distfiles for qemu
--->  Verifying checksums for qemu
--->  Extracting qemu
--->  Applying patches to qemu
--->  Configuring qemu

uname -a
Darwin macbookpros-MacBook-Pro.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan  2 20:24:22 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6041 arm64

Version 0, edited 20 months ago by startergo (next)

comment:3 Changed 20 months ago by startergo

I have tried installation in a clean macOS in Parallels, which worked fine in the virtual machine. Then I copied the binary along with the libraries to the host and got the same segmentation fault. Reinstalled the macOS over the old installation from Recovery. Segmentation fault is no more.

Note: See TracTickets for help on using tickets.