gnustep-dev
[Top][All Lists]
Advanced

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

Re: My first app


From: Vincent Richomme
Subject: Re: My first app
Date: Tue, 16 Mar 2010 23:13:26 +0100
User-agent: RoundCube Webmail/0.2

On Tue, 16 Mar 2010 15:40:36 -0600, Adam Fedor <address@hidden>
wrote:
> On Mar 16, 2010, at 3:38 PM, Adam Fedor wrote:
>> 
>> You have two different backends, with names that are different from the
>> default backend name (--with-name), so you have to tell GNUstep which
one
>> to use.  Try something like this:
>> 
>> defaults write NSGlobalDomain GSBackend cairo
>> 
> 
> Err, also note that cairo probably doesn't work on Windows...


$ defaults write NSGlobalDomain GSBackend cairo
2010-03-16 22:41:33.625 defaults[3576] Defaults path 'C:/GNUstep/Defaults'
did not exist - created it
2010-03-16 22:41:33.625 defaults[3576] Creating empty user defaults
database

Problem is on my harddrive I have 1 GNUstep install in C:/GNUstep
but this is not my current sandbox C:/Developer/Mingw-NG.
So I suppose you are using some kind of registry key with this defaults
stuff...

Finally I have recompiled with default name and I am progressing but
unfortunately
it crashs :

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ?? ()
(gdb) continue
Continuing.
warning: 2010-03-16 23:09:21.718 ProjectCenter[1652] The font specified
for NSFont, Helvetica, can't be found.

warning: HEAP[ProjectCenter.exe]:
warning: Invalid Address specified to RtlFreeHeap( 003E0000, 0022F720 )


Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ?? ()

-------------------

When I let Visual debug it I get :

Unhandled exception at 0x67848f57 (objc-1.dll) in ProjectCenter.exe:
0xC0000005: Access violation reading location 0xdeadfaee.

objc_msg_lookup:
67848F30 55               push        ebp  
67848F31 89 E5            mov         ebp,esp 
67848F33 83 EC 58         sub         esp,58h 
67848F36 89 5D F4         mov         dword ptr [ebp-0Ch],ebx 
67848F39 8B 5D 08         mov         ebx,dword ptr [ebp+8] 
67848F3C 8B 45 0C         mov         eax,dword ptr [ebp+0Ch] 
67848F3F 89 75 F8         mov         dword ptr [ebp-8],esi 
67848F42 89 7D FC         mov         dword ptr [ebp-4],edi 
67848F45 85 DB            test        ebx,ebx 
67848F47 89 45 C4         mov         dword ptr [ebp-3Ch],eax 
67848F4A 0F 84 93 00 00 00 je          objc_msg_lookup+0B3h (67848FE3h) 
67848F50 8B 08            mov         ecx,dword ptr [eax] 
67848F52 8B 03            mov         eax,dword ptr [ebx] 
67848F54 0F B7 F9         movzx       edi,cx 
67848F57 8B 50 20         mov         edx,dword ptr [eax+20h] 
67848F5A 89 C8            mov         eax,ecx 


So problem seems to be inside objc_msg_lookup.


No idea how to fix it.





reply via email to

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