Hi Shriek.. > I am trying to debug a daemon by running gdb and the unstripped > executable with the pid of the daemon ...say I am doing this I think this problem has no relationship with kernel issues, however, I'll try to share some ideas... > bash# gdb mib2d <pid> OK, so you ran gdb as root? because if it wasn't, AFAIK you can't ptrace it. And, what is this mib2d anyway? From its name, I guess it is related with SNMP? > > I kept a break point at a particular function ... and did a 'next' > sufficient times ... the GDB terminates at the same point with the > message *" ..xmalloc: out of virtual memory" *... I am not able to > proceed ... under what scenarios does this occur ... Possibly a gdb's bug. First, try to update your gdb. If the problem still comes up, then you need to find another suspect. regards, Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/