Mongodb 2+ 64bit crashes (Segmentation Fault) on OpenIndiana

Showing 1-4 of 4 messages
Mongodb 2+ 64bit crashes (Segmentation Fault) on OpenIndiana Kirill Ponazdyr 6/5/12 4:13 AM
Hello,

We are trying to get 64bit MongoDB running on OpenIndiana,
unfortunately 64 bit builds of versions 2+ always crash. This happens
on both pre-compiled and in house build binaries. In house we build
using supplied js code and 1.49.0 boost libraries.

Pre-Build 1.8.5 are OK in both 32 and 64 bit
Pre-Build 2.0.5 are OK in 32 bit but crash in 64
Pre-Build 2.0.6 are OK in 32 bit but crash in 64
Pre-Build 2.1.1 are OK in 32 bit but crash in 64
Self build 2.0.5 are crashing in 64 bit, did not try 32bit

Here is error from pre-build 2.0.5, 64 bit
----------------------------------------------------------------------------------------------
Tue Jun  5 13:04:17 Invalid access at address: 0x2853
Tue Jun  5 13:04:17 Got signal: 11 (Segmentation Fault).
Tue Jun  5 13:04:17 Backtrace:
----------------------------------------------------------------------------------------------

Here is error from pre-build 2.1.1, 64 bit with backtrace
----------------------------------------------------------------------------------------------
db level locking enabled: 1
Tue Jun  5 13:10:41 BackgroundJob starting: DataFileSync
Tue Jun  5 13:10:41 shardObjTest passed
Tue Jun  5 13:10:41 versionCmpTest passed
Tue Jun  5 13:10:41 Invalid access at address: 0xc3158d from thread:

Tue Jun  5 13:10:41 Got signal: 11 (Segmentation Fault).

Tue Jun  5 13:10:41 Backtrace:
0x948c52 0x6d6ccb 0x6d7052 0xfffffd7fff267336 0xfffffd7fff259ebc
0xc3158d 0xfffffd7fff26ed25 0xfffffd7ff7e53ed9 0x95ba74 0xf1fc2a
0x815d1d 0x6de666 0x6d5c6c
 /opt/mongodb/bin/mongod'_ZN5mongo15printStackTraceERSo+0x32
[0x948c52]
 /opt/mongodb/bin/mongod'_ZN5mongo10abruptQuitEi+0x39b [0x6d6ccb]
 /opt/mongodb/bin/
mongod'_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x252
[0x6d7052]
 /lib/amd64/libc.so.1'__sighndlr+0x6 [0xfffffd7fff267336]
 /lib/amd64/libc.so.1'call_user_handler+0x2a4 [0xfffffd7fff259ebc]
 /opt/mongodb/bin/mongod'0x83158d [0xc3158d]
 /lib/amd64/libc.so.1'_SUNW_Unwind_RaiseException+0x55
[0xfffffd7fff26ed25]
 /usr/gcc/4.6/lib/amd64/libstdc++.so.6.0.16'__cxa_throw+0x59
[0xfffffd7ff7e53ed9]
 /opt/mongodb/bin/mongod'_ZN5mongoL13_versionArrayEPKc+0x214
[0x95ba74]
 /opt/mongodb/bin/mongod'_ZN5mongo16VersionArrayTest3runEv+0x8ba
[0xf1fc2a]
 /opt/mongodb/bin/mongod'_ZN5mongo11StartupTest8runTestsEv+0x3d
[0x815d1d]
 /opt/mongodb/bin/mongod'main+0x2be6 [0x6de666]
 /opt/mongodb/bin/mongod'_start+0x6c [0x6d5c6c]
----------------------------------------------------------------------------------------------


some machine info
----------------------------------------------------------------------------------------------
root@oven:~# uname -a
SunOS oven 5.11 oi_151a4 i86pc i386 i86pc

root@oven:~# prtconf | grep Mem
Memory size: 1016 Megabytes

root@oven:~# psrinfo -pv
The physical processor has 2 virtual processors (0 1)
  x86 (GenuineIntel 6F2 family 6 model 15 step 2 clock 1867 MHz)
        Intel(r) Core(tm)2 CPU          6300  @ 1.86GHz

root@oven:~# gcc --version
gcc (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
----------------------------------------------------------------------------------------------

What could that be?

Best Regards

Kirill
Re: Mongodb 2+ 64bit crashes (Segmentation Fault) on OpenIndiana Tyler Brock 6/27/12 2:40 PM
Hi Kirill,

Sorry but we don't support running MongoDB OpenIndiana. We highly recommend running it on Linux.

-Tyler
Re: Mongodb 2+ 64bit crashes (Segmentation Fault) on OpenIndiana Vassili Jouikov 7/23/13 2:12 PM
I use OpenIndiana

vasil@node11:~/mongo$ uname -a
  SunOS node11 5.11 oi_151a7 i86pc i386 i86pc Solaris
 
vasil@node11:~/mongo$ prtconf | grep Mem
  Memory size: 8192 Megabytes

vasil@node11:~/mongo$ psrinfo -pv
  The physical processor has 2 virtual processors (0 2)
    x86 (GenuineIntel 6F6 family 6 model 15 step 6 clock 3000 MHz)
      Intel(r) Xeon(r) CPU            5160  @ 3.00GHz
  The physical processor has 2 virtual processors (1 3)
    x86 (GenuineIntel 6F6 family 6 model 15 step 6 clock 3000 MHz)
      Intel(r) Xeon(r) CPU            5160  @ 3.00GHz

MongoDB 2.2.4 work fine
Re: Mongodb 2+ 64bit crashes (Segmentation Fault) on OpenIndiana Vassili Jouikov 7/23/13 2:19 PM
Hello Kirill

I use Opensolaris

my info:

vasil@node11:~/mongo$ uname -a
  SunOS node11 5.11 oi_151a7 i86pc i386 i86pc Solaris

vasil@node11:~/mongo$ prtconf | grep Mem
  Memory size: 8192 Megabytes

vasil@node11:~/mongo$ psrinfo -pv
  The physical processor has 2 virtual processors (0 2)
    x86 (GenuineIntel 6F6 family 6 model 15 step 6 clock 3000 MHz)
      Intel(r) Xeon(r) CPU            5160  @ 3.00GHz
  The physical processor has 2 virtual processors (1 3)
    x86 (GenuineIntel 6F6 family 6 model 15 step 6 clock 3000 MHz)
      Intel(r) Xeon(r) CPU            5160  @ 3.00GHz

vasil@node11:~/mongo/lib$ ls -l
   -rw-r--r-- 1 vasil staff  500904 2012-03-05 23:09 libgcc_s.so.1
   lrwxrwxrwx 1 vasil staff      19 2013-07-23 13:58 libstdc++.so.6 -> libstdc++.so.6.0.16
   -rwxr-xr-x 1 vasil staff 7252992 2012-03-05 23:10 libstdc++.so.6.0.16




MongoDB 2.4.4  - all working


MongoDB 2.4.5 - crashed ;((

Thank,Vassili



On Tuesday, June 5, 2012 4:13:30 AM UTC-7, Kirill Ponazdyr wrote: