Stockton
2009-Apr-24 17:36 UTC
[Wine] "Unhandled page fault on read access" with a grid OCX in VB6
Hi all. First of all, I am almost new to Linux and completly new to Wine. I'm on Ubuntu 8.10 (running on VMWare on winXP), and Wine 1.0.1 I'm trying to port a VB6 app to wine.. I can install it OK, and connects to mysql via myodbc also OK. But i have a problem in every and all the windows where I have a grid (It's ComponentOne TrueDBGrid 8.0 - exactly 8.0.20061.351).. It load OK, I can do a set grid.datasource = recordset OK and see all the data... BUT when i unload that form, it crash, on every window that has the grid. I've tried to run it configuring to XP/2003/98/me and always crash. I've made a simple example with only an MDIForm, calling a Form2 with the grid. When I trie to close that Form2, it crash with this: Code: ricardo at ricardo-desktop:~$ wine /home/ricardo/Escritorio/Proyecto1.exe err:heap:HEAP_ValidateInUseArena Heap 0xc50000: prev arena 0xc54d60 is not prev for in-use 0xc57158 wine: Unhandled page fault on read access to 0x00000001 at address 0x1 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0x00000001). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00000001 ESP:0032ec14 EBP:0032ecd4 EFLAGS:00210202( - 00 - -RI1) EAX:00c50098 EBX:100de7e0 ECX:00c500a8 EDX:0000000c ESI:00c571d0 EDI:00000000 Stack dump: 0x0032ec14: 100bec76 00c50098 00c571d0 00c54258 0x0032ec24: 100ad4e8 001a5b58 00c54258 00000000 0x0032ec34: 100aa3a9 00c54588 00c54258 100156b4 0x0032ec44: 00000000 00c54258 100156bf 00c54258 0x0032ec54: 100ad54b 00000001 100aa3bd 00c54258 0x0032ec64: 1001f55b 00000005 00a40674 100ad53b Backtrace: =>1 0x00000001 (0x0032ecd4) err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file "DLL\\MSVBVM60.dbg" ("") 2 0x66049ccc in msvbvm60 (+0x49ccc) (0x0032ed04) 3 0x6605b4b1 in msvbvm60 (+0x5b4b1) (0x0032ed34) 4 0x6601c56a in msvbvm60 (+0x1c56a) (0x0032ed78) 5 0x66050300 in msvbvm60 (+0x50300) (0x0032ed8c) 6 0x66066ff5 in msvbvm60 (+0x66ff5) (0x0032eda8) 7 0x660c8800 in msvbvm60 (+0xc8800) (0x0032edf8) 8 0x660c8879 in msvbvm60 (+0xc8879) (0x0032eef0) 9 0x66051fb3 in msvbvm60 (+0x51fb3) (0x0032eefc) 10 0x00401cc8 in proyecto1 (+0x1cc8) (0x0032ef0c) 11 0x660522b4 in msvbvm60 (+0x522b4) (0x0032ef58) 12 0x6605271b in msvbvm60 (+0x5271b) (0x0032f02c) 13 0x660528e7 in msvbvm60 (+0x528e7) (0x0032f050) 14 0x660b4560 in msvbvm60 (+0xb4560) (0x0032f080) 15 0x6605d0c6 in msvbvm60 (+0x5d0c6) (0x0032f0a8) 16 0x6605f855 in msvbvm60 (+0x5f855) (0x0032f104) 17 0x6605e4a9 in msvbvm60 (+0x5e4a9) (0x0032f128) 18 0x6605deea in msvbvm60 (+0x5deea) (0x0032f194) 19 0x66082177 in msvbvm60 (+0x82177) (0x0032f314) 20 0x6605d0c6 in msvbvm60 (+0x5d0c6) (0x0032f33c) 21 0x6605f855 in msvbvm60 (+0x5f855) (0x0032f398) 22 0x7eddc26a WINPROC_wrapper+0x1a() in user32 (0x0032f3c8) 23 0x7eddc6ba WINPROC_wrapper+0x46a() in user32 (0x0032f408) 24 0x7eddf4e5 in user32 (+0xaf4e5) (0x0032f8d8) 25 0x7ede1a63 in user32 (+0xb1a63) (0x0032f918) 26 0x7eda1f97 in user32 (+0x71f97) (0x0032f978) 27 0x7eda6ec5 in user32 (+0x76ec5) (0x0032f9d8) 28 0x7eda73dc SendMessageW+0x4c() in user32 (0x0032fa18) 29 0x7ed4c79e in user32 (+0x1c79e) (0x0032fae8) 30 0x7ed4d56a in user32 (+0x1d56a) (0x0032fb08) 31 0x7eddc26a WINPROC_wrapper+0x1a() in user32 (0x0032fb38) 32 0x7eddc6ba WINPROC_wrapper+0x46a() in user32 (0x0032fb78) 33 0x7ede17d2 CallWindowProcA+0x52() in user32 (0x0032fbb8) 34 0x6605d2ff in msvbvm60 (+0x5d2ff) (0x0032fc24) 35 0x660b4836 in msvbvm60 (+0xb4836) (0x0032fc4c) 36 0x6605d0c6 in msvbvm60 (+0x5d0c6) (0x0032fc74) 37 0x6605f855 in msvbvm60 (+0x5f855) (0x0032fcd0) 38 0x7eddc26a WINPROC_wrapper+0x1a() in user32 (0x0032fd00) 39 0x7eddc6ba WINPROC_wrapper+0x46a() in user32 (0x0032fd40) 40 0x7ede19cd in user32 (+0xb19cd) (0x0032fd80) 41 0x7eda2276 DispatchMessageA+0x96() in user32 (0x0032fdc0) 42 0x6600a4a3 in msvbvm60 (+0xa4a3) (0x0032fe00) 43 0x6600a41a in msvbvm60 (+0xa41a) (0x0032fe44) 44 0x6600a2f8 in msvbvm60 (+0xa2f8) (0x6601a098) 45 0x66006ba7 in msvbvm60 (+0x6ba7) (0x660c7f80) 46 0x0c2474ff (0x0424448b) 47 0x00000000 (0x00000000) 0x00000001: addb %al,0x0(%eax) Modules: Module Address Debug info Name (83 modules) PE 400000- 40b000 Export proyecto1 PE 10010000-1012b000 Deferred todg8 PE 66000000-66152000 Export msvbvm60 PE 66630000-66650000 Deferred vb6es ELF 7b800000-7b93d000 Deferred kernel32<elf> \-PE 7b820000-7b93d000 \ kernel32 ELF 7bc00000-7bca7000 Deferred ntdll<elf> \-PE 7bc10000-7bca7000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7e0b7000-7e0bb000 Deferred libgpg-error.so.0 ELF 7e0bb000-7e124000 Deferred libgcrypt.so.11 ELF 7e124000-7e136000 Deferred libtasn1.so.3 ELF 7e136000-7e13f000 Deferred libkrb5support.so.0 ELF 7e13f000-7e171000 Deferred libcrypt.so.1 ELF 7e171000-7e20e000 Deferred libgnutls.so.26 ELF 7e20e000-7e232000 Deferred libk5crypto.so.3 ELF 7e232000-7e2c4000 Deferred libkrb5.so.3 ELF 7e2c4000-7e2ef000 Deferred libgssapi_krb5.so.2 ELF 7e2ef000-7e325000 Deferred libcups.so.2 ELF 7e35f000-7e392000 Deferred uxtheme<elf> \-PE 7e370000-7e392000 \ uxtheme ELF 7e392000-7e3c9000 Deferred winspool<elf> \-PE 7e3a0000-7e3c9000 \ winspool ELF 7e3c9000-7e424000 Deferred shlwapi<elf> \-PE 7e3e0000-7e424000 \ shlwapi ELF 7e424000-7e538000 Deferred shell32<elf> \-PE 7e430000-7e538000 \ shell32 ELF 7e538000-7e5e6000 Deferred comdlg32<elf> \-PE 7e540000-7e5e6000 \ comdlg32 ELF 7e5e6000-7e6ab000 Deferred comctl32<elf> \-PE 7e5f0000-7e6ab000 \ comctl32 ELF 7e6ab000-7e6bf000 Deferred olepro32<elf> \-PE 7e6b0000-7e6bf000 \ olepro32 ELF 7e6e7000-7e6f0000 Deferred libxcursor.so.1 ELF 7e6f0000-7e6f5000 Deferred libxfixes.so.3 ELF 7e6f5000-7e6f9000 Deferred libxcomposite.so.1 ELF 7e6f9000-7e700000 Deferred libxrandr.so.2 ELF 7e700000-7e70a000 Deferred libxrender.so.1 ELF 7e70a000-7e70d000 Deferred libxinerama.so.1 ELF 7e70d000-7e72e000 Deferred imm32<elf> \-PE 7e710000-7e72e000 \ imm32 ELF 7e72e000-7e733000 Deferred libxdmcp.so.6 ELF 7e733000-7e74c000 Deferred libxcb.so.1 ELF 7e74c000-7e74f000 Deferred libxcb-xlib.so.0 ELF 7e74f000-7e752000 Deferred libxau.so.6 ELF 7e752000-7e841000 Deferred libx11.so.6 ELF 7e841000-7e850000 Deferred libxext.so.6 ELF 7e850000-7e856000 Deferred libxxf86vm.so.1 ELF 7e856000-7e86e000 Deferred libice.so.6 ELF 7e86e000-7e877000 Deferred libsm.so.6 ELF 7e877000-7e87b000 Deferred libkeyutils.so.1 ELF 7e87b000-7e87f000 Deferred libcom_err.so.2 ELF 7e884000-7e91f000 Deferred winex11<elf> \-PE 7e890000-7e91f000 \ winex11 ELF 7e94f000-7e976000 Deferred libexpat.so.1 ELF 7e976000-7e9a3000 Deferred libfontconfig.so.1 ELF 7e9a3000-7e9b9000 Deferred libz.so.1 ELF 7e9b9000-7ea2f000 Deferred libfreetype.so.6 ELF 7ea2f000-7ead5000 Deferred oleaut32<elf> \-PE 7ea40000-7ead5000 \ oleaut32 ELF 7ead5000-7eae9000 Deferred libresolv.so.2 ELF 7eaf6000-7eb15000 Deferred iphlpapi<elf> \-PE 7eb00000-7eb15000 \ iphlpapi ELF 7eb15000-7eb78000 Deferred rpcrt4<elf> \-PE 7eb20000-7eb78000 \ rpcrt4 ELF 7eb78000-7ec1e000 Deferred ole32<elf> \-PE 7eb90000-7ec1e000 \ ole32 ELF 7ec1e000-7ec71000 Deferred advapi32<elf> \-PE 7ec30000-7ec71000 \ advapi32 ELF 7ec71000-7ed10000 Deferred gdi32<elf> \-PE 7ec80000-7ed10000 \ gdi32 ELF 7ed10000-7ee5c000 Export user32<elf> \-PE 7ed30000-7ee5c000 \ user32 ELF 7ef9d000-7efa9000 Deferred libnss_files.so.2 ELF 7efa9000-7efb4000 Deferred libnss_nis.so.2 ELF 7efb4000-7efcd000 Deferred libnsl.so.1 ELF 7efcd000-7eff3000 Deferred libm.so.6 ELF 7eff7000-7f000000 Deferred libnss_compat.so.2 ELF b7ca2000-b7ca6000 Deferred libdl.so.2 ELF b7ca6000-b7e04000 Deferred libc.so.6 ELF b7e05000-b7e1e000 Deferred libpthread.so.0 ELF b7e2b000-b7f62000 Deferred libwine.so.1 ELF b7f64000-b7f81000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\ricardo\Escritorio\Proyecto1.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: =>1 0x00000001 (0x0032ecd4) 2 0x66049ccc in msvbvm60 (+0x49ccc) (0x0032ed04) 3 0x6605b4b1 in msvbvm60 (+0x5b4b1) (0x0032ed34) 4 0x6601c56a in msvbvm60 (+0x1c56a) (0x0032ed78) 5 0x66050300 in msvbvm60 (+0x50300) (0x0032ed8c) 6 0x66066ff5 in msvbvm60 (+0x66ff5) (0x0032eda8) 7 0x660c8800 in msvbvm60 (+0xc8800) (0x0032edf8) 8 0x660c8879 in msvbvm60 (+0xc8879) (0x0032eef0) 9 0x66051fb3 in msvbvm60 (+0x51fb3) (0x0032eefc) 10 0x00401cc8 in proyecto1 (+0x1cc8) (0x0032ef0c) 11 0x660522b4 in msvbvm60 (+0x522b4) (0x0032ef58) 12 0x6605271b in msvbvm60 (+0x5271b) (0x0032f02c) 13 0x660528e7 in msvbvm60 (+0x528e7) (0x0032f050) 14 0x660b4560 in msvbvm60 (+0xb4560) (0x0032f080) 15 0x6605d0c6 in msvbvm60 (+0x5d0c6) (0x0032f0a8) 16 0x6605f855 in msvbvm60 (+0x5f855) (0x0032f104) 17 0x6605e4a9 in msvbvm60 (+0x5e4a9) (0x0032f128) 18 0x6605deea in msvbvm60 (+0x5deea) (0x0032f194) 19 0x66082177 in msvbvm60 (+0x82177) (0x0032f314) 20 0x6605d0c6 in msvbvm60 (+0x5d0c6) (0x0032f33c) 21 0x6605f855 in msvbvm60 (+0x5f855) (0x0032f398) 22 0x7eddc26a WINPROC_wrapper+0x1a() in user32 (0x0032f3c8) 23 0x7eddc6ba WINPROC_wrapper+0x46a() in user32 (0x0032f408) 24 0x7eddf4e5 in user32 (+0xaf4e5) (0x0032f8d8) 25 0x7ede1a63 in user32 (+0xb1a63) (0x0032f918) 26 0x7eda1f97 in user32 (+0x71f97) (0x0032f978) 27 0x7eda6ec5 in user32 (+0x76ec5) (0x0032f9d8) 28 0x7eda73dc SendMessageW+0x4c() in user32 (0x0032fa18) 29 0x7ed4c79e in user32 (+0x1c79e) (0x0032fae8) 30 0x7ed4d56a in user32 (+0x1d56a) (0x0032fb08) 31 0x7eddc26a WINPROC_wrapper+0x1a() in user32 (0x0032fb38) 32 0x7eddc6ba WINPROC_wrapper+0x46a() in user32 (0x0032fb78) 33 0x7ede17d2 CallWindowProcA+0x52() in user32 (0x0032fbb8) 34 0x6605d2ff in msvbvm60 (+0x5d2ff) (0x0032fc24) 35 0x660b4836 in msvbvm60 (+0xb4836) (0x0032fc4c) 36 0x6605d0c6 in msvbvm60 (+0x5d0c6) (0x0032fc74) 37 0x6605f855 in msvbvm60 (+0x5f855) (0x0032fcd0) 38 0x7eddc26a WINPROC_wrapper+0x1a() in user32 (0x0032fd00) 39 0x7eddc6ba WINPROC_wrapper+0x46a() in user32 (0x0032fd40) 40 0x7ede19cd in user32 (+0xb19cd) (0x0032fd80) 41 0x7eda2276 DispatchMessageA+0x96() in user32 (0x0032fdc0) 42 0x6600a4a3 in msvbvm60 (+0xa4a3) (0x0032fe00) 43 0x6600a41a in msvbvm60 (+0xa41a) (0x0032fe44) 44 0x6600a2f8 in msvbvm60 (+0xa2f8) (0x6601a098) 45 0x66006ba7 in msvbvm60 (+0x6ba7) (0x660c7f80) 46 0x0c2474ff (0x0424448b) 47 0x00000000 (0x00000000) ricardo at ricardo-desktop:~$