aptitude crashes qemu-m68k with handle_cpu_signal received signal outside vCPU context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When building a package with sbuild on Debian, sbuild can use aptitude to resolve dependencies.
Recently, some changes introduced to aptitude or related packages cause qemu to crash:
(sid-m68k-
Warning: Invalid locale (please review locale settings, this might lead to problems later):
locale:
The following NEW packages will be installed:
libgpm2{a} vim vim-common{a} vim-runtime{a} xxd{a}
0 packages upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 7225 kB/7260 kB of archives. After unpacking 33.5 MB will be used.
qemu:handle_
qemu:handle_
Segmentation fault
(sid-m68k-
The crash does not reproduce on real hardware running Debian unstable.
Changed in qemu: | |
status: | Incomplete → Fix Released |
It seems it crashes during futex syscall:
... 4f610, FUTEX_WAIT_PRIVATE, 16777216, NULL <unfinished ...> SEGV_MAPERR, si_addr=0x10} ---
[pid 4] getpid() = 4
[pid 4] tgkill(4, 24, SIGRT_1) = 0
[pid 24] <... futex resumed> ) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
[pid 24] --- SIGRT_1 {si_signo=SIGRT_1, si_code=SI_TKILL, si_pid=4, si_uid=0} ---
[pid 4] futex(0x7f77abb
[pid 24] getpid() = 4
[pid 24] --- SIGSEGV {si_signo=SIGSEGV, si_code=
...