[MacPorts] #40285: MongoDB shell is crashing since v8 port was upgraded

MacPorts noreply at macports.org
Thu Aug 29 07:09:50 PDT 2013


#40285: MongoDB shell is crashing since v8 port was upgraded
--------------------------+--------------------------
  Reporter:  p.perroud@…  |      Owner:  ryandesign@…
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.0
Resolution:               |   Keywords:
      Port:  mongodb      |
--------------------------+--------------------------
Changes (by ryandesign@…):

 * status:  new => assigned
 * priority:  High => Normal
 * owner:  macports-tickets@… => ryandesign@…
 * keywords:  mongodb nodejs v8 =>
 * port:  mongodb v8 => mongodb


Old description:

> Context: MongoDB port running on MacOS X 10.8.4
>
> First - to make sure mongodb server is actually running:
>
> $ ps -afx | grep mongo
>
>     0    61     1   0 11:24AM ??         0:00.04 /opt/local/bin/daemondo
> --label=mongodb --start-cmd sudo -u _mongo /opt/local/bin/mongod --dbpath
> /opt/local/var/db/mongodb --logpath
> /opt/local/var/log/mongodb/mongodb.log --logappend ; --pid=exec
>     0    67    61   0 11:25AM ??         0:00.01 sudo -u _mongo
> /opt/local/bin/mongod --dbpath /opt/local/var/db/mongodb --logpath
> /opt/local/var/log/mongodb/mongodb.log --logappend
>   504   115    67   0 11:25AM ??         0:51.98 /opt/local/bin/mongod
> --dbpath /opt/local/var/db/mongodb --logpath
> /opt/local/var/log/mongodb/mongodb.log --logappend
>   501   862   856   0  3:17PM ttys000    0:00.00 grep mongo
>
> Next - MongoDB shell is crashing on initialization:
>
> $ mongo
>
> MongoDB shell version: 2.4.6
> dyld: lazy symbol binding failed: Symbol not found:
> __ZN2v87Context3NewEPNS_22ExtensionConfigurationENS_6HandleINS_14ObjectTemplateEEENS3_INS_5ValueEEE
>   Referenced from: /opt/local/bin/mongo
>   Expected in: /opt/local/lib/libv8.dylib
>
> dyld: Symbol not found:
> __ZN2v87Context3NewEPNS_22ExtensionConfigurationENS_6HandleINS_14ObjectTemplateEEENS3_INS_5ValueEEE
>   Referenced from: /opt/local/bin/mongo
>   Expected in: /opt/local/lib/libv8.dylib
>
> Trace/BPT trap: 5
>
> Important note: this shell was working fine until v8 port was upgraded a
> few days ago

New description:

 Context: MongoDB port running on MacOS X 10.8.4

 First - to make sure mongodb server is actually running:

 {{{
 $ ps -afx | grep mongo

     0    61     1   0 11:24AM ??         0:00.04 /opt/local/bin/daemondo
 --label=mongodb --start-cmd sudo -u _mongo /opt/local/bin/mongod --dbpath
 /opt/local/var/db/mongodb --logpath /opt/local/var/log/mongodb/mongodb.log
 --logappend ; --pid=exec
     0    67    61   0 11:25AM ??         0:00.01 sudo -u _mongo
 /opt/local/bin/mongod --dbpath /opt/local/var/db/mongodb --logpath
 /opt/local/var/log/mongodb/mongodb.log --logappend
   504   115    67   0 11:25AM ??         0:51.98 /opt/local/bin/mongod
 --dbpath /opt/local/var/db/mongodb --logpath
 /opt/local/var/log/mongodb/mongodb.log --logappend
   501   862   856   0  3:17PM ttys000    0:00.00 grep mongo
 }}}

 Next - MongoDB shell is crashing on initialization:

 {{{
 $ mongo

 MongoDB shell version: 2.4.6
 dyld: lazy symbol binding failed: Symbol not found:
 __ZN2v87Context3NewEPNS_22ExtensionConfigurationENS_6HandleINS_14ObjectTemplateEEENS3_INS_5ValueEEE
   Referenced from: /opt/local/bin/mongo
   Expected in: /opt/local/lib/libv8.dylib

 dyld: Symbol not found:
 __ZN2v87Context3NewEPNS_22ExtensionConfigurationENS_6HandleINS_14ObjectTemplateEEENS3_INS_5ValueEEE
   Referenced from: /opt/local/bin/mongo
   Expected in: /opt/local/lib/libv8.dylib

 Trace/BPT trap: 5
 }}}

 Important note: this shell was working fine until v8 port was upgraded a
 few days ago

--

-- 
Ticket URL: <https://trac.macports.org/ticket/40285#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list