debugger problems

Chris Morgan cmorgan at alum.wpi.edu
Wed Nov 26 08:01:10 CST 2003


Checked in /wine/dlls/winmm/wineoss/Makefile and 
winejack/Makefile and both look the same and have:

CFLAGS = -g -O2

I also see -g in the options when compiling the object 
files for the driver.

I'm using gcc 3.3.2, running debian unstable, maybe this 
is the issue?

Chris


On Wed, 26 Nov 2003 13:41:25 +0000
  Mike Hearn <mike at theoretic.com> wrote:
>Strange, it looks like Wine wasn't compiled with debug 
>info... try make
>install CFLAGS="-g" in the offending DLL and see if that 
>helps....
>
>On Wed, 2003-11-26 at 03:25, Chris Morgan wrote:
>> I'm trying to debug a crash in some changes to the jack 
>> audio driver and can't seem to have the wine debugger 
>>show 
>> me the actual source code of the crash. I start up the 
>> debugger and get this:
>> 
>> oaded debug information from ELF 'wine' ((nil))
>> No debug information in 32bit DLL 'C:\Program 
>> Files\winamp\Winamp.exe' (0x400000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x401d0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x404b0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x408c0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40840000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x406f0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x40a00000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x40980000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x40a50000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x40aa0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x40900000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x40b50000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV' (0x40c40000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\COMDLG32.DLL' (0x40bd0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL' (0x40c80000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40e10000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\WINEJACK.DRV' (0x410e0000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0x41130000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0x41120000)
>> No debug information in 32bit DLL 
>> 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x41270000)
>> In 32-bit mode.
>> Wine-dbg>
>> 
>> I run and get a crash:
>> 
>> Backtrace:
>> =>0 0x41101541 (WINEJACK.DRV..data+0x14541) 
>>(ebp=42b87748)
>>    1 0x410e6cbf (WINEJACK.DRV..text+0x5cbf in 
>> WINEJACK.DRV) (ebp=42b877cc)
>>    2 0x410e7e10 (WINEJACK.DRV..text+0x6e10 in 
>> WINEJACK.DRV) (ebp=42b87804)
>>    3 0x410e9111 (WINEJACK.DRV.wodMessage+0x131 in 
>> WINEJACK.DRV) (ebp=42b8783c)
>>    4 0x40b70999 (WINMM.DLL.joySetThreshold+0xd89 in 
>> WINMM.DLL) (ebp=42b878ac)
>>    5 0x40b711a4 (WINMM.DLL.joySetThreshold+0x1594 in 
>> WINMM.DLL) (ebp=42b878dc)
>>    6 0x40b813e6 (WINMM.DLL.midiStreamStop+0x266 in 
>> WINMM.DLL) (ebp=42b87948)
>>    7 0x40b818f4 (WINMM.DLL.waveOutOpen+0x54 in 
>>WINMM.DLL) 
>> (ebp=42b87974)
>>    8 0x41121362 (MSACM.DRV..text+0x362 in MSACM.DRV) 
>> (ebp=42b879a8)
>>    9 0x4112158b (MSACM.DRV..text+0x58b in MSACM.DRV) 
>> (ebp=42b87a14)
>>    10 0x411225e7 (MSACM.DRV.wodMessage+0xe7 in 
>>MSACM.DRV) 
>> (ebp=42b87a4c)
>>    11 0x40b70999 (WINMM.DLL.joySetThreshold+0xd89 in 
>> WINMM.DLL) (ebp=42b87abc)
>>    12 0x40b711a4 (WINMM.DLL.joySetThreshold+0x1594 in 
>> WINMM.DLL) (ebp=42b87aec)
>>    13 0x40b813e6 (WINMM.DLL.midiStreamStop+0x266 in 
>> WINMM.DLL) (ebp=42b87b58)
>>    14 0x40b818f4 (WINMM.DLL.waveOutOpen+0x54 in 
>>WINMM.DLL) 
>> (ebp=42b87b84)
>>    15 0x42a69ca6 (DSOUND.DLL.DirectSoundCreate8+0x5d6 in 
>> DSOUND.DLL) (ebp=42b87c44)
>>    16 0x425f90eb (OUT_DS.DLL..text+0x10eb in OUT_DS.DLL) 
>> (ebp=00000000)
>> 
>> 0x41101541 (WINEJACK.DRV..data+0x14541): movb 
>>   %al,0x0(%edx)
>> Wine-dbg>list
>> Enter path to file '':
>> 
>> What am I doing wrong here?
>> 
>> Chris
>> 
>
>
>




More information about the wine-devel mailing list