[Wine] crashed would be solved by sudo ?

Willie Sun wsun013.wine at gmail.com
Tue Feb 21 05:30:21 CST 2006


Hi all,

Most of time I like to try out wine with game console emulators which use
fare amount of d3d or opengls, to see how much wine supports on this.
Suddenly today that the wine does not work with any emulator I have tried with,
came up with error message that is followed. But I accidentally found a workround that
with ``sudo'', the problem won't occor. Any idea ?

KNIGHT:/cvs/emu/ssspsx$ wine SSSPSX
libGL: XF86DRIGetClientDriverName: 5.0.3 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
libGL: XF86DRIGetClientDriverName: 5.0.3 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 15, (OK)
drmOpenByBusid: drmOpenMinor returns 15
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
wine: Unhandled page fault on read access to 0x00000000 at address 0xa7d92b90 (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0xa7d92b90).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:a7d92b90 ESP:7f9efa30 EBP:7f9efa58 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00000000 EBX:a7e55ff4 ECX:00000000 EDX:00000000
 ESI:7f9efa74 EDI:00000000
Stack dump:
0x7f9efa30:  00000000 a7d87cf4 00000000 00000000
0x7f9efa40:  a7d86f12 7f9efa74 00008000 a7e55ff4
0x7f9efa50:  7f9efa74 0000004c 7f9efb1c a7d7cb7d
0x7f9efa60:  7f9efa74 00000000 00000000 00000000
0x7f9efa70:  00000000 fbad8000 00000000 00000000
0x7f9efa80:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0xa7d92b90 rawmemchr+0x40 in libc.so.6 (0xa7d92b90)
  2 0xa7d7cb7d __vsscanf+0x6d in libc.so.6 (0xa7d7cb7d)
  3 0xa7d77c2e _IO_sscanf+0x2e in libc.so.6 (0xa7d77c2e)
  4 0x79288f59 d3ddevice_init_at_startup+0x2b9 in ddraw (0x79288f59)
  5 0x792a4c5b in ddraw (+0x34c5b) (0x792a4c5b)
  6 0x792a6816 DllMain+0xd6 in ddraw (0x792a6816)
  7 0x792b2ab8 in ddraw (+0x42ab8) (0x792b2ab8)
  8 0x7ff999d5 call_dll_entry_point+0x15 in ntdll (0x7ff999d5)
  9 0x7ff9affa in ntdll (+0x2affa) (0x7ff9affa)
  10 0x7ff9b28e in ntdll (+0x2b28e) (0x7ff9b28e)
  11 0x7ff9b3a5 in ntdll (+0x2b3a5) (0x7ff9b3a5)
  12 0x7ff9d562 LdrLoadDll+0x92 in ntdll (0x7ff9d562)
  13 0x7fc5af6d in kernel32 (+0x4af6d) (0x7fc5af6d)
  14 0x7fc5b08a LoadLibraryExW+0x5a in kernel32 (0x7fc5b08a)
  15 0x7fc5b023 LoadLibraryExA+0x43 in kernel32 (0x7fc5b023)
  16 0x7fc5b16b LoadLibraryA+0x2b in kernel32 (0x7fc5b16b)
  17 0x0040b8b2 in ssspsx (+0xb8b2) (0x0040b8b2)
  18 0x7fc68dce in kernel32 (+0x58dce) (0x7fc68dce)
  19 0xa7e8d34b wine_switch_to_stack+0x17 in libwine.so.1 (0xa7e8d34b)
0xa7d92b90 rawmemchr+0x40 in libc.so.6: movl    0x0(%eax),%ecx
Modules:
Module  Address                 Debug info      Name (86 modules)
PE      0x00400000-004e5000     Export          ssspsx
PE      0x10000000-1060a000     Deferred        gpupeopssoft
PE      0x65f00000-65fc2000     Deferred        ole32
PE      0x70bd0000-70c35000     Deferred        shlwapi
PE      0x78000000-78040000     Deferred        msvcrt
ELF     0x79193000-7924e000     Deferred        libasound.so.2
ELF     0x7924e000-792cf000     Export          ddraw<elf>
  \-PE  0x79270000-792cf000     \               ddraw
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0x7bf37000-7bf4c000     Deferred        midimap<elf>
  \-PE  0x7bf40000-7bf4c000     \               midimap
ELF     0x7bf4c000-7bf77000     Deferred        winealsa<elf>
  \-PE  0x7bf60000-7bf77000     \               winealsa
ELF     0x7bf77000-7c000000     Deferred        winmm<elf>
  \-PE  0x7bf80000-7c000000     \               winmm
ELF     0x7c226000-7c23e000     Deferred        msacm<elf>
  \-PE  0x7c230000-7c23e000     \               msacm
ELF     0x7c23e000-7c252000     Deferred        lz32<elf>
  \-PE  0x7c240000-7c252000     \               lz32
ELF     0x7c252000-7c279000     Deferred        msvfw32<elf>
  \-PE  0x7c260000-7c279000     \               msvfw32
ELF     0x7c279000-7c2a0000     Deferred        msacm32<elf>
  \-PE  0x7c280000-7c2a0000     \               msacm32
ELF     0x7c2a0000-7c2e0000     Deferred        avifil32<elf>
  \-PE  0x7c2b0000-7c2e0000     \               avifil32
