Skip to content

Print an error if the called program segfaults #114

@mkst

Description

@mkst

e.g. wine spat out the following when snas.exe crashed out, but wibo was silent.

wine: Unhandled page fault on write access to 000000A8 at address 00419B2F (thread 010c), starting debugger...
00bc:err:clipboard:convert_selection Timed out waiting for SelectionNotify event
00bc:err:clipboard:convert_selection Timed out waiting for SelectionNotify event
Unhandled exception: page fault on write access to 0x000000a8 in 32-bit code (0x00419b2f).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:00419b2f ESP:0077fe18 EBP:00000000 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000128 EBX:00000001 ECX:000000a0 EDX:00be458c
 ESI:00bffd50 EDI:00bd4638
Stack dump:
0x0077fe18:  00431558 00bd4638 00bd4650 00000001
0x0077fe28:  0041bf1f 00bd386c 00000001 0077fe94
0x0077fe38:  003fe000 00000000 00000000 0041afb3
0x0077fe48:  00000009 0077fe94 003fe000 00bd386c
0x0077fe58:  00000001 0077fe20 0041af87 0077ff20
0x0077fe68:  00000000 56433230 00000000 0000001e
Backtrace:
=>0 0x00419b2f EntryPoint+0xffffffff() in ps2eeas (0x00000000)
0x00419b2f EntryPoint+0xffffffff in ps2eeas: movl       %eax,0x8(%ecx)
Modules:
Module  Address                 Debug info      Name (6 modules)
PE        400000-  569000       Export          ps2eeas
PE      63480000-6349b000       Deferred        version
PE      70b40000-70df9000       Deferred        ucrtbase
PE      7b000000-7b348000       Deferred        kernelbase
PE      7b600000-7b929000       Deferred        kernel32
PE      7bc00000-7bea9000       Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000020 ee-gcc2953.exe
        00000024    0
00000038 services.exe
        0000003c    0
        00000040    0
        0000004c    0
        00000068    0
        00000084    0
        000000b0    0
        000000e0    0
00000044 winedevice.exe
        00000048    0
        00000054    0
        00000058    0
        0000005c    0
00000060 plugplay.exe
        00000064    0
        00000070    0
        00000074    0
        00000078    0
        0000009c    0
0000007c winedevice.exe
        00000080    0
        00000090    0
        00000094    0
        00000098    0
        000000a4    0
00000088 explorer.exe
        0000008c    0
        000000bc    0
        000000d0    0
000000a8 svchost.exe
        000000ac    0
        000000b4    0
        000000b8    0
000000c0 conhost.exe
        000000c4    0
000000d8 rpcss.exe
        000000dc    0
        000000e8    0
        000000ec    0
        000000f0    0
        000000f4    0
        00000100    0
00000108 (D) Z:\home\user\dogcomp\tools\ee-gcc2.95.3\ee\gcc\ee\bin\ps2eeas.exe
        0000010c    0 <==
        00000118    0
System information:
    Wine build: wine-6.0.3 (Ubuntu 6.0.3~repack-1)
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 6.6.87.2-microsoft-standard-WSL2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions