If the app is executed at the prompt ie
./CShell
Segmentation fault
bash>
yes a mpatrol.log is generated...
@(#) mpatrol 1.5.1 (08/12/16)
Copyright (C) 1997-2008 Graeme S. Roy
This is free software, and you are welcome to redistribute it under
certain
conditions; see the GNU Lesser General Public License for details.
For the latest mpatrol release and documentation,
visit http://sourceforge.net/projects/mpatrol.
operating system: UNIX
system variant: Linux
processor architecture: Intel 80x86
processor word size: 32-bit
object file format: BFD
dynamic linker type: SVR4
Log file generated on Thu Feb 5 10:45:51 2009
read 425 symbols from
/home/tmichals/Linux-x86/release/libs/libSystemManager.so
read 269 symbols from
/home/tmichals/Linux-x86/release/libs/libCServices.so
read 137 symbols from
/home/tmichals/Linux-x86/release/libs/libvtyThreads.so
read 257 symbols from /home/tmichals/Linux-x86/release/libs/libluabind.so
read 758 symbols from /home/tmichals/Linux-x86/release/libs/liblua.so
read 772 symbols from
/home/tmichals/Linux-x86/release/libs/liblog4cplus.so.2
read 164 symbols from
/home/tmichals/Linux-x86/release/libs/libboost_thread-gcc42-mt-1_36.so.1.36.0
read 229 symbols from
/home/tmichals/Linux-x86/release/libs/libboost_signals-gcc42-mt-1_36.so.1.36.0
read 154 symbols from
/home/tmichals/Linux-x86/release/libs/libboost_filesystem-gcc42-mt-1_36.so.1.36.\
0
read 601 symbols from
/home/tmichals/Linux-x86/release/libs/libboost_program_options-gcc42-mt-1_36.so.\
1.36.0
read 11 symbols from
/home/tmichals/Linux-x86/release/libs/libboost_system-gcc42-mt-1_36.so.1.36.0
read 4050 symbols from /home/tmichals/Linux-x86/release/libs/libxml2.so.2
read 347 symbols from /usr/local/lib/libmpatrolmt-1.5.1.so
read 708 symbols from /usr/lib/libbfd-2.18.0.20080103.so
read 410 symbols from /lib/libreadline.so.5
read 53 symbols from /lib/libhistory.so.5
read 47 symbols from /lib/i686/cmov/libdl.so.2
read 9688 symbols from
/home/tmichals/Linux-x86/release/libs/libmkl_intel.so
read 5377 symbols from
/home/tmichals/Linux-x86/release/libs/libmkl_intel_thread.so
read 2495 symbols from
/home/tmichals/Linux-x86/release/libs/libmkl_lapack.so
read 735 symbols from /home/tmichals/Linux-x86/release/libs/libiomp5.so
read 1665 symbols from
/home/tmichals/Linux-x86/release/libs/libmkl_core.so
read 996 symbols from /lib/i686/cmov/libpthread.so.0
read 2275 symbols from /usr/lib/libstdc++.so.6
read 1050 symbols from /lib/i686/cmov/libm.so.6
read 91 symbols from /lib/libgcc_s.so.1
read 7002 symbols from /lib/i686/cmov/libc.so.6
read 135 symbols from /lib/i686/cmov/librt.so.1
read 64 symbols from /usr/lib/libz.so.1
read 438 symbols from /lib/libncurses.so.5
read 241 symbols from /lib/ld-linux.so.2
read 510 symbols from ./CShell
<end of file>
if I run it against mpatrol
@(#) mpatrol 1.5.1 (08/12/16)
Copyright (C) 1997-2008 Graeme S. Roy
This is free software, and you are welcome to redistribute it under
certain
conditions; see the GNU Lesser General Public License for details.
For the latest mpatrol release and documentation,
visit http://sourceforge.net/projects/mpatrol.
operating system: UNIX
system variant: Linux
processor architecture: Intel 80x86
processor word size: 32-bit
object file format: BFD
dynamic linker type: SVR4
WARNING: [FRENUL]: free: attempt to free a NULL pointer
Log file generated on Thu Feb 5 10:48:02 2009
........ ton of stuff.....
WARNING: [RSZNUL]: realloc: attempt to resize a NULL pointer
and this was the last message and the prompt is returned...
and if I just use gdb ./CShell
it stops that the seg fault issue...
--- In mpatrol@yahoogroups.com, "Graeme Roy" <graeme_roy@...> wrote:
>
> If you haven't changed the mpatrol source code then it'll be using the
> default so that answers my question ;-)
>
> There's a signal-handler in the mpatrol stack walking code that handles
> SIGSEGV if it walks off the end of the call stack, so that might be
causing
> the break in gdb, although mpatrol can recover from this. Did you get
> anything in mpatrol.log when not running it in gdb?
>