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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 #1181 of 1198 |
RE: [mpatrol] Segmentation fault

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 library in question with libc.a, but then you'll open a whole can of worms if you pass and receive pointers to allocated memory).
 
That said, the crash looks to be occuring when mpatrol is working out the stack trace.  It looks to be an Intel i686 processor you're running it on.  What stack trace mechanism is mpatrol using - the default or one of the MP_*STACK_SUPPORT macros in config.h?
 
Graeme.


From: mpatrol@yahoogroups.com [mailto:mpatrol@yahoogroups.com] On Behalf Of tcmichals
Sent: 04 February 2009 21:09
To: mpatrol@yahoogroups.com
Subject: [mpatrol] Segmentation fault

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 intel library MLK (math kernel library)
is there so how I can skip over this library? Or some way not to
trace this one?

$3 = (stackinfo *) 0xbf812364
(gdb) bt
#0 __mp_getframe (p=0xbf812364) at stack.c:713
#1 0xb7bc019c in __mp_getaddrs (h=0xb7bda6e0, p=0xbf812364) at addr.c:147
#2 0xb7bbe832 in __mp_getmemory (h=0xb7bda5a0, l=20, a=0,
v=0xbf812330) at info.c:418
#3 0xb7bd05f5 in __mp_alloc (l=20, a=0, f=AT_CALLOC, s=0x0, t=0x0,
u=0, g=0x0, h=0, k=1) at inter.c:922
#4 0xb7bd29f1 in calloc (l=1, n=3068825376) at malloc.c:81
#5 0xb7a940c6 in _dlerror_run () from /lib/i686/cmov/libdl.so.2
#6 0xb7a93b61 in dlopen@@GLIBC_2.1 () from /lib/i686/cmov/libdl.so.2
#7 0xb6e5857a in _mkl_dll_to_load_code () from
/home/txxxx/Linux-x86/release/libs/libmkl_core.so



Thu Feb 5, 2009 10:43 am

graemeroy
Offline Offline
Send Email Send Email

Forward
Message #1181 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