[Bug 7955] S-Hoai client 8.x to 13.x displays app exception dialog when clicking 'File' or 'Projects' menu
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Nov 21 18:09:01 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=7955
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |x86
Summary|Hoai client has exception |S-Hoai client 8.x to 13.x
|dialog when displaying |displays app exception
|"File" menu |dialog when clicking 'File'
| |or 'Projects' menu
OS|other |Linux
--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
from download area/email:
S-HOAI Kompakt:
www.kbld.de/fileadmin/default/downloads/testversionen/shoai13-kompakt.exe
S-HOAI Vollversion:
www.kbld.de/fileadmin/default/downloads/testversionen/testversionshoai13.exe
Installation succeeds but already gives a hint:
--- snip ---
fixme:odbc:SQLConfigDataSource (nil) 4 "Microsoft Access Driver (*.mdb)"
"DSN=shoai13"
--- snip ---
The app presents a nice custom exception dialog on start but still continues
after dismissing it (functionality will be missing):
--- snip ---
$ pwd
/home/focht/.wine/drive_c/KOBOLD/shoai.13
$ wine ./S-Hoai.exe
fixme:mpr:WNetGetUniversalNameA ("C:\\KOBOLD\\SHOAI.13\\KLM\\KLM.mdb",
0x00000001, 0x33f73c, 0x33fb48): stub
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4}
could be created for context 0x5
--- snip ---
App exception dialog contents copied:
--- snip ---
...
process id : $8
allocated memory : 11.18 MB
executable : S-Hoai.exe
exec. date/time : 2013-11-15 13:53
version : 13.0.3.165
bde version : 5.1.1.1
compiled with : Delphi 5
madExcept version : 3.0l
callstack crc : $7bc38a4a, $7a24aa5b, $7a24aa5b
exception number : 1
exception class : Exception
exception message : Fehler bei der Objekterzeugung. Stellen Sie sicher, daß die
Microsoft Data Access Components 2.1 (oder höher) richtig installiert sind.
main thread ($9):
00534f93 +047 S-Hoai.exe ADODB CreateADOObject
0053577a +03a S-Hoai.exe ADODB TADOConnection.Create
00542722 +02e S-Hoai.exe KLMAdo 440 +6 TAdoLicense.CreateKlmConnection
005449ea +056 S-Hoai.exe KLMAdo 1053 +6 TAdoLicense.Create
00794959 +101 S-Hoai.exe UMain 5226 +46 TMain.Form_Create
00795413 +09f S-Hoai.exe UMain 5619 +15 TMain.FormCreate
00487e55 +031 S-Hoai.exe Forms TCustomForm.DoCreate
00487ad8 +124 S-Hoai.exe Forms TCustomForm.Create
0048ef81 +031 S-Hoai.exe Forms TApplication.CreateForm
0079f7f0 +034 S-Hoai.exe sHoai 114 +6 initialization
processes:
08 S-Hoai.exe 0 0 normal C:\KOBOLD\shoai.13
0c winemenubuilder.exe 0 0 normal C:\windows\system32
0e services.exe 0 0 normal C:\windows\system32
12 winedevice.exe 0 0 normal C:\windows\system32
1a plugplay.exe 0 0 normal C:\windows\system32
21 explorer.exe 0 0 normal C:\windows\system32
disassembling:
[...]
00542713 push dword ptr fs:[eax]
00542716 mov fs:[eax], esp
00542719 440 xor ecx, ecx
0054271b mov dl, 1
0054271d mov eax, [$532528]
00542722 > call -$cfe7 ($535740) ; ADODB.TADOConnection.Create
00542727 mov [ebp-$c], eax
0054272a 441 lea eax, [ebp-$14]
0054272d call -$2bc22 ($516b10) ; Kalender.sHexStamp
00542732 mov ecx, [ebp-$14]
00542735 lea eax, [ebp-$10]
[...]
--- snip ---
After using 'winetricks -q mdac27' there is still a dialog on startup which
reads similar what Dan described in initial report.
--- snip ---
...
process id : $35
allocated memory : 12.73 MB
executable : S-Hoai.exe
exec. date/time : 2013-11-15 13:53
version : 13.0.3.165
bde version : 5.1.1.1
compiled with : Delphi 5
madExcept version : 3.0l
callstack crc : $e6a55ff3, $35c7fba0, $35c7fba0
exception number : 1
exception class : Exception
exception message : Lizenzdatenbank nicht vorhanden.
main thread ($34):
00544a41 +0ad S-Hoai.exe KLMAdo 1065 +18 TAdoLicense.Create
00794959 +101 S-Hoai.exe UMain 5226 +46 TMain.Form_Create
00795413 +09f S-Hoai.exe UMain 5619 +15 TMain.FormCreate
00487e55 +031 S-Hoai.exe Forms TCustomForm.DoCreate
00487ad8 +124 S-Hoai.exe Forms TCustomForm.Create
0048ef81 +031 S-Hoai.exe Forms TApplication.CreateForm
0079f7f0 +034 S-Hoai.exe sHoai 114 +6 initialization
modules:
00400000 S-Hoai.exe 13.0.3.165 C:\KOBOLD\shoai.13
1b5c0000 MSWSTR10.DLL 4.0.3829.2 C:\windows\system32
1f420000 msader15.dll 2.70.9001.0 C:\Program Files\Common Files\System\ADO
1f430000 msado15.dll 2.71.9030.0 C:\Program Files\Common Files\System\ADO
1f660000 MSDART.DLL 2.71.9031.4 C:\windows\system32
1f7b0000 ODBC32.DLL 3.520.9030.0 C:\windows\system32
1f800000 ODBCCP32.DLL 3.520.9030.0 C:\windows\system32
1f850000 odbcint.dll 3.520.9001.0 C:\windows\system32
1f8a0000 oledb32.dll 2.71.9031.4 C:\Program Files\Common Files\System\OLE
DB
1f910000 OLEDB32R.DLL 2.70.9001.0 C:\Program Files\Common Files\System\OLE
DB
4bde0000 IDAPI32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4c5e0000 idsql32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4c9e0000 IDR20007.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4cde0000 IDPDX32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4dde0000 IDDBAS32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4e1e0000 IDASCI32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4e8e0000 BANTAM.DLL 1.0.0.8 C:\Program Files\Common Files\Borland
Shared
7b820000 KERNEL32.dll 5.1.2600.2180 C:\windows\system32
7bc30000 ntdll.dll 5.1.2600.2180 C:\windows\system32
...
processes:
0e services.exe 0 0 normal C:\windows\system32
12 winedevice.exe 0 0 normal C:\windows\system32
1a plugplay.exe 0 0 normal C:\windows\system32
35 S-Hoai.exe 0 0 normal C:\KOBOLD\shoai.13
09 explorer.exe 0 0 normal C:\windows\system32
disassembling:
[...]
00544a2b 1065 mov ecx, $544a90 ; 'Lizenzdatenbank nicht
vorhanden!'
00544a30 mov dl, 1
00544a32 mov eax, [$456590]
00544a37 call -$e9800 ($45b23c) ; SysUtils.Exception.Create
00544a3c call -$140c9d ($403da4) ; System. at RaiseExcept
00544a41 > call -$140c32 ($403e14) ; System. at DoneExcept
00544a46 xor eax, eax
00544a48 pop edx
00544a49 pop ecx
00544a4a pop ecx
00544a4b mov fs:[eax], edx
[...]
--- snip ---
Relevant part of trace log:
--- snip ---
...
0027:Call ole32.CLSIDFromProgID(0033f694 L"Microsoft.Jet.OLEDB.4",0033f6e8)
ret=1f8c4495
...
0027:Ret ole32.CLSIDFromProgID() retval=800401f3 ret=1f8c4495
0027:Call msvcrt.wcsncpy(0033f68c,03992552 L"Microsoft.Jet.OLEDB.4.0;User
ID=Admin;Data Source=C:\\KOBOLD\\SHOAI.13\\KLM\\KLM.mdb;Mode=ReadWrite|Share
Deny None;Persist Security Info=False;",00000017) ret=1f8d44e8
...
0027:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0019a534
L"ADODB.Connection",00000010,0033f20c,00000800,00000000,00000000) ret=004044c2
0027:Ret KERNEL32.WideCharToMultiByte() retval=00000010 ret=004044c2
0027:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0019a714
L"C:\\windows\\HELP\\ADO270.CHM",0000001a,0033f208,00000800,00000000,00000000)
ret=004044c2
0027:Ret KERNEL32.WideCharToMultiByte() retval=0000001a ret=004044c2
0027:Call KERNEL32.WideCharToMultiByte(00000000,00000000,00199554 L"Provider
cannot be found. It may not be properly
installed.",0000003b,0033f200,00000800,00000000,00000000) ret=004044c2
0027:Ret KERNEL32.WideCharToMultiByte() retval=0000003b ret=004044c2
0027:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0033fa0c)
ret=00535a80
0027:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b8461c9 ip=7b8461c9
tid=0027
0027:trace:seh:raise_exception info[0]=00535a80
0027:trace:seh:raise_exception info[1]=013fe8a8
0027:trace:seh:raise_exception info[2]=800a0e7a
0027:trace:seh:raise_exception info[3]=00535a80
0027:trace:seh:raise_exception info[4]=007896a4
0027:trace:seh:raise_exception info[5]=0033fa5c
0027:trace:seh:raise_exception info[6]=0033fa28
0027:trace:seh:raise_exception eax=7b832d3d ebx=800a0e7a ecx=0000001c
edx=0033f964 esi=0033fa0c edi=0033f9d0
0027:trace:seh:raise_exception ebp=0033f9a8 esp=0033f944 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200287
...
--- snip ---
If you do 'winetricks -q jet40' here you will get into another bug (looks
familiar but I can't find it right now) and the app will always exit.
Without that, dismissing the dialog gets the main user interface shown.
Clicking 'Projekte' which seems to be replacement menu item for 'File' menu in
newer versions still causes the crash.
App exception dialog content:
--- snip ---
...
process id : $8
allocated memory : 15.22 MB
executable : S-Hoai.exe
exec. date/time : 2013-11-15 13:53
version : 13.0.3.165
bde version : 5.1.1.1
compiled with : Delphi 5
madExcept version : 3.0l
callstack crc : $58077b4b, $1e52fde8, $1e52fde8
exception number : 2
exception class : EAccessViolation
exception message : Zugriffsverletzung bei Adresse 007945D1 in Modul
'S-Hoai.exe'. Lesen von Adresse 00000000.
main thread ($9):
007945d1 +02d S-Hoai.exe UMain 4993 +4 TMain.UpDateHistoryList
00799eff +00f S-Hoai.exe UMain 8421 +8 TMain.MenuProjektClick
004955e8 +068 S-Hoai.exe Menus TMenuItem.Click
0049672b +027 S-Hoai.exe Menus TMenu.DispatchPopup
0048a9b7 +00f S-Hoai.exe Forms TCustomForm.WMInitMenuPopup
0049de31 +111 S-Hoai.exe Controls TControl.WndProc
004a097a +1d2 S-Hoai.exe Controls TWinControl.WndProc
00488c4a +3aa S-Hoai.exe Forms TCustomForm.WndProc
004a057c +02c S-Hoai.exe Controls TWinControl.MainWndProc
00485e28 +014 S-Hoai.exe Forms StdWndProc
7eccf70d +059 user32.dll CallWindowProcA
00588f9e +082 S-Hoai.exe TB97 3745 +13 TToolbar97.NewFormWindowProc
00485e28 +014 S-Hoai.exe Forms StdWndProc
7ec91f4a +05c user32.dll SendMessageW
7ec4fdb4 +511 user32.dll DefWindowProcA
7ec3e84d +181 user32.dll SetCursor
7eccf70d +059 user32.dll CallWindowProcA
004a0a52 +0ca S-Hoai.exe Controls TWinControl.DefaultHandler
00489e6e +05a S-Hoai.exe Forms TCustomForm.DefaultHandler
004a2107 +09f S-Hoai.exe Controls TWinControl.WMSysCommand
0048abd9 +055 S-Hoai.exe Forms TCustomForm.WMSysCommand
0049de31 +111 S-Hoai.exe Controls TControl.WndProc
004a097a +1d2 S-Hoai.exe Controls TWinControl.WndProc
00488c4a +3aa S-Hoai.exe Forms TCustomForm.WndProc
004a057c +02c S-Hoai.exe Controls TWinControl.MainWndProc
00485e28 +014 S-Hoai.exe Forms StdWndProc
7eccf70d +059 user32.dll CallWindowProcA
00588f9e +082 S-Hoai.exe TB97 3745 +13 TToolbar97.NewFormWindowProc
00485e28 +014 S-Hoai.exe Forms StdWndProc
7ec91f4a +05c user32.dll SendMessageW
7ec4fdb4 +511 user32.dll DefWindowProcA
7eccf70d +059 user32.dll CallWindowProcA
004a0a52 +0ca S-Hoai.exe Controls TWinControl.DefaultHandler
00489e6e +05a S-Hoai.exe Forms TCustomForm.DefaultHandler
0049e0c9 +015 S-Hoai.exe Controls TControl.WMNCLButtonDown
0048a909 +085 S-Hoai.exe Forms TCustomForm.WMNCLButtonDown
0049de31 +111 S-Hoai.exe Controls TControl.WndProc
004a097a +1d2 S-Hoai.exe Controls TWinControl.WndProc
00488c4a +3aa S-Hoai.exe Forms TCustomForm.WndProc
004a057c +02c S-Hoai.exe Controls TWinControl.MainWndProc
00485e28 +014 S-Hoai.exe Forms StdWndProc
7eccf70d +059 user32.dll CallWindowProcA
00588f9e +082 S-Hoai.exe TB97 3745 +13 TToolbar97.NewFormWindowProc
00485e28 +014 S-Hoai.exe Forms StdWndProc
7ec930c8 +1ae user32.dll DispatchMessageA
0048ee27 +083 S-Hoai.exe Forms TApplication.ProcessMessage
0048ee5e +00a S-Hoai.exe Forms TApplication.HandleMessage
0048f051 +081 S-Hoai.exe Forms TApplication.Run
0079facc +310 S-Hoai.exe sHoai 145 +37 initialization
modules:
00400000 S-Hoai.exe 13.0.3.165 C:\KOBOLD\shoai.13
1b5c0000 MSWSTR10.DLL 4.0.3829.2 C:\windows\system32
1f420000 msader15.dll 2.70.9001.0 C:\Program Files\Common Files\System\ADO
1f430000 msado15.dll 2.71.9030.0 C:\Program Files\Common Files\System\ADO
1f660000 MSDART.DLL 2.71.9031.4 C:\windows\system32
1f7b0000 ODBC32.DLL 3.520.9030.0 C:\windows\system32
1f800000 ODBCCP32.DLL 3.520.9030.0 C:\windows\system32
1f850000 odbcint.dll 3.520.9001.0 C:\windows\system32
1f8a0000 oledb32.dll 2.71.9031.4 C:\Program Files\Common Files\System\OLE
DB
1f910000 OLEDB32R.DLL 2.70.9001.0 C:\Program Files\Common Files\System\OLE
DB
4bde0000 IDAPI32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4c5e0000 idsql32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4c9e0000 IDR20007.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4cde0000 IDPDX32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4dde0000 IDDBAS32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4e1e0000 IDASCI32.DLL 5.1.1.1 C:\Program Files\Common Files\Borland
Shared
4e8e0000 BANTAM.DLL 1.0.0.8 C:\Program Files\Common Files\Borland
Shared
7b820000 KERNEL32.dll 5.1.2600.2180 C:\windows\system32
...
processes:
08 S-Hoai.exe 0 0 normal C:\KOBOLD\shoai.13
0e services.exe 0 0 normal C:\windows\system32
12 winedevice.exe 0 0 normal C:\windows\system32
1a plugplay.exe 0 0 normal C:\windows\system32
21 explorer.exe 0 0 normal C:\windows\system32
cpu registers:
eax = 00000000
ebx = 013e2ca4
ecx = 0033dd38
edx = 013e2ca4
esi = 013e528c
edi = 013e2ca4
eip = 007945d1
esp = 0033dd14
ebp = 0033dd38
...
disassembling:
[...]
007945c0 mov [ebp-8], eax
007945c3 jmp loc_7945c8
007945c5 4995 inc dword ptr [ebp-8]
007945c8 4993 mov eax, [ebp-4]
007945cb mov eax, [eax+$91f]
007945d1 > mov edx, [eax]
007945d3 call dword ptr [edx+$14]
007945d6 cmp eax, [ebp-8]
007945d9 jg loc_7945c5
007945db xor eax, eax
007945dd pop edx
[...]
--- snip ---
Trace log:
--- snip ---
...
0027:Call user32.GetSubMenu(000100ce,00000000) ret=0048aa42
0027:Ret user32.GetSubMenu() retval=000100d0 ret=0048aa42
0027:Ret window proc 0x2760fc8
(hwnd=0x100be,msg=WM_MENUSELECT,wp=00900000,lp=000100ce) retval=00000000
0027:Ret user32.CallWindowProcA() retval=00000000 ret=00588fa3
0027:Ret window proc 0x2760f87
(hwnd=0x100be,msg=WM_MENUSELECT,wp=00900000,lp=000100ce) retval=00000000
0027:Call window proc 0x2760f87
(hwnd=0x100be,msg=WM_INITMENUPOPUP,wp=000100d0,lp=00000000)
0027:Call user32.CallWindowProcA(02760fc8,000100be,00000117,000100d0,00000000)
ret=00588fa3
0027:Call window proc 0x2760fc8
(hwnd=0x100be,msg=WM_INITMENUPOPUP,wp=000100d0,lp=00000000)
0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7945d1 ip=007945d1
tid=0027
0027:trace:seh:raise_exception info[0]=00000000
0027:trace:seh:raise_exception info[1]=00000000
0027:trace:seh:raise_exception eax=00000000 ebx=013e2ca4 ecx=0033db58
edx=013e2ca4 esi=013e528c edi=013e2ca4
0027:trace:seh:raise_exception ebp=0033db58 esp=0033db34 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210246
0027:trace:seh:call_stack_handlers calling handler at 0x7945e5 code=c0000005
flags=0
...
--- snip ---
'TMain.UpDateHistoryList' -> could be MRU related since 'File' menu popup is
the standard place for such functionality (items appended at bottom).
User32 is definitely ranking low on my queue.
The bug is years old and the app is not very popular hence it can wait more ;-)
$ sha1sum testversionshoai13.exe
ee726de4309c6667c458296c4530102254fc7a20 testversionshoai13.exe
$ du -sh testversionshoai13.exe
38M testversionshoai13.exe
$ wine --version
wine-1.8-rc1
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list