Hi John,

SourceForge has been acting weird; I didn't receive your message
and few of my earlier messages were rejected.  It doesn't show me
your full e-mail address (although it shows enough characters that
I can make a guess at it.)

Anyway, I'm hoping that this message will get through...

GDB complaining about not finding malloc.c is normal: it's just
unable to find the source location for the top-most function on the
stack (`calloc()`). You should still be able to get the backtrace.

Could you please share the backtraces from all the threads?  I'd
suggest running it directly under GDB rather than looking at the
coredump. (Sometimes running under GDB can make the errors disappear
because of different memory layouts. If you discover that that's
the case, then you can still look at the backtrace from the coredump
using the last command below.)

  $ gdb --args ./dmtcp_launch ./yourbinary
    ...
    (gdb) run
    ...
    <SEGFAULT>
    (gdb) thread apply all bt


Also, what distro and DMTCP version are you using?

Thanks,
Rohan

> Hi,

> I'm using the latest git release of DMTCP, and am getting a segfault
> upon
> running ./dmtcp_launch ./mybinary. I get this even without using mpirun.
> 
> The gdb backtrace is complaining about not finding malloc.c, but other
> than
> that, I don't know how to get any more information. Below is the gdb
> backtrace:
> 
> Reading symbols from /home/john/local/FUN3D/fun3d_
> install/bin/nodet_mpi...done.
> [New LWP 5672]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by
> `/home/john/local/FUN3D/fun3d_install/bin/nodet_mpi'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at
> malloc.c:3215
> 3215 malloc.c: No such file or directory.
> 
> Does anyone have an idea of what I could try next to solve the error?
> 
> Thanks!
> John

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to