dbx: internal warning: Unable to get fun table addr in librtc.so
807578Mar 8 2005 — edited Mar 9 2005Hi
I am trying to resolve a memory leak in my program.
getting the following errors:
leaks checking - ON
RTC: Enabling Error Checking...
dbx: internal warning: Unable to get fun table addr in librtc.so
dbx: Error checking initialization failed. All error checking disabled.
dbx: warning: Error checking initialization failed.
followed the following steps.
1. setenv LD_PRELOAD /opt/SUNWspro/lib/librtc.so
2. Ran the program. the program forks a child process.
3. Attached to the child process.
4. issued check -leaks, results in following error.
Attached to process 13954
stopped in _read at 0xfeb9e880
0xfeb9e880: _read+0x0008: ta 0x8
dbx: internal warning: set_error_limit called too early
(dbx) check -leaks
leaks checking - ON
RTC: Enabling Error Checking...
dbx: internal warning: Unable to get fun table addr in librtc.so
dbx: Error checking initialization failed. All error checking disabled.
dbx: warning: Error checking initialization failed.
(dbx)
dbx version:
Sun Dbx Debugger 7.1 Patch 112758-02 2003/11/12
System Info
Operating System: SunOS Release 5.8 Generic_117350-04
Type:SUNW, UltraAX-i2; sparc; sun4u
Any hints welcome.
Thanks
Bhaskar Mathur