| 1 | mallory$ gdb /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless
|
|---|
| 2 | GNU gdb 6.3.50-20050815 (Apple version gdb-1469) (Wed May 5 04:36:56 UTC 2010)
|
|---|
| 3 | Copyright 2004 Free Software Foundation, Inc.
|
|---|
| 4 | GDB is free software, covered by the GNU General Public License, and you are
|
|---|
| 5 | welcome to change it and/or distribute copies of it under certain conditions.
|
|---|
| 6 | Type "show copying" to see the conditions.
|
|---|
| 7 | There is absolutely no warranty for GDB. Type "show warranty" for details.
|
|---|
| 8 | This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
|
|---|
| 9 |
|
|---|
| 10 | (gdb) break malloc_error_break
|
|---|
| 11 | Breakpoint 1 at 0x1e07d12
|
|---|
| 12 | (gdb) run -s winxp
|
|---|
| 13 | Starting program: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless -s winxp
|
|---|
| 14 | Reading symbols for shared libraries .+++...... done
|
|---|
| 15 | Reading symbols for shared libraries .. done
|
|---|
| 16 | Reading symbols for shared libraries .......................................................................................... done
|
|---|
| 17 | Oracle VM VirtualBox Headless Interface 3.2.8
|
|---|
| 18 | (C) 2008-2010 Oracle Corporation
|
|---|
| 19 | All rights reserved.
|
|---|
| 20 |
|
|---|
| 21 | Reading symbols for shared libraries . done
|
|---|
| 22 | Reading symbols for shared libraries . done
|
|---|
| 23 | Reading symbols for shared libraries ... done
|
|---|
| 24 | Reading symbols for shared libraries . done
|
|---|
| 25 | Reading symbols for shared libraries . done
|
|---|
| 26 | Reading symbols for shared libraries ... done
|
|---|
| 27 | Reading symbols for shared libraries . done
|
|---|
| 28 | FreeTSD: failed to destroy key: Undefined error: 0
|
|---|
| 29 | VBoxHeadless(27472,0xb058b000) malloc: *** error for object 0x11ce50: double free
|
|---|
| 30 | *** set a breakpoint in malloc_error_break to debug
|
|---|
| 31 | [Switching to process 27472]
|
|---|
| 32 |
|
|---|
| 33 | Breakpoint 1, 0x95970d12 in malloc_error_break ()
|
|---|
| 34 | (gdb) bt
|
|---|
| 35 | #0 0x95970d12 in malloc_error_break ()
|
|---|
| 36 | #1 0x95971eb8 in szone_error ()
|
|---|
| 37 | #2 0x95971fed in free_tiny_botch ()
|
|---|
| 38 | #3 0x94cb7833 in _free_internal ()
|
|---|
| 39 | #4 0x94cbc790 in _destroyInitializingClassList ()
|
|---|
| 40 | #5 0x94cbc74a in _objc_pthread_destroyspecific ()
|
|---|
| 41 | #6 0x958b0249 in _pthread_tsd_cleanup ()
|
|---|
| 42 | #7 0x958afdf6 in _pthread_exit ()
|
|---|
| 43 | #8 0x0026ac0c in rtThreadNativeMain ()
|
|---|
| 44 | #9 0x958a781d in _pthread_start ()
|
|---|
| 45 | #10 0x958a76a2 in thread_start ()
|
|---|
| 46 | (gdb) bt full
|
|---|
| 47 | #0 0x95970d12 in malloc_error_break ()
|
|---|
| 48 | No symbol table info available.
|
|---|
| 49 | #1 0x95971eb8 in szone_error ()
|
|---|
| 50 | No symbol table info available.
|
|---|
| 51 | #2 0x95971fed in free_tiny_botch ()
|
|---|
| 52 | No symbol table info available.
|
|---|
| 53 | #3 0x94cb7833 in _free_internal ()
|
|---|
| 54 | No symbol table info available.
|
|---|
| 55 | #4 0x94cbc790 in _destroyInitializingClassList ()
|
|---|
| 56 | No symbol table info available.
|
|---|
| 57 | #5 0x94cbc74a in _objc_pthread_destroyspecific ()
|
|---|
| 58 | No symbol table info available.
|
|---|
| 59 | #6 0x958b0249 in _pthread_tsd_cleanup ()
|
|---|
| 60 | No symbol table info available.
|
|---|
| 61 | #7 0x958afdf6 in _pthread_exit ()
|
|---|
| 62 | No symbol table info available.
|
|---|
| 63 | #8 0x0026ac0c in rtThreadNativeMain ()
|
|---|
| 64 | No symbol table info available.
|
|---|
| 65 | #9 0x958a781d in _pthread_start ()
|
|---|
| 66 | No symbol table info available.
|
|---|
| 67 | #10 0x958a76a2 in thread_start ()
|
|---|
| 68 | No symbol table info available.
|
|---|
| 69 | (gdb) con
|
|---|
| 70 | condition continue
|
|---|
| 71 | (gdb) continue
|
|---|
| 72 | Continuing.
|
|---|
| 73 | Reading symbols for shared libraries . done
|
|---|
| 74 | Reading symbols for shared libraries . done
|
|---|
| 75 | Reading symbols for shared libraries . done
|
|---|
| 76 | Reading symbols for shared libraries ... done
|
|---|
| 77 | Reading symbols for shared libraries . done
|
|---|
| 78 | Reading symbols for shared libraries . done
|
|---|
| 79 | Reading symbols for shared libraries . done
|
|---|
| 80 | Reading symbols for shared libraries . done
|
|---|
| 81 | Reading symbols for shared libraries . done
|
|---|
| 82 | Reading symbols for shared libraries . done
|
|---|
| 83 | Listening on port 3389.
|
|---|
| 84 |
|
|---|