gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Win32 Cairo backend : strange behavior...


From: xavier . glattard
Subject: Re: Win32 Cairo backend : strange behavior...
Date: Fri, 22 Dec 2006 14:26:46 +0100
User-agent: Internet Messaging Program (IMP) 3.2.5

Selon David Wetzel <address@hidden>:

> Xavier wrote:
>
> > In fact i need to insert some NSLog in my code  to avoid Gorm
> > crash  !!
> > These NSLog have to be at the right place, or Calculator fails
> > to
> > create windows
>
> did you try to run your app in gdb?
> setting a break point on [NSException raise] helps usually.
> Backtrace is also a helpful tool.
>
> dave

I didn't try to run Gorm in gdb because sometimes it runs fine !

An other weird behavior : if i uncomment an other NSLog (always
in the same Win32CairoGlitzSurface method) i get a glitz error
'couldn't find ARGB32 surface format' (glitz_find_standard_format)
_before_ the execution of the new NSLog (but at the 2nd invocation
of the method).

I dont understand how a std output can corrupt a program or
change the result of an opengl(glitz) call.

IMHO the reason of all this is either :
 - a gcc 4.1 bug
 - a mingw bug
 - a video driver bug
 - a wrong library configuration
 - a thread conflict
 - another weird thing i cant understand

Here is a try with gdb in a case where Gorm cant start and ends
with 'couldn't find ARGB32 surface format' (exit 1).
See a full backtrace below - i dont understand anything :o\
The call came from ntdll.dll, from atioglxx.dll, from libglitz-1.exe, from
ntdll.dll, from atioglxx.dll, from -[NSTableView highlightSelectionInClipRect:]
But first gdb gives a warning :
  warning: HEAP[Gorm.exe]:
  warning: Invalid Address specified to RtlReAllocateHeap( 003D0000, 014C53A0 )
My gdb seems buggy :-\

I see a call to 'ntdll!RtlFreeThreadActivationContextStack'
Could it be a thread conflict error ?

Gorm GSBackend is default to 'GlitzCairo-012', that's the name
of my backend. But each time i launch Gorm, i get :
'Did not find correct version of backend, falling back to std.'
I dont know what that means. Could it be the reason ?
Same message with Calculator or GFractal examples
(the last is very very sloooooowww)

Any ideas ? Thanks :-)

Xavier

-----

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c911231 in ntdll!DbgUiConnectToDbg () from ntdll.dll

warning: HEAP[Gorm.exe]:
warning: Invalid Address specified to RtlReAllocateHeap( 003D0000, 014C53A0 )

bt
#0  0x7c911231 in ntdll!DbgUiConnectToDbg () from ntdll.dll
#1  0x7c97c943 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#2  0x0022f4bc in ?? ()
#3  0x7c97cd80 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#4  0x014c5398 in ?? ()
#5  0x003d0000 in ?? ()
#6  0x014c53a0 in ?? ()
#7  0x0022f558 in ?? ()
#8  0x7c97da4e in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#9  0x003d0000 in ?? ()
#10 0x014c5398 in ?? ()
#11 0x7c97dd74 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#12 0x003d0000 in ?? ()
#13 0x014c53a0 in ?? ()
#14 0x40000060 in ?? ()
#15 0x0c3f5fd0 in ?? ()
#16 0x003d0000 in ?? ()
#17 0x0000002c in ?? ()
#18 0x00000009 in ?? ()
#19 0x0022f520 in ?? ()
#20 0x7c97cde9 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#21 0x003d0000 in ?? ()
#22 0x00000000 in ?? () from
#23 0x0c6240c8 in ?? ()
#24 0x003d0000 in ?? ()
#25 0x0c624090 in ?? ()
#26 0x0022f5a8 in ?? ()
#27 0x7c91ee18 in strchr () from ntdll.dll
#28 0x7c927bb8 in ntdll!RtlRealPredecessor () from ntdll.dll
#29 0x00000000 in ?? () from
#30 0x003d0000 in ?? ()
#31 0x00000000 in ?? () from
#32 0x000004a0 in ?? ()
#33 0x003d0000 in ?? ()
#34 0x003d0608 in ?? ()
#35 0x7c97dd25 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#36 0x014c5398 in ?? ()
#37 0x0c624090 in ?? ()
#38 0x00000000 in ?? () from
#39 0x01690000 in ?? ()
#40 0x0022f4d0 in ?? ()
#41 0x7c9206eb in ntdll!RtlAppendStringToString () from ntdll.dll
#42 0x0022f730 in ?? ()
#43 0x7c91ee18 in strchr () from ntdll.dll
#44 0x7c97dd48 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#45 0x00000001 in ?? ()
#46 0x0022f740 in ?? ()
#47 0x7c95c651 in ntdll!RtlInsertElementGenericTableAvl () from ntdll.dll
#48 0x003d0000 in ?? ()
#49 0x50000161 in ?? ()
#50 0x014c53a0 in ?? ()
#51 0x00000488 in ?? ()
#52 0x00000000 in ?? () from
#53 0x014c53a0 in ?? ()
#54 0x00000488 in ?? ()
#55 0x0022f5f0 in ?? ()
#56 0x00000048 in ?? ()
#57 0x003d0000 in ?? ()
#58 0x0c2e1dd0 in ?? ()
#59 0x0c6240c8 in ?? ()
#60 0x0c624088 in ?? ()
#61 0x0c3f0000 in ?? ()
#62 0x0c624090 in ?? ()
#63 0x01400000 in ?? ()
#64 0x0022f530 in ?? ()
#65 0x01010102 in ?? ()
#66 0x0022f790 in ?? ()
#67 0x7c91ee18 in strchr () from ntdll.dll
#68 0x7c97dd48 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#69 0xffffffff in ?? ()
#70 0x7c97dd25 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll
#71 0x7c95c651 in ntdll!RtlInsertElementGenericTableAvl () from ntdll.dll
#72 0x003d0000 in ?? ()
#73 0x50000161 in ?? ()
#74 0x0c624090 in ?? ()
#75 0x7c927bb0 in ntdll!RtlRealPredecessor () from ntdll.dll
#76 0x00000000 in ?? () from
#77 0x0c624090 in ?? ()
#78 0x00000030 in ?? ()
#79 0x40000060 in ?? ()
#80 0x0c400000 in ?? ()
#81 0x0022f7dc in ?? ()
#82 0x00000000 in ?? () from
#83 0x0c551e28 in ?? ()
#84 0x018f3f40 in ?? ()
#85 0x692c30fe in atiPPHSN () from C:\WINDOWS\system32\atioglxx.dll
#86 0x00001908 in ?? ()
#87 0x00000001 in ?? ()
#88 0x00000000 in ?? () from
#89 0x0000805b in ?? ()
#90 0x018f3f40 in ?? ()
#91 0x00000000 in ?? () from
#92 0x0c551e28 in ?? ()
#93 0x0c400000 in ?? ()
#94 0x692af21e in atiPPHSN () from C:\WINDOWS\system32\atioglxx.dll
#95 0x00000000 in ?? () from
#96 0x00000000 in ?? () from
#97 0x00000000 in ?? () from
#98 0x00000000 in ?? () from
#99 0x00000000 in ?? () from
#100 0x00000001 in ?? ()
#101 0x00000001 in ?? ()
#102 0x00000001 in ?? ()
#103 0x015cf2f4 in _texture_formats ()
   from c:\Dev\MinGW\local\bin\libglitz-1.exe
#104 0x0c400000 in ?? ()
#105 0x0022f868 in ?? ()
#106 0x00000154 in ?? ()
#107 0x00000001 in ?? ()
#108 0x00000000 in ?? () from
#109 0x00000000 in ?? () from
#110 0x00000000 in ?? () from
#111 0x00000000 in ?? () from
#112 0x00000001 in ?? ()
#113 0x00000001 in ?? ()
#114 0x00010000 in ?? ()
#115 0x00000000 in ?? () from
#116 0x01690000 in ?? ()
#117 0x00000000 in ?? () from
#118 0x00000000 in ?? () from
#119 0x00000000 in ?? () from
#120 0x00000000 in ?? () from
#121 0x00000000 in ?? () from
#122 0x01000000 in ?? ()
#123 0x00000000 in ?? () from
#124 0x0022f5d4 in ?? ()
#125 0x00000081 in ?? ()
#126 0x0022f768 in ?? ()
#127 0x7c91ee18 in strchr () from ntdll.dll
#128 0x7c936ac8 in ntdll!iswdigit () from ntdll.dll
#129 0xffffffff in ?? ()
#130 0x7c936abe in ntdll!iswdigit () from ntdll.dll
#131 0x7c9368ad in ntdll!iswdigit () from ntdll.dll
#132 0x01690000 in ?? ()
#133 0x40000060 in ?? ()
#134 0x7c92056d in ntdll!RtlFreeThreadActivationContextStack () from ntdll.dll
#135 0x022da5c0 in ?? ()
#136 0x0c3f5fd8 in ?? ()
#137 0x0022f7dc in ?? ()
#138 0x691480a5 in atiPPHSN () from C:\WINDOWS\system32\atioglxx.dll
#139 0x00000000 in ?? () from
#140 0x0000ef86 in ?? ()
#141 0x0022f7f4 in ?? ()
#142 0x69349583 in DllMain () from C:\WINDOWS\system32\atioglxx.dll
#143 0xf7010805 in ?? ()
#144 0x00007306 in ?? ()
#145 0x00000050 in ?? ()
#146 0x0022f6fc in ?? ()
#147 0x00000040 in ?? ()
#148 0x0022f7f4 in ?? ()
#149 0x0022f7a8 in ?? ()
#150 0x0022f834 in ?? ()
#151 0x00000010 in ?? ()
#152 0x00600301 in -[NSTableView highlightSelectionInClipRect:] (
    self=0x14c5398, _cmd=0x3d0000, clipRect=
        {origin = {x = 3.75288804e-038, y = 3.21041962e-039}, size = {width =
6.30771657e+036, height = 5.60196527e-039}})
    at C:/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:385
(gdb) Previous frame inner to this frame (corrupt stack?)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]