gdb shows the abort is from the shim library too:

bergner@ampere:~$ gdb -q ./a.out
Reading symbols from ./a.out...(no debugging symbols found)...done.
(gdb) set environment LD_PRELOAD=./libbar.so.1
(gdb) run
Starting program: /home/bergner/a.out 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
0x00003fffb7b3f27c in __GI_raise (sig=<optimized out>) at 
../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00003fffb7b3f27c in __GI_raise (sig=<optimized out>) at 
../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00003fffb7b418f4 in __GI_abort () at abort.c:89
#2  0x00003fffb7f507e4 in pthread_mutex_lock () from ./libbar.so.1
#3  0x0000000010000954 in __gthread_mutex_lock(pthread_mutex_t*) ()
#4  0x0000000010000b10 in std::mutex::lock() ()
#5  0x0000000010000be8 in std::lock_guard<std::mutex>::lock_guard(std::mutex&) 
()
#6  0x0000000010000a80 in main ()
(gdb)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640518

Title:
  MongoDB Memory corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1640518/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to