ELF     0x7c4d2000-7c520000     Deferred        libgcrypt.so.11
ELF     0x7c520000-7c588000     Deferred        libgnutls.so.12
ELF     0x7c588000-7c5a4000     Deferred        libcups.so.2
ELF     0x7c5a7000-7c5c0000     Deferred        version<elf>
  \-PE  0x7c5b0000-7c5c0000     \               version
ELF     0x7c5e0000-7c5f0000     Deferred        libtasn1.so.2
ELF     0x7c828000-7c859000     Deferred        uxtheme<elf>
  \-PE  0x7c830000-7c859000     \               uxtheme
ELF     0x7c859000-7c861000     Deferred        libxrender.so.1
ELF     0x7c861000-7c87e000     Deferred        imm32<elf>
  \-PE  0x7c870000-7c87e000     \               imm32
ELF     0x7efdf000-7f284000     Deferred        radeon_dri.so
ELF     0x7f306000-7f38a000     Deferred        winex11<elf>
  \-PE  0x7f320000-7f38a000     \               winex11
ELF     0x7f38a000-7f3aa000     Deferred        libexpat.so.1
ELF     0x7f3aa000-7f3d9000     Deferred        libfontconfig.so.1
ELF     0x7f3dd000-7f3f5000     Deferred        libice.so.6
ELF     0x7f3f5000-7f462000     Deferred        libfreetype.so.6
ELF     0x7f463000-7f468000     Deferred        libtxc_dxtn.so
ELF     0x7f468000-7f46c000     Deferred        libgpg-error.so.0
ELF     0x7f470000-7f475000     Deferred        libxfixes.so.3
ELF     0x7f475000-7f47e000     Deferred        libxcursor.so
ELF     0x7f47e000-7f4aa000     Deferred        winspool<elf>
  \-PE  0x7f490000-7f4aa000     \               winspool
ELF     0x7f4aa000-7f57b000     Deferred        shell32<elf>
  \-PE  0x7f4c0000-7f57b000     \               shell32
ELF     0x7f57b000-7f619000     Deferred        comdlg32<elf>
  \-PE  0x7f590000-7f619000     \               comdlg32
ELF     0x7f619000-7f659000     Deferred        advapi32<elf>
  \-PE  0x7f620000-7f659000     \               advapi32
ELF     0x7f659000-7f6ea000     Deferred        gdi32<elf>
  \-PE  0x7f670000-7f6ea000     \               gdi32
ELF     0x7f6ea000-7f81c000     Deferred        user32<elf>
  \-PE  0x7f700000-7f81c000     \               user32
ELF     0x7f81c000-7f8e0000     Deferred        comctl32<elf>
  \-PE  0x7f830000-7f8e0000     \               comctl32
ELF     0x7f9f3000-7f9f9000     Deferred        libxxf86dga.so.1
ELF     0x7fbf9000-7fd00000     Export          kernel32<elf>
  \-PE  0x7fc10000-7fd00000     \               kernel32
ELF     0x7fe11000-7fe19000     Deferred        libsm.so.6
ELF     0x7fe19000-7fe25000     Deferred        libnss_files.so.2
ELF     0x7fe25000-7fe2f000     Deferred        libnss_nis.so.2
ELF     0x7fe2f000-7fe45000     Deferred        libnsl.so.1
ELF     0x7fe45000-7fe4e000     Deferred        libnss_compat.so.2
ELF     0x7fe56000-7fe6a000     Deferred        libz.so.1
ELF     0x7fe6d000-7ff63000     Deferred        libwine_unicode.so.1
ELF     0x7ff63000-7ffe0000     Export          ntdll<elf>
  \-PE  0x7ff70000-7ffe0000     \               ntdll
ELF     0xa7be6000-a7beb000     Deferred        libxdmcp.so.6
ELF     0xa7beb000-a7bee000     Deferred        libxau.so.6
ELF     0xa7bef000-a7bf6000     Deferred        libdrm.so.2
ELF     0xa7bf6000-a7bfa000     Deferred        libdl.so.2
ELF     0xa7bfa000-a7c20000     Deferred        libm.so.6
ELF     0xa7c20000-a7c25000     Deferred        libxxf86vm.so.1
ELF     0xa7c25000-a7c33000     Deferred        libxext.so.6
ELF     0xa7c34000-a7d23000     Deferred        libx11.so.6
ELF     0xa7d23000-a7e5a000     Export          libc.so.6
ELF     0xa7e5a000-a7e6c000     Deferred        libpthread.so.0
ELF     0xa7e88000-a7ea2000     Export          libwine.so.1
ELF     0xa7ea2000-a7f24000     Deferred        libgl.so
ELF     0xa7f25000-a7f3c000     Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) E:\emu\ssspsx\SSSPSX.exe
        00000009    0 <==
WineDbg terminated on pid 0x8

------------ with sudo --------------

KNIGHT:/cvs/emu/ssspsx$ sudo wine SSSPSX
libGL: XF86DRIGetClientDriverName: 5.0.3 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd4a608)->(0x10022,00000008)
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd4a608)->(0x10022,00000008)
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd5b640)->(0x10022,00000008)
fixme:ddraw:DIB_DirectDrawSurface_Blt Can't handle DDBLT_WAIT flag right now.



More information about the wine-users mailing list