A mongo shell built with --dbg=on --opt=on dies with the following stack trace on exit:
./mongo ./jstests/and.js MongoDB shell version: 2.5.3-pre- connecting to: test XXX ACM printing on last line of js file mongo got signal 11 (Segmentation fault: 11), stack trace: 0x10c560640 0x10c3eaacc 0x7fff8c13f90a 0x181d05f11249 0x10c6a305f 0x10c7f5b96 0x10c7f59be 0x10c4e8164 0x10c4e803f 0x10c3ef9e6 0x10c3f0abf 0x7fff8d8e07e1 0 mongo 0x000000010c560640 _ZN5mongo15printStackTraceERSo + 64 1 mongo 0x000000010c3eaacc _Z12quitAbruptlyi + 348 2 libsystem_c.dylib 0x00007fff8c13f90a _sigtramp + 26 3 ??? 0x0000181d05f11249 0x0 + 26512932803145 4 mongo 0x000000010c6a305f _ZN2v88internal15DeoptimizerDataD2Ev + 143 5 mongo 0x000000010c7f5b96 _ZN2v88internal7Isolate6DeinitEv + 134 6 mongo 0x000000010c7f59be _ZN2v88internal7Isolate8TearDownEv + 110 7 mongo 0x000000010c4e8164 _ZN5mongo7V8ScopeD2Ev + 244 8 mongo 0x000000010c4e803f _ZN5mongo7V8ScopeD0Ev + 15 9 mongo 0x000000010c3ef9e6 _Z5_mainiPPcS0_ + 13142 10 mongo 0x000000010c3f0abf main + 95 11 libdyld.dylib 0x00007fff8d8e07e1 start + 0
The 'XXX' line was added to the test as the last print in the function to confirm that this was after evaluating the file.
- duplicates
-
SERVER-10483 v8 segfaults and prints stack trace when exiting the shell (sometimes)
- Closed
- is duplicated by
-
SERVER-11671 Bad stored Javascript causes db.eval() to segfault the server
- Closed
-
SERVER-11899 Invalid access at address: 0x10 from thread: conn1
- Closed