adirtymindisajoyforever
unread,May 24, 2012, 3:22:54 AM5/24/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I have a java application that doesn't close its sockets, so
tried to solve the problem with gdb.
# gdb -p 1111
(gdb) call close(14)
No symbol table is loaded. Use the "file" command.
So I tried
(gdb) symbol-file /lib/libc.so.1
Reading symbols from /lib/libc.so.1...(no debugging symbols
found)...done.
warning: sol_thread_new_objfile: td_ta_new: Debugger service failed
(gdb) call close(14)
Warning:
Cannot insert breakpoint 0.
Error accessing memory address 0xffffffff: I/O error.
Any idea of how to get the desired result?
Yes, I can restart the app, and even change the source code, but just
a very bit curieus.
Tnx in advance for all answers.