I rebuilt the open-vm-tools package with debug symbols and -O0 and got
that far:

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) list Panic
48       */
49      
50      void
51      Panic(const char *fmt,          // IN: message format
52            ...)                      // IN: message format arguments
53      {
54         va_list ap;
55      
56         va_start(ap, fmt);
57         Panic_Panic(fmt, ap);
(gdb) break 54
Breakpoint 1 at 0x450465: file panic.c, line 54.
(gdb) run
Starting program: /usr/sbin/vmware-guestd 
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 
0000000000000158
[New Thread 0x7fd70c73b6f0 (LWP 14596)]
[Switching to Thread 0x7fd70c73b6f0 (LWP 14596)]

Breakpoint 1, Panic (fmt=0x459385 "%s:%d Buffer too small 0x%x\n") at panic.c:56
56         va_start(ap, fmt);
(gdb) bt
#0  Panic (fmt=0x459385 "%s:%d Buffer too small 0x%x\n") at panic.c:56
#1  0x000000000042aedd in Str_Sprintf (buf=0x7fff147446f0 "00:50:56:aa:4a:55", 
maxSize=18, fmt=0x457351 "%s\n") at str.c:100
#2  0x0000000000418b0d in ReadInterfaceDetails (entry=0x7fff14744730, 
arg=0x7fff14748850) at guestInfoPosix.c:202
#3  0x00007fd70baa916a in intf_loop () from /usr/lib/libdumbnet.so.1
#4  0x0000000000418d4f in GuestInfoGetNicInfo (nicInfo=0x7fff14748850) at 
guestInfoPosix.c:281
#5  0x000000000041722e in GuestInfoGather (clientData=0x0) at 
guestInfoServer.c:285
#6  0x000000000040d1c2 in EventManager_ProcessNext (eventQueue=0xfc82f0, 
sleepUsecs=0x7fff14748ae0) at eventManager.c:283
#7  0x000000000040a5d4 in GuestdDaemon (pConfDict=0x7fff14748f08, 
gDaemonSignalPtr=0x6a63d8) at main.c:1100
#8  0x000000000040a6ed in GuestdDaemonWrapper (pConfDict=0x7fff14748f08) at 
main.c:1194
#9  0x000000000040ac18 in main (argc=1, argv=0x7fff14749008) at main.c:1504
(gdb) up
#1  0x000000000042aedd in Str_Sprintf (buf=0x7fff06663610 "00:50:56:aa:4a:55", 
maxSize=18, fmt=0x457351 "%s\n")
    at str.c:100
100           Panic("%s:%d Buffer too small 0x%x\n", __FILE__, __LINE__, 
stack[-1]);
(gdb) list
95         
96         va_start(args,fmt);
97         i = Str_Vsnprintf(buf, maxSize, fmt, args);
98         va_end(args);
99         if (i < 0) {
100           Panic("%s:%d Buffer too small 0x%x\n", __FILE__, __LINE__, 
stack[-1]);
101        }
102        return i;
103     }
104     
(gdb) print i
$1 = -1

I hope this helps.

-- 
vmware-guestd crashing
https://bugs.launchpad.net/bugs/306835
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to