Troubles with Farpoint Spread controls

Marco Bizzarri m.bizzarri at icube.it
Wed Aug 8 02:19:14 CDT 2001


Andreas Mohr Usenet 08/01 wrote:
> 
> Marco Bizzarri <m.bizzarri at icube.it> wrote:
> > Hi all.
> 
> > The environment we are working on is a Red Hat Linux 6.2, with XFree 4.0
> > and KDE 2.1.
> 
> > The wine has been compiled using egcs-1.1.2. Wine itself is latest
> > snapshot (20010731).
> 
> > The application we're trying to run crashes when tries to display a
> > dialog box using Spread controls (from Farpoint). The crash occurs
> > during a WM_PAINT.
> 
> > By exploring the builind of the window, the control it is showing is a
> > scrollbar (lpszClass="SPR32D30ScrlBar").
> Can you set up winedbg properly ("Wine Debuggers Guide") and post
> a decent backtrace here ? (*Shift*-paste !)

Sorry, I didn't want to post anything before knowing what was required.

Here's the bt result:


No debug information in 32bit DLL 'C:\CCIWIN\CCITA.DLL' (0x100dd000)
No debug information in 32bit DLL 'C:\CCIWIN\CCITA.DLL' (0x100dd000)
First chance exception: page fault on read access to 0x00000064
 in 32-bit code (0x100951e1).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:008f GS:0000
 EIP:100951e1 ESP:405c1b60 EBP:405c1b90 EFLAGS:00010246(  R- 00  I  Z-
-P1 )
 EAX:0000121a EBX:00000c58 ECX:00000137 EDX:00002f60
 ESI:00000000 EDI:00000000
Stack dump:
Symbol h_errno is invalid
Symbol hack_digit is invalid
0x405c1b60 (__evoke_link_warning_getwd+0x270320):  00000c58 4076cf24
000009d8 00000000
0x405c1b70 (__evoke_link_warning_getwd+0x270330):  00000000 00000010
000000eb 4076cfa0
0x405c1b80 (__evoke_link_warning_getwd+0x270340):  00000c58 00000000
4076cf24 0000121a
0x405c1b90 (__evoke_link_warning_getwd+0x270350):  405c1c28 10094fd0
000030ac 00000c58
0x405c1ba0 (__evoke_link_warning_getwd+0x270360):  405c1bb8 00000000
00000001 407259f8
0x405c1bb0 (__evoke_link_warning_getwd+0x270370):  000009d8 00000000
00000000 00000000
0x405c1bc0 (__evoke_link_warning_getwd+0x270380): 

0011: sel=008f base=40116ac0 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x100951e1 (SPR32D30.DLL._SSSetXtra at 16+0x5ba in
C:\CCIWIN\SPR32D30.DLL) (ebp=405c1b90)
  1 0x10094fd0 (SPR32D30.DLL._SSSetXtra at 16+0x3a9 in
C:\CCIWIN\SPR32D30.DLL) (ebp=405c1c28)
  2 0x406f30d7 (WINPROC_wrapper+0x17 in libuser32.so) (ebp=405c1c4c)
  3 0x406f3150 (WINPROC_CallWndProc+0x70(proc=0x10094d32, hwnd=0x30ac,
msg=0xf, wParam=0x0, lParam=0x0) [winproc.c:171] in libuser32.so)
(ebp=405c1c74)
  4 0x406f89d7 (CallWindowProcA+0x93(func=0x40ca0c18, hwnd=0x30ac,
msg=0xf, wParam=0x0, lParam=0x0) [winproc.c:2599] in libuser32.so)
(ebp=405c1c9c)
  5 0x406db622 (DispatchMessageA+0xd2(msg=0x46e660) [message.c:2443] in
libuser32.so) (ebp=405c1ce0)
  6 0x0043aad5 (<Debugged process>.EntryPoint+0x10180 in <Debugged
process>) (ebp=0046e660)
  7 0x0000000f (ebp=000030ac)

0x100951e1 (SPR32D30.DLL._SSSetXtra at 16+0x5ba in C:\CCIWIN\SPR32D30.DLL):
cmpl  %esi,0x64(%edi)
Wine-dbg>

Here's also the DLL I'm using:

Module  Address                 Name    55 modules
PE      0x00400000-0046e000     <Debugged process>
ELF     0x08049000-0804c73c     /usr/local/bin/wine
PE      0x10000000-10046000     C:\CCIWIN\RET_DLL.DLL
PE      0x10046000-100dd000     C:\CCIWIN\SPR32D30.DLL
PE      0x100dd000-10193000     C:\CCIWIN\CCITA.DLL
PE      0x100dd000-10193000     C:\CCIWIN\CCITA.DLL
PE      0x1ff50000-1ff7b200     C:\CCIWIN\LTIMG12N.DLL
PE      0x1ffc0000-1ffe3e00     C:\CCIWIN\LTFIL12N.DLL
PE      0x1fff0000-20058400     C:\CCIWIN\LTKRN12N.DLL
PE      0x20059000-200a2200     C:\CCIWIN\LTDIS12N.DLL
ELF     0x40000000-40013ed0     /lib/ld-linux.so.2
ELF     0x40018000-40019d20     /usr/lib/gconv/ISO8859-1.so
ELF     0x40020000-40117ca8     /usr/local/lib/libntdll.so
  \-PE  0x4005b000-4005d000     NTDLL.DLL
ELF     0x40118000-4012d9c0     /usr/local/lib/libwine.so
ELF     0x4012e000-401f57d0     /usr/local/lib/libwine_unicode.so
ELF     0x401f6000-4023702c     /usr/lib/libncurses.so.4
ELF     0x40239000-402559d8     /lib/libm.so.6
ELF     0x40256000-40258a68     /lib/libutil.so.1
ELF     0x40259000-4025c08c     /lib/libdl.so.2
ELF     0x4025d000-4035183c     /lib/libc.so.6
ELF     0x405d7000-406534fc     /usr/local/lib/libkernel32.so
  \-PE  0x40607000-40609000     KERNEL32.DLL
ELF     0x40654000-40729480     /usr/local/lib/libuser32.so
  \-PE  0x40682000-40684000     USER32.DLL
ELF     0x4072a000-407963bc     /usr/local/lib/libgdi32.so
  \-PE  0x40746000-40748000     GDI32.DLL
ELF     0x40797000-407b42ec     /usr/local/lib/libadvapi32.so
  \-PE  0x407a5000-407a7000     ADVAPI32.DLL
ELF     0x407b5000-4080f2e8     /usr/local/lib/libcomdlg32.so
  \-PE  0x407c1000-407c3000     COMDLG32.DLL
ELF     0x40810000-40872ef8     /usr/local/lib/libshell32.so
  \-PE  0x4082a000-4082c000     SHELL32.DLL
ELF     0x40873000-4089f19c     /usr/local/lib/libshlwapi.so
  \-PE  0x40888000-4088a000     SHLWAPI.DLL
ELF     0x408a0000-40916b88     /usr/local/lib/libcomctl32.so
  \-PE  0x408ac000-408ae000     COMCTL32.DLL
ELF     0x40917000-4092ae14     /usr/local/lib/libwinspool.drv.so
  \-PE  0x4091e000-40920000     WINSPOOL.DRV
ELF     0x40940000-40995f28     /usr/local/lib/libx11drv.so
  \-PE  0x40954000-40956000     X11DRV.DLL
ELF     0x40996000-409a2138     /usr/local/lib/libwine_tsx11.so
ELF     0x409a3000-409ac27c     /usr/X11R6/lib/libSM.so.6
ELF     0x409ad000-409c3ed0     /usr/X11R6/lib/libICE.so.6
ELF     0x409c4000-409d19f4     /usr/X11R6/lib/libXpm.so.4
ELF     0x409d2000-40b39c90     /usr/X11R6/lib/libGL.so.1
ELF     0x40b3a000-40b55fc0     /usr/X11R6/lib/libGLU.so.1
ELF     0x40b56000-40b6315c     /usr/X11R6/lib/libXext.so.6
ELF     0x40b64000-40c2e7dc     /usr/X11R6/lib/libX11.so.6
ELF     0x40c2f000-40c43c68     /usr/X11R6/lib/libXmu.so.6
ELF     0x40c44000-40c4b700     /usr/X11R6/lib/libXi.so.6
ELF     0x40c4c000-40c96b88     /usr/X11R6/lib/libXt.so.6
PE      0x78000000-78040000     C:\WINDOWS\SYSTEM\MSVCRT.DLL
PE      0x7efe0000-7eff1000     C:\WINDOWS\SYSTEM\CTL3D32.DLL
PE      0x7ff20000-7ffe1000     C:\WINDOWS\SYSTEM\OLE32.DLL
Wine-dbg>


Let me know if you need any other intformation (wine --debugmsg output,
or else)

I'm also trying to disassemble the Spread DLL to discover where it is
failing.

> > A very strange behaviour is that the window does not appear to be linked
> > in the parent/sibling structure. I mean:
> Might be troubling, yes.
> 
> --
> Andreas Mohr, Renningen, Germany
> In case you need to contact me after expiry of temporary email address:
> my real address is (initial of first name).(last name)@mailto.de
> _______________________________________________
> wine-users mailing list
> wine-users at winehq.com
> http://www.winehq.com/mailman/listinfo/wine-users

-- 
Marco Bizzarri - Responsabile Tecnico - Icube S.r.l.
Sede:   Via Ridolfi 15 - 56124 Pisa (PI), Italia 
E-mail: m.bizzarri at icube.it		WWW: www.icube.it	
Tel: 	(+39) 050 97 02 07		Fax: (+39) 050 31 36 588




More information about the wine-users mailing list