[regression] Wine program crashes with unhandled page fault on startup

Bug #2055793 reported by Ryan Sanden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
New
Undecided
Unassigned

Bug Description

Today, APT Performed the following update:

    Start-Date: 2024-03-02 16:23:10
    Commandline: aptdaemon role='role-commit-packages' sender=':1.304'
    Upgrade: tcpdump:amd64 (4.99.1-3ubuntu0.1, 4.99.1-3ubuntu0.2), libglx-mesa0:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libglx-mesa0:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgbm1:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgbm1:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), firmware-sof-signed:amd64 (2.0-1ubuntu4.4, 2.0-1ubuntu4.5), gigolo:amd64 (0.5.2-1, 0.5.2-1ubuntu0.22.04.1), mesa-va-drivers:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgl1-mesa-dri:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgl1-mesa-dri:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libosmesa6:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libosmesa6:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), mesa-vulkan-drivers:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), mesa-vulkan-drivers:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libglapi-mesa:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libglapi-mesa:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libegl-mesa0:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), mesa-vdpau-drivers:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2)

This update causes a problem when running a program via wine (6.0.3~repack-1) which I have run (under wine) for over 10 years.

Dialog box error message:
    A program on your system has crashed, but
    WineDbg was unable to attach to the process to
    obtain a backtrace.
                        [ OK ]

Terminal error message:
    wine: Unhandled page fault on read access to 00000000 at address 00000000 (thread 0024), starting debugger...
    Can't attach process 0020: error 5

I reverted by installing the following packages:

    8c1d0584ae15da9fa9006798e396280825cbc19b043c9fea34c605d05d10544a libegl-mesa0_23.0.4-0ubuntu1~22.04.1_amd64.deb
    33da608ad1dd71ae0e181cc7d29425a3e76d3bc3d595644a4e424ce0065600a1 libgbm1_23.0.4-0ubuntu1~22.04.1_amd64.deb
    409bfe746eadf276e85fd82023b87dc4361d6d537d43936b8f8922a2a8f9fdb4 libgbm1_23.0.4-0ubuntu1~22.04.1_i386.deb
    8933615dda5ec6c8ddcdf61bf965a6c89fe27bb58257ddbeccf891fabf565bbc libgl1-mesa-dri_23.0.4-0ubuntu1~22.04.1_amd64.deb
    7d83885adb22054ff0ba10a10dd014e2a9de22c6d27300aa835b01489c84c51a libgl1-mesa-dri_23.0.4-0ubuntu1~22.04.1_i386.deb
    c62aafcd439764e398be1684f47b265a9b6e8e84bc455b912ffd844d27f01a01 libglapi-mesa_23.0.4-0ubuntu1~22.04.1_amd64.deb
    0485f51e4362795c823936ff955bc46b47677df8d3554ef3cabf850eea25126e libglapi-mesa_23.0.4-0ubuntu1~22.04.1_i386.deb
    a66c3572cbee38c2ddf7a001528ff2ee8221eade056f45d7607b878b4d976430 libglx-mesa0_23.0.4-0ubuntu1~22.04.1_amd64.deb
    88d881ace0ce9b5d219984c9f6c76aabf381cfec3172225be0b3ef94030b35ad libglx-mesa0_23.0.4-0ubuntu1~22.04.1_i386.deb
    2d2bb86103d52eb921003506e1ffc474aa29d24f5732ab5e8161aae9370abc7e libosmesa6_23.0.4-0ubuntu1~22.04.1_amd64.deb
    48d1ca94af2e82f8074f66f21f29f19d7ea0cec21c9feb664415e92f3418adba libosmesa6_23.0.4-0ubuntu1~22.04.1_i386.deb

Which gives the messages:

    dpkg: warning: downgrading libegl-mesa0:amd64 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libgbm1:amd64 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libgbm1:i386 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libgl1-mesa-dri:amd64 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libgl1-mesa-dri:i386 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libglapi-mesa:amd64 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libglapi-mesa:i386 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libglx-mesa0:amd64 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libglx-mesa0:i386 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libosmesa6:amd64 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1
    dpkg: warning: downgrading libosmesa6:i386 from 23.2.1-1ubuntu3.1~22.04.2 to 23.0.4-0ubuntu1~22.04.1

After reverting, the software starts as normal (and, as expected, there is no error in the terminal).

Release:
    Description: Ubuntu 22.04.4 LTS
    Release: 22.04

I am not sure exactly which package contains the bug, because these 11 packages upgrade together. The specific version diffs are shown above.

One thing I noticed is that this seems to be a fairly large version increase (mesa 23.0.4 --> 23.2.1). If I could get all of the package versions between these two, then I could upgrade them in stages and identify exactly which release introduces the problem.

The issue is easy to reproduce and happens every time.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libglx-mesa0 23.0.4-0ubuntu1~22.04.1
ProcVersionSignature: Ubuntu 6.5.0-21.21~22.04.1-generic 6.5.8
Uname: Linux 6.5.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Mar 2 17:17:21 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
 bcmwl/6.30.223.271+bdcom, 6.5.0-18-generic, x86_64: installed
 bcmwl/6.30.223.271+bdcom, 6.5.0-21-generic, x86_64: installed
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 NVIDIA Corporation GK104M [GeForce GTX 775M Mac Edition] [10de:119d] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Apple Inc. GK104M [GeForce GTX 775M Mac Edition] [106b:0120]
InstallationDate: Installed on 2023-12-28 (65 days ago)
InstallationMedia: Xubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.1)
MachineType: Apple Inc. iMac14,2
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-21-generic root=UUID=ec4668a4-ef7e-4e26-a959-23a14be9a037 ro quiet splash vt.handoff=7
SourcePackage: mesa
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/10/2020
dmi.bios.release: 0.1
dmi.bios.vendor: Apple Inc.
dmi.bios.version: 146.0.0.0.0
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-27ADBB7B4CEE8E61
dmi.board.vendor: Apple Inc.
dmi.board.version: iMac14,2
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-27ADBB7B4CEE8E61
dmi.modalias: dmi:bvnAppleInc.:bvr146.0.0.0.0:bd06/10/2020:br0.1:svnAppleInc.:pniMac14,2:pvr1.0:rvnAppleInc.:rnMac-27ADBB7B4CEE8E61:rvriMac14,2:cvnAppleInc.:ct13:cvrMac-27ADBB7B4CEE8E61:skuSystemSKU#:
dmi.product.family: iMac
dmi.product.name: iMac14,2
dmi.product.sku: System SKU#
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.0.4-0ubuntu1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Ryan Sanden (rsanden) wrote :
Ryan Sanden (rsanden)
summary: - Wine program crashes with unhandled page fault on startup
+ [regression] Wine program crashes with unhandled page fault on startup
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.