Bug 255591 - [linuxlator] qbittorrent kernel panics machine
Summary: [linuxlator] qbittorrent kernel panics machine
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords: panic, regression
Depends on:
Blocks:
 
Reported: 2021-05-04 11:13 UTC by pitwuu
Modified: 2021-05-05 11:31 UTC (History)
1 user (show)

See Also:


Attachments
crash log qbittorrent linuxulator (132.79 KB, text/plain)
2021-05-04 16:03 UTC, pitwuu
no flags Details
workaround patch (1.97 KB, patch)
2021-05-05 11:31 UTC, pitwuu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pitwuu 2021-05-04 11:13:34 UTC
Some change in -CURRENT caused the machine to kernel panic when running qbittorrent and other Qt applications under the linux emulation.

I will investigate. Does not seem to occur on 13.0.
Comment 1 Edward Tomasz Napierala freebsd_committer 2021-05-04 12:26:06 UTC
Do you have a backtrace?
Comment 2 pitwuu 2021-05-04 14:53:57 UTC
(In reply to Edward Tomasz Napierala from comment #1)
I don't have one and I don't know how to get one since the machine insta-reboots when I run /usr/bin/qbittorrent. Ideas?
Comment 3 pitwuu 2021-05-04 16:03:04 UTC
Created attachment 224664 [details]
crash log qbittorrent linuxulator
Comment 4 pitwuu 2021-05-04 23:41:36 UTC
The i386 version of the program running in a 32-bit chroot, on amd64 host, does not produce a kernel panic.

My CPU is a ryzen 4600H.

I narrowed down the crash to the various futex_* operations in
`amd64/linux/linux_support.s`. 

Any ideas?
Comment 5 pitwuu 2021-05-05 11:31:28 UTC
Created attachment 224686 [details]
workaround patch

Dirty workaround. Qt applications run now.
I'm not sure if this is correct from a lock integrity point of view.