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 build and install.
Then just added mpatrol.h to the top of the main cpp file and execute
mpatrol.
Yes, very much the newbie on this....
So, I really don't know the answer to the question, send the config.h?
Or how can I tell.
Thanks.... for the help!!!
--- In mpatrol@yahoogroups.com, "Graeme Roy" <graeme_roy@...> wrote:
>
> 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
>