Wine crashes, debug info included SOLVED

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
laho
Newbie
Newbie
Posts: 3
Joined: Thu Oct 23, 2008 2:11 am

Wine crashes, debug info included SOLVED

Post by laho »

edit 3.11.2008:
Ok, The problem was within the software used run acuthin.exe.
Not a wine problem, no bug report needed.
Thanks to all of you who replied.

----

Hello, I'm running microfocus acuthin.exe with wine. The program crashes every time i do a certain action involving a grid element in cobol.


I'm no programmer, can't understand what the debugger is trying to say.
Can anyone make sense of it?
Can I replace a dll or something? Or configure wine?
Please ask questions if something is missing.

Thanks in advance:
Here's the info

wine is version 0.9.46 and running on ubuntu 8.04 box.
No chances made to winecfg.

>winedbg "acuthin.exe 8x.8x.xxx.xxx:arg1 arg2"
WineDbg starting on pid 000a
start_process () at /build/buildd/wine-0.9.46/dlls/kernel32/process.c:839
0x7b874c79 start_process+0xe9 [/build/buildd/wine-0.9.46/dlls/kernel32/process.c:839] in kernel32: movl %edi,0x0(%esp)
Unable to open file '/build/buildd/wine-0.9.46/dlls/kernel32/process.c'
Wine-dbg>next
fixme:font:WineEngCreateFontInstance Untranslated charset 255

********At this point program crashes****************
First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x6020cd44).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:6020cd44 ESP:0034b370 EBP:00000000 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:00010100 ECX:00000000 EDX:00000001
ESI:001b2938 EDI:ffffffef
Stack dump:
0x0034b370: 6023f08a 00000000 001b2938 00000000
0x0034b380: 00010128 000003be 001b2938 6023f484
0x0034b390: 000003be 00000013 00000000 00000001
0x0034b3a0: fffffffe 000003be 001b2938 6023f1cf
0x0034b3b0: 0003011e 0003011c 00010128 00000000
0x0034b3c0: 0034b3f8 7ee24764 7edaaf10 7edffeaa
Backtrace:
=>1 0x6020cd44 in atermmgr (+0xcd44) (0x00000000)
0x6020cd44: movl 0x0(%ecx),%eax

Wine-dbg>next
First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x6020cd44).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:6020cd44 ESP:0034b370 EBP:00000000 EFLAGS:00210346( - 00 RITZP1)
EAX:00000000 EBX:00010100 ECX:00000000 EDX:00000001
ESI:001b2938 EDI:ffffffef
Stack dump:
0x0034b370: 6023f08a 00000000 001b2938 00000000
0x0034b380: 00010128 000003be 001b2938 6023f484
0x0034b390: 000003be 00000013 00000000 00000001
0x0034b3a0: fffffffe 000003be 001b2938 6023f1cf
0x0034b3b0: 0003011e 0003011c 00010128 00000000
0x0034b3c0: 0034b3f8 7ee24764 7edaaf10 7edffeaa
Backtrace:
=>1 0x6020cd44 in atermmgr (+0xcd44) (0x00000000)
0x6020cd44: movl 0x0(%ecx),%eax

Wine-dbg>next
First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x6020cd44).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:6020cd44 ESP:0034b370 EBP:00000000 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:00010100 ECX:00000000 EDX:00000001
ESI:0019a9a0 EDI:ffffffef
Stack dump:
0x0034b370: 6023f08a 00000000 0019a9a0 00000000
0x0034b380: 0001013c 00000390 0019a9a0 6023f484
0x0034b390: 00000390 00000013 00000000 00000001
0x0034b3a0: fffffffe 00000390 0019a9a0 6023f1cf
0x0034b3b0: 0002013a 00020130 0001013c 00000000
0x0034b3c0: 0034b3f8 7ee24764 7edaaf10 7edffeaa
Backtrace:
=>1 0x6020cd44 in atermmgr (+0xcd44) (0x00000000)
0x6020cd44: movl 0x0(%ecx),%eax
Wine-dbg>next
*******************************************
This last error keeps repeating itself in debug mode,
in normal mode program closes.
Last edited by laho on Tue Nov 04, 2008 7:04 am, edited 1 time in total.
ile
Newbie
Newbie
Posts: 3
Joined: Sat Aug 23, 2008 8:23 am

Wine crashes, debug info included

Post by ile »

Try to run it with latest wine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine crashes, debug info included

Post by vitamin »

laho wrote:wine is version 0.9.46 and running on ubuntu 8.04 box.
This is really really really old and broken version of Wine. Upgrade to latest version (currently wine-1.1.6).
laho wrote:First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x6020cd44).
This is NULL pointer dereference. Most of the time meaning that Wine didn't return something applications expected to get back.
James Mckenzie

Wine crashes, debug info included

Post by James Mckenzie »

vitamin <[email protected]> at Oct 23, 2008 7:00 AM [Wine] Re: Wine crashes, debug info included

laho wrote:
wine is version 0.9.46 and running on ubuntu 8.04 box.
This is really really really old and broken version of Wine. Upgrade to latest version (currently wine-1.1.6).
I don't recommend running development versions of software in production use. It would be much better to recommend using Wine 1.0.1 and if that does not work, recommend using 1.1.6 with the warning that this is a development version and should not be used for production level work
laho wrote:
First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x6020cd44).
This is NULL pointer dereference. Most of the time meaning that Wine didn't return something applications expected to get back.
A bug needs to be filed if this still exists with Wine 1.0.1 or Wine 1.1.6.

Please attach the terminal output as a file rather than pasting it in the original bug report.

You may also have to recreate the .wine directory using the following:

code run in a terminal or console session after upgrading Wine:

cd
mv .wine{,.backup}
wine notepad
cd <directory of program installer>
setup.exe
</code>

Run program to see if error recurrs

James McKenzie
laho
Newbie
Newbie
Posts: 3
Joined: Thu Oct 23, 2008 2:11 am

Post by laho »

I upgraded straight to 1.1.6 and the same proglem occurs still. I need
to test with 1.0.1 later today.

Thanks to all who have replied, I hope we find a solution!

I'll attach the output messages as a file a bit later!

Here's the output without the debugger:

lauri@testilinux:~$ wine /home/laho/.wine/dosdevices/c:/Acucorp/Acucbl610/AcuGT/bin/acuthin.exe xx.xx.xx.xx:arg1 arg2
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/laho/.wine' has been updated.
fixme:font:WineEngCreateFontInstance Untranslated charset 255
lauri@testilinux:~$ wine /home/laho/.wine/dosdevices/c:/Acucorp/Acucbl610/AcuGT/bin/acuthin.exe xx.xx.xx.xx:arg1 arg2
fixme:font:WineEngCreateFontInstance Untranslated charset 255
wine: Unhandled page fault on read access to 0x00000000 at address 0x6020cd44 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x6020cd44).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:6020cd44 ESP:0033b380 EBP:00000000 EFLAGS:00010246( - 00 -RIZP1)
EAX:00000000 EBX:00010100 ECX:00000000 EDX:00000001
ESI:001b72c0 EDI:ffffffef
Stack dump:
0x0033b380: 6023f08a 00000000 001b72c0 00000000
0x0033b390: 00010142 000003d3 001b72c0 6023f484
0x0033b3a0: 000003d3 00000006 00000000 00000001
0x0033b3b0: fffffffe 000003d3 001b72c0 6023f1cf
0x0033b3c0: 00030138 00030136 00010142 00000000
0x0033b3d0: 0033b408 7ee27dec 7eda7a80 7ee0242a
Backtrace:
0x6020cd44: movl 0x0(%ecx),%eax
Modules:
Module Address Debug info Name (104 modules)
PE 400000- 4a0000 Deferred acuthin
PE 10000000-1000f000 Deferred zlib
PE 5f400000-5f4f2000 Deferred mfc42
PE 60200000-6025d000 Export atermmgr
PE 6ee00000-6ee16000 Deferred aclnt
PE 6ef00000-6ef3e000 Deferred acme
ELF 7b800000-7b93c000 Deferred kernel32<elf>
\-PE 7b820000-7b93c000 \ kernel32
ELF 7bc00000-7bca6000 Deferred ntdll<elf>
\-PE 7bc10000-7bca6000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7de03000-7de2f000 Deferred ws2_32<elf>
\-PE 7de10000-7de2f000 \ ws2_32
ELF 7de2f000-7de49000 Deferred wsock32<elf>
\-PE 7de30000-7de49000 \ wsock32
ELF 7de49000-7de96000 Deferred libgcrypt.so.11
ELF 7de96000-7dea6000 Deferred libtasn1.so.3
ELF 7dea6000-7deae000 Deferred libkrb5support.so.0
ELF 7deae000-7dee0000 Deferred libcrypt.so.1
ELF 7dee0000-7df56000 Deferred libgnutls.so.13
ELF 7df56000-7df79000 Deferred libk5crypto.so.3
ELF 7df79000-7e006000 Deferred libkrb5.so.3
ELF 7e006000-7e02f000 Deferred libgssapi_krb5.so.2
ELF 7e02f000-7e062000 Deferred libcups.so.2
ELF 7e092000-7e0c5000 Deferred uxtheme<elf>
\-PE 7e0a0000-7e0c5000 \ uxtheme
ELF 7e0ed000-7e101000 Deferred midimap<elf>
\-PE 7e0f0000-7e101000 \ midimap
ELF 7e101000-7e128000 Deferred msacm32<elf>
\-PE 7e110000-7e128000 \ msacm32
ELF 7e128000-7e13f000 Deferred msacm32<elf>
\-PE 7e130000-7e13f000 \ msacm32
ELF 7e13f000-7e202000 Deferred libasound.so.2
ELF 7e20e000-7e243000 Deferred winealsa<elf>
\-PE 7e220000-7e243000 \ winealsa
ELF 7e243000-7e24c000 Deferred libxcursor.so.1
ELF 7e24c000-7e251000 Deferred libxfixes.so.3
ELF 7e251000-7e254000 Deferred libxcomposite.so.1
ELF 7e254000-7e25a000 Deferred libxrandr.so.2
ELF 7e25a000-7e262000 Deferred libxrender.so.1
ELF 7e262000-7e267000 Deferred libxxf86vm.so.1
ELF 7e267000-7e287000 Deferred imm32<elf>
\-PE 7e270000-7e287000 \ imm32
ELF 7e287000-7e28c000 Deferred libxdmcp.so.6
ELF 7e28c000-7e2a4000 Deferred libxcb.so.1
ELF 7e2a4000-7e38b000 Deferred libx11.so.6
ELF 7e38b000-7e399000 Deferred libxext.so.6
ELF 7e399000-7e3b1000 Deferred libice.so.6
ELF 7e3b1000-7e3b9000 Deferred libsm.so.6
ELF 7e3b9000-7e3bd000 Deferred libgpg-error.so.0
ELF 7e3bd000-7e3c0000 Deferred libkeyutils.so.1
ELF 7e3c0000-7e3c3000 Deferred libcom_err.so.2
ELF 7e3c5000-7e45d000 Deferred winex11<elf>
\-PE 7e3d0000-7e45d000 \ winex11
ELF 7e48f000-7e4b0000 Deferred libexpat.so.1
ELF 7e4b0000-7e4da000 Deferred libfontconfig.so.1
ELF 7e4db000-7e4de000 Deferred libxinerama.so.1
ELF 7e4e6000-7e4fb000 Deferred libz.so.1
ELF 7e4fb000-7e568000 Deferred libfreetype.so.6
ELF 7e568000-7e56a000 Deferred libxcb-xlib.so.0
ELF 7e574000-7e65b000 Deferred oleaut32<elf>
\-PE 7e590000-7e65b000 \ oleaut32
ELF 7e65b000-7e66e000 Deferred libresolv.so.2
ELF 7e67a000-7e699000 Deferred iphlpapi<elf>
\-PE 7e680000-7e699000 \ iphlpapi
ELF 7e699000-7e6fe000 Deferred rpcrt4<elf>
\-PE 7e6b0000-7e6fe000 \ rpcrt4
ELF 7e6fe000-7e807000 Deferred ole32<elf>
\-PE 7e720000-7e807000 \ ole32
ELF 7e807000-7e83c000 Deferred winspool<elf>
\-PE 7e810000-7e83c000 \ winspool
ELF 7e83c000-7e8fd000 Deferred comctl32<elf>
\-PE 7e840000-7e8fd000 \ comctl32
ELF 7e8fd000-7e957000 Deferred shlwapi<elf>
\-PE 7e910000-7e957000 \ shlwapi
ELF 7e957000-7ea71000 Deferred shell32<elf>
\-PE 7e970000-7ea71000 \ shell32
ELF 7ea71000-7eb1e000 Deferred comdlg32<elf>
\-PE 7ea80000-7eb1e000 \ comdlg32
ELF 7eb1e000-7eb88000 Deferred msvcrt<elf>
\-PE 7eb30000-7eb88000 \ msvcrt
ELF 7eb88000-7ec1a000 Deferred winmm<elf>
\-PE 7eb90000-7ec1a000 \ winmm
ELF 7ec1a000-7ec2e000 Deferred lz32<elf>
\-PE 7ec20000-7ec2e000 \ lz32
ELF 7ec2e000-7ec47000 Deferred version<elf>
\-PE 7ec30000-7ec47000 \ version
ELF 7ec47000-7ec9b000 Deferred advapi32<elf>
\-PE 7ec50000-7ec9b000 \ advapi32
ELF 7ec9b000-7ed39000 Deferred gdi32<elf>
\-PE 7ecb0000-7ed39000 \ gdi32
ELF 7ed39000-7ee82000 Deferred user32<elf>
\-PE 7ed50000-7ee82000 \ user32
ELF 7efa2000-7efad000 Deferred libnss_files.so.2
ELF 7efad000-7efb7000 Deferred libnss_nis.so.2
ELF 7efb7000-7efcf000 Deferred libnsl.so.1
ELF 7efcf000-7eff4000 Deferred libm.so.6
ELF 7eff4000-7eff7000 Deferred libxau.so.6
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF b7d09000-b7d0d000 Deferred libdl.so.2
ELF b7d0d000-b7e5c000 Deferred libc.so.6
ELF b7e5c000-b7e74000 Deferred libpthread.so.0
ELF b7e80000-b7fb6000 Deferred libwine.so.1
ELF b7fb8000-b7fd4000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Acucorp\Acucbl610\AcuGT\bin\acuthin.exe
00000009 0 <==
0000000c
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000015 0
00000014 0
00000011 0
00000010 0
00000016
00000017 0
Backtrace:
laho
Newbie
Newbie
Posts: 3
Joined: Thu Oct 23, 2008 2:11 am

Post by laho »

I tested with wine-1.0.0 also, no effect on the problem.
I'm beginnning to think problem lies within the application
i am using,not in wine. Even when it works in native windows enviroment..
Locked