https://bugs.winehq.org/show_bug.cgi?id=52185
Bug ID: 52185 Summary: IDA 7.6 irregular crashes when used in an IPC namespace Product: Wine Version: 6.23 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: esteve.varela@gmail.com Distribution: ---
When used within an environment that restricts the IPC Namespace, such as within a Docker container or a Firejail environment, IDA crashes irregularly when performing certain tasks. This can result in frustrating crashes and lost work.
This is fairly simple to reproduce with just the help of the "unshare" utility: 1. Install IDA Free: wget https://out7.hex-rays.com/files/idafree76_windows.exe wine idafree76_windows.exe # Follow the installation, install to default location unshare -Ui wine 'C:\Program Files\IDA Freeware 7.6\ida64.exe' 2. Follow the prompts until you reach the main window which says "Drag a file here to disassemble it" 3. Unmaximize the window if maximized, grab a corner and keep resizing the window 4. Keep doing this for up to 10 seconds. The window will disappear and the following will be shown on the terminal: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 131 (MIT-SHM) Minor opcode of failed request: 3 (X_ShmPutImage) Value in failed request: 0x2e0 Serial number of failed request: 5854 Current serial number in output stream: 5858
This has been tested and verified on the following platforms: - Gentoo (WINE 6.20, 6.22) - Kubuntu 21.10 (WINE 6.0.2, 6.23) - Kubuntu 20.04 (WINE 6.0.2, 6.23) As well as the following desktop environments/window managers: - KDE - i3
Workarounds: On docker, you can use the `docker run --ipc=host` command to disable the IPC namespace. On firejail, you can use the `ignore ipc-namespace` setting to disable the IPC namespace.