Trouble running mongod

11 views
Skip to first unread message

mikong

unread,
Jul 22, 2009, 12:11:49 AM7/22/09
to mongodb-user
Hi.
Just checking if someone else encountered this. I extracted version
0.9.6 of mongoDB for OSX on my OSX Tiger machine. When I run mongod,
nothing gets logged in the terminal and my CPU just shoots up and
stays up for a while. I waited a bit but I'm not really comfortable
keeping my CPU temp above 80 degrees Celsius (above 176 degrees
Fahrenheit), so I would stop it. I've seen this being run on my
friend's OSX machine (though it's a Leopard) and it doesn't really use
much CPU so I don't think waiting for something to happen in my case
would work. Any clues would help.

Thanks.

Eliot Horowitz

unread,
Jul 22, 2009, 12:22:25 AM7/22/09
to mongod...@googlegroups.com
I guess it could be a tiger issue - need to find a tiger machine to run it on.

Could you run it in gbd and then see where it is?

gdb mongod
run run
ctrl-c
info threads
where

mikong

unread,
Jul 22, 2009, 12:39:16 AM7/22/09
to mongodb-user
Hi Eliot, thanks for the quick response. Here's the output from gdb:

run run:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x9010c812 in _malloc_initialize ()

info threads:

* 1 process 706 local thread 0xf03 0x9010c812 in _malloc_initialize
()

where:

#0 0x9010c812 in _malloc_initialize ()
#1 0x90002417 in malloc ()
#2 0x90b4e5b3 in operator new ()
#3 0x001343bc in mongo::setupSignals ()
#4 0x00139567 in main ()

mikong

unread,
Jul 22, 2009, 12:53:28 AM7/22/09
to mongodb-user
Tried the nightly build (2009-07-21). With a normal run, I get a "Bus
error". Tried gdb with it:

run run (same logs as above)

info threads (similar as above)

where:

#0 0x9010c812 in _malloc_initialize ()
#1 0x90002417 in malloc ()
#2 0x90b4e5b3 in operator new ()
#3 0x90b2dfb6 in std::string::_Rep::_S_create ()
#4 0x90b2f57d in std::string::_S_construct<char const*> ()
#5 0x90b2f711 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string ()
#6 0x00139d96 in main ()

Eliot Horowitz

unread,
Jul 22, 2009, 1:04:37 AM7/22/09
to mongod...@googlegroups.com
There must be an issue with tiger...
Will see if i can find a tiger machine to mess with tomorrow.

mikong

unread,
Jul 22, 2009, 1:11:35 AM7/22/09
to mongodb-user
Thanks

Sam Corder

unread,
Jul 25, 2009, 11:51:22 AM7/25/09
to mongodb-user
I can confirm that the problem goes back to at least version 0.8.0 on
my Tiger MBP OS X 10.4.11.

On Jul 22, 1:04 am, Eliot Horowitz <eliothorow...@gmail.com> wrote:
> There must be an issue with tiger...
> Will see if i can find a tiger machine to mess with tomorrow.
>

mikong

unread,
Jul 26, 2009, 11:15:42 PM7/26/09
to mongodb-user
Thanks for confirming this issue. I was getting worried that the
problem is only with my machine. I also tried older versions, and I
have the same problem though I didn't go as far back as 0.8.0.

mikong

unread,
Jul 29, 2009, 9:51:53 PM7/29/09
to mongodb-user
FYI, the error still occurs in 0.9.7.

Eliot Horowitz

unread,
Jul 29, 2009, 9:53:35 PM7/29/09
to mongod...@googlegroups.com
We just got a tiger machine today - should have a tiger build up soon.

mikong

unread,
Jul 29, 2009, 9:57:00 PM7/29/09
to mongodb-user
Nice :)

teem

unread,
Aug 6, 2009, 5:45:25 AM8/6/09
to mongodb-user
Hi! Any updates on this issue?

Thanks!
teem

On Jul 30, 9:53 am, Eliot Horowitz <eliothorow...@gmail.com> wrote:
> We just got atigermachine today - should have atigerbuild up soon.

Michael Dirolf

unread,
Aug 6, 2009, 10:12:35 AM8/6/09
to mongod...@googlegroups.com
We have a Tiger machine set up and have reproduced the error - working
on a fix, hopefully will have something in the next few days.

mikong

unread,
Aug 12, 2009, 1:44:22 AM8/12/09
to mongodb-user
Do you think the fix will be on 0.9.8? Or is it planned after, like
1.0?

Eliot Horowitz

unread,
Aug 12, 2009, 7:56:47 AM8/12/09
to mongod...@googlegroups.com
We're going to try to get it in 0.9.8.

Sam Corder

unread,
Aug 12, 2009, 9:47:52 AM8/12/09
to mongodb-user
Is it in any of the nightlies yet?

On Aug 12, 7:56 am, Eliot Horowitz <eliothorow...@gmail.com> wrote:
> We're going to try to get it in 0.9.8.
>

Michael Dirolf

unread,
Aug 12, 2009, 9:49:50 AM8/12/09
to mongod...@googlegroups.com
Not yet - we'll post to this thread when it's fixed.

mikong

unread,
Aug 17, 2009, 8:20:53 AM8/17/09
to mongodb-user
The Tiger issue was marked as fixed here: http://jira.mongodb.org/browse/SERVER-231

Checking the buildbot, http://buildbot.mongodb.org, OS X 10.4 build
was successful (although the nightly version still failed).

But I'm still getting the error when using the OS X 32-bit version
from the Downloads section. Anyway, I'll be trying to build this from
source. The instructions in the Building for OS X page seem pretty
straightforward (http://www.mongodb.org/display/DOCS/Building+for+OS
+X).

Michael Dirolf

unread,
Aug 17, 2009, 9:49:34 AM8/17/09
to Michael Dirolf, mongod...@googlegroups.com
Can you try this build?

http://downloads.mongodb.org/osx/mongodb-osx-i386-tiger-latest.tgz

On Aug 17, 2009, at 8:53 AM, Michael Dirolf wrote:

> We'll end up having a separate build for tiger - so the 32-bit
> regular os x build isn't expected to work. We should be getting the
> tiger build up and running for people to test sometime today.
>
> Building from source should also work though.

Michael Dirolf

unread,
Aug 17, 2009, 8:53:48 AM8/17/09
to mongod...@googlegroups.com
We'll end up having a separate build for tiger - so the 32-bit regular
os x build isn't expected to work. We should be getting the tiger
build up and running for people to test sometime today.

Building from source should also work though.

On Aug 17, 2009, at 8:20 AM, mikong wrote:

>

mikong

unread,
Aug 17, 2009, 12:20:12 PM8/17/09
to mongodb-user
The mongodb-osx-i386-tiger-latest.tgz works! Thanks :)

Michael Dirolf

unread,
Aug 17, 2009, 1:12:53 PM8/17/09
to mongod...@googlegroups.com
Great - we've added a link on the downloads section of the wiki.

On Aug 17, 2009, at 12:20 PM, mikong wrote:

>
> The mongodb-osx-i386-tiger-latest.tgz works! Thanks :)
> >

Reply all
Reply to author
Forward
0 new messages