Re: GDB terminating with " ...xmalloc: out of virtual memory"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux