Re: Debugging problem with XCode 2.3
Re: Debugging problem with XCode 2.3
- Subject: Re: Debugging problem with XCode 2.3
- From: Jim Ingham <email@hidden>
- Date: Thu, 15 Jun 2006 13:41:29 -0700
Grrr... We got the error before we printed the name of the library.
Can you try again, but this time edit the Executables tab in Xcode,
and add the environment variable:
DYLD_PRINT_LIBRARIES
set to 1 to the environment for you executable and run again. That
will get dyld to print the library names (which is what we respond to
by "reading symbols" from the libraries).
Thanks,
Jim
On Jun 15, 2006, at 10:57 AM, amir wrote:
I have filled a Bug ID# 4587990.
here are the last lines in the log file:
# didFinish Sequence: <PBXGDB_UpdateDataValueSequence: 0x6365240>
t=27.645943 Tepoch=1150393565.571739
<- (gdb)
# Enqueue seq in State Changing Q: <PBXGDB_ContinueControlSequence:
0x616cee0> t=28.372635 Tepoch=1150393566.298430
# Executing Sequence: <PBXGDB_ContinueControlSequence: 0x616cee0>
t=28.372807 Tepoch=1150393566.298602
-> 107-exec-continue
# PBXGDB_MIContinueExecutableCommand t=28.376813
Tepoch=1150393566.302609
<- 107^running
# processing result t=28.381845 Tepoch=1150393566.307641
# didFinish Sequence: <PBXGDB_ContinueControlSequence: 0x616cee0>
t=28.384413 Tepoch=1150393566.310209
<- (gdb)
<- ~"Reading symbols from /System/Library/Frameworks/
OpenGL.framework/Versions/A/Libraries/libGLImage.dylib..."
<- ~"done.\n"
<- ~"Reading symbols from /System/Library/Frameworks/
OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib..."
<- ~"done.\n"
<- ~"Reading symbols from /System/Library/Frameworks/
OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine..."
<- ~"done.\n"
<- BFD: BFD 2.16.91 20050815 internal error, aborting at /
SourceCache/gdb/gdb-477/src/bfd/cache.c line 517 in
bfd_cache_lookup_worker
<-
<- BFD: Please report this bug.
thanks,
amir.
On Jun 15, 2006, at 6:25 PM, Jim Ingham wrote:
I have one other report of this, but I don't have enough
information in that case yet to know what is happening. The error
is because gdb goes to open one of the dylibs in your app, and is
getting an error opening it. The error message doesn't tell more
than that.
If you make a file in your home directory called .gdbinit, and put
in it:
set verbose 1
Then rerun the Xcode Debugging session, gdb will print the names of
the files it is examining in the console window. That should help
figure out what file is causing the problem, at least. It would
also help to get the Xcode-gdb log, which you do by:
1) Quit Xcode.
2) In Terminal, say:
$ defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES
$ defaults write com.apple.Xcode PBXGDBDebuggerLogFileName /tmp/
IncludeInBug.log
3) Restart Xcode, and do whatever you need to to make it fail.
4) Attach /tmp/IncludeInBug.log to the Radar.
If you have the time to gather this information, could you file a
bug with bugreporter.apple.com? It's much easier to track bugs
than mailing list traffic.
Thanks,
Jim
On Jun 15, 2006, at 4:35 AM, amir wrote:
Hi,
I can not debug a plugin with XCode 2.3 , I run an application
which load a plugin(dll bundle) and the debbuger console shows the
following error:
"
BFD: BFD 2.16.91 20050815 internal error, aborting at /SourceCache/
gdb/gdb-477/src/bfd/cache.c line 517 in bfd_cache_lookup_worker
BFD: Please report this bug.
"
Is there a workaround?
thanks,
amir.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden