Running some company specific software, which is an exam/test. Designed for Windows OS machines. On Vista machines it requires the addition of the msvbvm50.dll. When installed in WINE, it has required the addition of jet40 and vb5run in winetricks to make the program run. The program runs fine, until it works out if the user passed or failed. Fails it reports with no error. When the user passes it produces the error: Error Number 6 Overflow Occured in Sub 'get_results_from_database' in Module 'frmResults' in project DAO.Field The addition of dcom98, comctl32, comctl32.ocx result in the program crashing without the previous error message, at the point it attempts to verify a pass. Here is the terminal output: Code: ng\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\xxxx\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\xxxx\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" wine: Unhandled page fault on read access to 0x01324400 at address 0xb7d21b56 (thread 0023), starting debugger... Unhandled exception: page fault on read access to 0x01324400 in 32-bit code (0xb7d21b56). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:b7d21b56 ESP:0033e8a0 EBP:0033e960 EFLAGS:00010246( - 00 -RIZP1) EAX:00000000 EBX:7eb17ff4 ECX:00000048 EDX:07c132f8 ESI:01324400 EDI:07df0000 Stack dump: 0x0033e8a0: 00000001 7eab995a 07df0000 01324400 0x0033e8b0: 00000120 7bc3368f 00000120 00000000 0x0033e8c0: 00000120 00000120 07df0000 01324400 0x0033e8d0: 00000000 0012fa00 01320bc0 00000000 0x0033e8e0: 00000000 00000001 00000060 00180018 0x0033e8f0: 00330000 00000000 7ed14ee0 03a04305 Backtrace: =>1 0xb7d21b56 memcpy+0x46() in libc.so.6 (0x0033e960) 2 0x7ecbc654 SetDIBits+0xf4() in gdi32 (0x0033e9a0) err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file "asycfilt.dbg" ("") 3 0x00366e94 in asycfilt (+0x6e94) (0x0033e9ec) 4 0x00366a13 in asycfilt (+0x6a13) (0x0033ea5c) err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file "oleaut32.dbg" ("") 5 0x653a03c7 in oleaut32 (+0x603c7) (0x6607452d) 6 0x08758b56 (0x53ec8b55) 7 0x00000000 (0x00000000) 0xb7d21b56 memcpy+0x46 in libc.so.6: repe movsl (%esi),%es:(%edi) Modules: Module Address Debug info Name (78 modules) PE 360000- 386000 Export asycfilt PE 400000- 4b2000 Deferred present PE f9a0000- f9ab000 Deferred vbajet32 PE f9c0000- fa22000 Deferred expsrv PE 1b000000-1b170000 Deferred msjet40 PE 1b5d0000-1b665000 Deferred mswstr10 PE 1b730000-1b7b7000 Deferred dao360 PE 1b810000-1b84a000 Deferred msjtes40 PE 638e0000-638f0000 Deferred arprogbar PE 65340000-653d2000 Export oleaut32 PE 65f00000-65fc2000 Deferred ole32 PE 66000000-66153000 Deferred msvbvm60 PE 740c0000-7420d000 Deferred msvbvm50 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 7dd57000-7dd6c000 Deferred midimap<elf> \-PE 7dd60000-7dd6c000 \ midimap ELF 7dd6c000-7dd94000 Deferred msacm32<elf> \-PE 7dd70000-7dd94000 \ msacm32 ELF 7dd94000-7ddad000 Deferred msacm32<elf> \-PE 7dda0000-7ddad000 \ msacm32 ELF 7ddad000-7ddfd000 Deferred libpulse.so.0 ELF 7de0a000-7de13000 Deferred librt.so.1 ELF 7de13000-7dedb000 Deferred libasound.so.2 ELF 7dedd000-7dee1000 Deferred libcap.so.1 ELF 7dee1000-7dee8000 Deferred libasound_module_pcm_pulse.so ELF 7dee8000-7df1f000 Deferred winealsa<elf> \-PE 7def0000-7df1f000 \ winealsa ELF 7df1f000-7dfb3000 Deferred winmm<elf> \-PE 7df30000-7dfb3000 \ winmm ELF 7e17a000-7e195000 Deferred version<elf> \-PE 7e180000-7e195000 \ version ELF 7e842000-7e857000 Deferred lz32<elf> \-PE 7e850000-7e857000 \ lz32 ELF 7e857000-7e8c3000 Deferred msvcrt<elf> \-PE 7e870000-7e8c3000 \ msvcrt ELF 7e8eb000-7e8f4000 Deferred libxcursor.so.1 ELF 7e8f4000-7e8f9000 Deferred libxfixes.so.3 ELF 7e8f9000-7e8fd000 Deferred libxcomposite.so.1 ELF 7e8fd000-7e904000 Deferred libxrandr.so.2 ELF 7e904000-7e90e000 Deferred libxrender.so.1 ELF 7e90e000-7e911000 Deferred libxinerama.so.1 ELF 7e911000-7e932000 Deferred imm32<elf> \-PE 7e920000-7e932000 \ imm32 ELF 7e932000-7e937000 Deferred libxdmcp.so.6 ELF 7e937000-7e950000 Deferred libxcb.so.1 ELF 7e950000-7e953000 Deferred libxcb-xlib.so.0 ELF 7e953000-7ea42000 Deferred libx11.so.6 ELF 7ea42000-7ea51000 Deferred libxext.so.6 ELF 7ea51000-7ea57000 Deferred libxxf86vm.so.1 ELF 7ea57000-7ea6f000 Deferred libice.so.6 ELF 7ea6f000-7ea78000 Deferred libsm.so.6 ELF 7ea85000-7eb20000 Deferred winex11<elf> \-PE 7ea90000-7eb20000 \ winex11 ELF 7eb54000-7eb7b000 Deferred libexpat.so.1 ELF 7eb7b000-7eba8000 Deferred libfontconfig.so.1 ELF 7eba8000-7ebbe000 Deferred libz.so.1 ELF 7ebbe000-7ec34000 Deferred libfreetype.so.6 ELF 7ec34000-7ec87000 Deferred advapi32<elf> \-PE 7ec40000-7ec87000 \ advapi32 ELF 7ec87000-7ed26000 Export gdi32<elf> \-PE 7eca0000-7ed26000 \ gdi32 ELF 7ed26000-7ee72000 Deferred user32<elf> \-PE 7ed40000-7ee72000 \ user32 ELF 7ee72000-7ee7e000 Deferred libnss_files.so.2 ELF 7ee7e000-7ee97000 Deferred libnsl.so.1 ELF 7ee97000-7eea0000 Deferred libnss_compat.so.2 ELF 7eea2000-7eea5000 Deferred libxau.so.6 ELF 7efcd000-7eff3000 Deferred libm.so.6 ELF 7eff4000-7efff000 Deferred libnss_nis.so.2 ELF b7ca5000-b7ca9000 Deferred libdl.so.2 ELF b7ca9000-b7e07000 Export libc.so.6 ELF b7e07000-b7e20000 Deferred libpthread.so.0 ELF b7e2d000-b7f64000 Deferred libwine.so.1 ELF b7f66000-b7f83000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000c 00000012 0 0000000e 0 0000000d 0 0000000f 00000015 0 00000014 0 00000011 0 00000010 0 0000002d 00000009 0 00000029 0 00000035 0 00000034 0 00000033 0 00000032 0 0000002e 0 0000002f 00000030 0 00000043 00000046 0 00000045 0 00000044 0 0000001e (D) C:\Program Files\xxxx\Test\Present.exe 0000003e 1 00000036 1 00000025 1 00000023 0 <=Backtrace: =>1 0xb7d21b56 memcpy+0x46() in libc.so.6 (0x0033e960) 2 0x7ecbc654 SetDIBits+0xf4() in gdi32 (0x0033e9a0) 3 0x00366e94 in asycfilt (+0x6e94) (0x0033e9ec) 4 0x00366a13 in asycfilt (+0x6a13) (0x0033ea5c) 5 0x653a03c7 in oleaut32 (+0x603c7) (0x6607452d) 6 0x08758b56 (0x53ec8b55) 7 0x00000000 (0x00000000) err:syslevel:_EnterSysLevel (0x7ee379e0, level 2): Holding 0x7ed14ee0, level 3. Expect deadlock!...... .....err:syslevel:_EnterSysLevel (0x7ee379e0, level 2): Holding 0x7ed14ee0, level 3. Expect deadlock! err:syslevel:_CheckNotSysLevel Holding lock 0x7ed14ee0 level 3 err:syslevel:_CheckNotSysLevel Holding lock 0x7ed14ee0 level 3 err:syslevel:_EnterSysLevel (0x7ee379e0, level 2): Holding 0x7ed14ee0, level 3. Expect deadlock! ubuntu at ubuntu:~$ Any help in suggestings paths of investigation will be much appreciated! :D The modules section looks interesting. Are they .dll .ocx files that wine is looking for? Have been working on this for a while, and this is possibly a step closer! current testbed is ubuntu live 8.10, wine 1.0.1
K4Z00 wrote:> Current testbed is ubuntu live 8.10, wine 1.0.1.Upgrade Wine, don't use native dcom.
Thanks vitamin. Will give that a go. Is my logic correct that the export items are overridden via dcom98? They are highlighted in the Backtrace.
K4Z00 wrote:> Is my logic correct that the export items are overridden via dcom98? They are highlighted in the Backtrace.No, those that start with "PE" are.
K4Z00 wrote:> Running some company specific software, which is an exam/test. Designed for Windows OS machines. On Vista machines it requires the addition of the msvbvm50.dll. > > When installed in WINE, it has required the addition of jet40 and vb5run in winetricks to make the program run. The program runs fine, until it works out if the user passed or failed. Fails it reports with no error. When the user passes it produces the error: > > Error Number 6 Overflow > Occured in Sub 'get_results_from_database' > in Module 'frmResults' in project DAO.Field > >This is an error message from Visual Basic, not Wine. Did you get any output when running the program from the terminal with vb5run AND vb6run installed, without DCOM98 installed? This may require creating a new user space Wine directory ($HOME/.wine). James McKenzie
Thanks for the reply James. Same setup but with vb6run installed (also comctl32, comctl32.ocx, corefonts, riched20, riched30, wsh56vb, each added incrementally). log: Code: fixme:ole:OleLoadPictureEx (0xb2f064,883564,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32fae8), partially implemented. fixme:ole:OleLoadPictureEx (0xb2f064,1086,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32fae8), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x203608)->(0x20f930, 0, (nil)), hacked stub. fixme:ole:OleLoadPictureEx (0xaeecdc,236100,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33f7a8), partially implemented. fixme:ole:OleLoadPictureEx (0xaef484,3270,0,{7bf80980-bf32-101a- ...... fixme:ole:OleLoadPictureEx (0xaef484,327,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f90c), partially implemented. fixme:ole:OleLoadPictureEx (0xaef484,1110,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f90c), partially implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0xd65788)->(0xddb1e8, 0, (nil)), hacked stub. fixme:mixer:ALSA_MixerInit No master control found on USB Device 0x46d:0x8b2, disabling mixer err:mmio:MMIO_ParseExtA No . in szFileName: "?\x12?3????" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "?\x12?3????" fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x11a6), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x11a6), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x11a6), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x11a6), partially implemented. err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. fixme:ole:OleIconToCursor (0x400000,0x1196), partially implemented. ........ ??3??????????@" err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\\Program Files\\Test\\" err:mmio:MMIO_ParseExtA No . in szFileName: "???3??????????@" fixme:ole:OleLoadPictureEx (0xaf7f34,5157,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,4529,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,7409,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,5338,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,8203,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,4981,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,327,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,327,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,327,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xaf7f34,265,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33eb7c), partially implemented. fixme:ole:OleLoadPictureEx (0xafc4bc,236100,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9ac), partially implemented. fixme:variant:VarDecFix semi-stub! fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393} fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393} fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 8000000a Unfortunately still produces the same error result. Similar to my previous attempts here (http://forum.winehq.org/viewtopic.php?p=9838&highlight=#9838)