New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Ar/libtool deadlock in 10.5

Post Reply New Thread Subscribe

Thread Tools

Member Since: Apr 28, 2008
Posts: 2
bfuller85 is on a distinguished road
Mac Specs: Mac Pro 2 x 2.8 GHz Quad-Core Intel Xeon running 10.5.2

bfuller85 is offline

I have been developing a C++/C project(both are used in different parts of the project) on OSX. The project is being configured and built using autotools. I began to use an singleton pattern for a configuration class, with static variables and getInstance() for an accessor function. When make clean and make are run repeatedly the system hardlocks during the ar command. The ar command being run is(obviously the names the object files have been changed):

ar cru .libs/libxxx.a a.o b.o c.o d.o e.o f.o g.o h.o i.o j.o k.o config.o

I was originally able to remove the behavior by removing some inlined code elsewhere in the project but the error is now occurring with the insertion of some fairly simple code:

Config * config = (*m_configs)[user];

Here m_configs is a pointer to a map(specifically map<string, Config *>) of instances of the Config class, this map is indexed by the user and this code is being inserted in the getInstance(user) function.

I am unable to post much more of my code but would appreciate any help or experience others have with this.

QUOTE Thanks

Member Since: Apr 28, 2008
Posts: 2
bfuller85 is on a distinguished road
Mac Specs: Mac Pro 2 x 2.8 GHz Quad-Core Intel Xeon running 10.5.2

bfuller85 is offline
Thanks to any time in try and solve this problem I appear to have isolated as a hardware issues. Thanks.
QUOTE Thanks

Post Reply New Thread Subscribe

« XCode Debugging From Source Code | System Information »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Problem with Epson Scanner and 10.5 provda Other Hardware and Peripherals 2 01-21-2008 01:28 AM
Mac Os X Leopard 10.5 Update Macman2000 OS X - Operating System 6 12-23-2007 11:43 PM
guest samba login to 10.5 JamesToddA Switcher Hangout 0 11-28-2007 10:15 AM
Wiping 10.5 & XP and re-installing 10.5 & Vista jhartford6 Running Windows (or anything else) on your Mac 5 11-20-2007 03:54 AM
OSX 10.5 Lepoard features Daniel 1989 UK OS X - Operating System 5 04-12-2006 08:36 PM

All times are GMT -4. The time now is 07:31 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?