VirtualBox

Ticket #7396: virtualbox-gdb-2.txt

File virtualbox-gdb-2.txt, 15.9 KB (added by ckujau, 14 years ago)

VBoxHeadless via gdb, with breakpoint in malloc_error_break

Line 
1# gdb /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless
2GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC 2010)
3Copyright 2004 Free Software Foundation, Inc.
4GDB is free software, covered by the GNU General Public License, and you are
5welcome to change it and/or distribute copies of it under certain conditions.
6Type "show copying" to see the conditions.
7There is absolutely no warranty for GDB. Type "show warranty" for details.
8This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
9
10(gdb) break malloc_error_break
11Breakpoint 1 at 0x1e06f82
12(gdb) run -s winxp
13Starting program: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless -s winxp
14warning: posix_spawn failed, trying execvp, error: 86
15Reading symbols for shared libraries .+++...... done
16Reading symbols for shared libraries .. done
17Reading symbols for shared libraries ........................................................................................... done
18Oracle VM VirtualBox Headless Interface 4.0.4
19(C) 2008-2011 Oracle Corporation
20All rights reserved.
21
22Reading symbols for shared libraries . done
23Reading symbols for shared libraries ... done
24Reading symbols for shared libraries . done
25Reading symbols for shared libraries warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxPuelMain/VBoxPuelMain.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/ExtPacks/Puel/VBoxPuelMain.cpp".
26
27. done
28Reading symbols for shared libraries warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/vrdpapi.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/vrdpapi.cpp".
29
30warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/server.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/server.cpp".
31
32warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/clipboard.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/clipboard.cpp".
33
34warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/audioin.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/audioin.cpp".
35
36warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/audio.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/audio.cpp".
37
38warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/iso.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/iso.cpp".
39
40warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/mcs.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/mcs.cpp".
41
42warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/secure.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/secure.cpp".
43
44warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/vrdpstream.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/vrdpstream.cpp".
45
46warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/vrdp.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/vrdp.cpp".
47
48warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/utils.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/utils.cpp".
49
50warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/bmpcomp.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/bmpcomp.cpp".
51
52warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/shadowbuffer.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/shadowbuffer.cpp".
53
54warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/regions.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/regions.cpp".
55
56warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/orders.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/orders.cpp".
57
58warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/output.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/output.cpp".
59
60warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/transport.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/transport.cpp".
61
62warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/channel.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/channel.cpp".
63
64warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/usb.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/usb.cpp".
65
66warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/mixeng/mixeng.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/mixeng/mixeng.c".
67
68warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/bmpcache.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/bmpcache.cpp".
69
70warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/textcache.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/textcache.cpp".
71
72warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/tcp_vrdp.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/tcp_vrdp.cpp".
73
74warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/input.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/input.cpp".
75
76warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/vrdpctx.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/vrdpctx.cpp".
77
78warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/pointer.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/pointer.cpp".
79
80warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/vrdpclient.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/vrdpclient.cpp".
81
82warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/videostream.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/videostream.cpp".
83
84warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/videoencoder.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/videoencoder.cpp".
85
86warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/bmpscale.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/bmpscale.cpp".
87
88warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/sunflsh.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/sunflsh.cpp".
89
90warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxVRDP/drdynvc.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/RDP/server/drdynvc.cpp".
91
92warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcapistd.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcapistd.c".
93
94warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcparam.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcparam.c".
95
96warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcapimin.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcapimin.c".
97
98warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jerror.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jerror.c".
99
100warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcomapi.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcomapi.c".
101
102warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcmarker.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcmarker.c".
103
104warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcinit.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcinit.c".
105
106warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jutils.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jutils.c".
107
108warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jmemmgr.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jmemmgr.c".
109
110warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcmainct.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcmainct.c".
111
112warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jchuff.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jchuff.c".
113
114warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcmaster.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcmaster.c".
115
116warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jmemnobs.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jmemnobs.c".
117
118warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jccoefct.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jccoefct.c".
119
120warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcprepct.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcprepct.c".
121
122warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcdctmgr.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcdctmgr.c".
123
124warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcsample.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcsample.c".
125
126warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jcarith.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jcarith.c".
127
128warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jccolor.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jccolor.c".
129
130warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jsimd_i386.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/simd/jsimd_i386.c".
131
132warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jaricom.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jaricom.c".
133
134warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/lib/VBox-libjpeg.a(jfdctfst.o)" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/libs/jpeg-8a/jfdctfst.c".
135
136. done
137Reading symbols for shared libraries . done
138Reading symbols for shared libraries ... done
139Reading symbols for shared libraries . done
140FreeTSD: failed to destroy key: Undefined error: 0
141VBoxHeadless(35953,0xb05e9000) malloc: *** error for object 0x11cd90: double free
142*** set a breakpoint in malloc_error_break to debug
143[Switching to process 35953]
144
145Breakpoint 1, 0x96b2cf82 in malloc_error_break ()
146(gdb) bt
147#0 0x96b2cf82 in malloc_error_break ()
148#1 0x96b2e12c in szone_error ()
149#2 0x96b2e261 in free_tiny_botch ()
150#3 0x95703833 in _free_internal ()
151#4 0x95708790 in _destroyInitializingClassList ()
152#5 0x9570874a in _objc_pthread_destroyspecific ()
153#6 0x96a6c289 in _pthread_tsd_cleanup ()
154#7 0x96a6be36 in _pthread_exit ()
155#8 0x002820de in rtThreadNativeMain ()
156#9 0x96a6385d in _pthread_start ()
157#10 0x96a636e2 in thread_start ()
158(gdb) bt full
159#0 0x96b2cf82 in malloc_error_break ()
160No symbol table info available.
161#1 0x96b2e12c in szone_error ()
162No symbol table info available.
163#2 0x96b2e261 in free_tiny_botch ()
164No symbol table info available.
165#3 0x95703833 in _free_internal ()
166No symbol table info available.
167#4 0x95708790 in _destroyInitializingClassList ()
168No symbol table info available.
169#5 0x9570874a in _objc_pthread_destroyspecific ()
170No symbol table info available.
171#6 0x96a6c289 in _pthread_tsd_cleanup ()
172No symbol table info available.
173#7 0x96a6be36 in _pthread_exit ()
174No symbol table info available.
175#8 0x002820de in rtThreadNativeMain ()
176No symbol table info available.
177#9 0x96a6385d in _pthread_start ()
178No symbol table info available.
179#10 0x96a636e2 in thread_start ()
180No symbol table info available.
181(gdb) continue
182Continuing.
183Reading symbols for shared libraries . done
184Reading symbols for shared libraries . done
185Reading symbols for shared libraries . done
186Reading symbols for shared libraries ... done
187Reading symbols for shared libraries warning: Could not find object file "/Users/vbox/tinderbox/extpacks/out/darwin.x86/release/obj/VBoxEhciR3/USB/DevEHCI.o" - no debug information available for "/Users/vbox/tinderbox/extpacks/src/VBox/Devices/USB/DevEHCI.cpp".
188
189. done
190Reading symbols for shared libraries . done
191Reading symbols for shared libraries . done
192Reading symbols for shared libraries . done
193Reading symbols for shared libraries . done
194Reading symbols for shared libraries . done
195Reading symbols for shared libraries . done
196VRDE server is listening on port 38910.
197
198^C
199Program received signal SIGINT, Interrupt.
200[Switching to process 35953]
2010x96a360fa in mach_msg_trap ()
202(gdb) The program is running. Exit anyway? (y or n) y
203#

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy