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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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
missing symbols info   Message List  
Reply | Forward Message #1092 of 1198 |
missing symbols info

Hi,
I've found that when libmpatrol.so is dynamically linked in or preloaded
no symbol information is read from other dynamically linked in libs.Hence
the backtrace in the logs doesnt show the symbols defined in the other
libs,
eg.
-------------------------------------------------------
ALLOC: calloc (51, 40 bytes, 4 bytes) [-|-|-]
0xB7FE0485 ???
0xB7FE049E ???
0x0804857F main+59 at /home/aragorn/test/main.c:10
0xB7DE5EBC ???
0x080484C1 _start+33
-----------------------------------------------------------

as opposed to when libmpatrol.a is linked in
--------------------------------------------------------------
ALLOC: calloc (781, 40 bytes, 4 bytes) [foo2|/home/aragorn/test/test2.c|6]
0xB7F37485 foo2+25 at /home/aragorn/test/test2.c:6
0xB7F3749E foo+17 at /home/aragorn/test/test2.c:14
0x0804999F main+59 at /home/aragorn/test/main.c:10
0xB7C5DEBC ???
0x080498E1 _start+33
-------------------------------------------------------------

I tracked this down to __mp_addextsymbols in symbols.c and found that
whenever
libmpatrol.so is used the DT_DEBUG tag doesnt show up in the stucture
pointed to
by the _DYNAMIC symbol. Any idea what could be the problem ?

or any thoughts on how to work around this ?

I found this (http://tech.groups.yahoo.com/group/mpatrol/message/644)
mail while looking through the archives.
..but that doesnt have a solution either.. patch2 is no use to me as yet.

my system config is as follows:
-----------------------------------------
aragorn@anduril:~$ uname -a
Linux anduril 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007
i686 GNU/Linux
--
and my distro is Ubuntu Feisty
I'm using mpatrol 1.4.8 configured to run with bfd.


cheers,
Ashwin Pathmudi.




Sun Dec 9, 2007 2:15 pm

ashwin_386
Offline Offline
Send Email Send Email

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

Hi, I've found that when libmpatrol.so is dynamically linked in or preloaded no symbol information is read from other dynamically linked in libs.Hence the...
Ashwin Pathmudi
ashwin_386
Offline Send Email
Dec 11, 2007
9:10 am

Hi, I've found that when libmpatrol.so is dynamically linked in or preloaded no symbol information is read from other dynamically linked in libs.Hence the...
ashwin_386
Offline Send Email
Dec 11, 2007
9:10 am
Advanced

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