Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Segmentation fault   Message List  
Reply | Forward Message #1185 of 1198 |
Re: Segmentation fault

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?
>






Thu Feb 5, 2009 4:51 pm

tcmichals
Offline Offline
Send Email Send Email

Forward
Message #1185 of 1198 |
Expand Messages Author Sort by Date

Also, ran into to this issue. When the application is started it dies, so tossed it into gdb and get the following stack trace.. It is trying to trace into an...
tcmichals
Offline Send Email
Feb 4, 2009
10:29 pm

Hi, You can't selectively choose which libraries in a program to run with mpatrol - it has to be the whole program or nothing (unless you link the shared...
Graeme Roy
graemeroy
Offline Send Email
Feb 5, 2009
10:43 am

All I did was go into the pkg/auto changed the build script to do the following... configure --without-x because there is not X tools installed, and did a...
tcmichals
Offline Send Email
Feb 5, 2009
3:36 pm

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...
Graeme Roy
graemeroy
Offline Send Email
Feb 5, 2009
4:05 pm

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)...
tcmichals
Offline Send Email
Feb 6, 2009
1:43 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help