1 | Z:\Trunk\indus\src\python-modules\library\mymodule>gdb python
|
---|
2 | GNU gdb 6.8
|
---|
3 | Copyright (C) 2008 Free Software Foundation, Inc.
|
---|
4 | License GPLv3+: GNU GPL version 3 or later
|
---|
5 | <http://gnu.org/licenses/gpl.html>
|
---|
6 | This is free software: you are free to change and redistribute it.
|
---|
7 | There is NO WARRANTY, to the extent permitted by law. Type "show copying"
|
---|
8 | and "show warranty" for details.
|
---|
9 | This GDB was configured as "i686-pc-mingw32"...
|
---|
10 | (no debugging symbols found)
|
---|
11 | (gdb) break foo
|
---|
12 | Function "foo" not defined in loaded symbols.
|
---|
13 | Make breakpoint pending on future shared library load? (y or [n]) y
|
---|
14 | Breakpoint 1 (foo) pending.
|
---|
15 | (gdb) run
|
---|
16 | Starting program: C:\Python22/python.exe
|
---|
17 | [New thread 176.0xc08]
|
---|
18 | (no debugging symbols found)
|
---|
19 | (no debugging symbols found)
|
---|
20 | (no debugging symbols found)
|
---|
21 | (no debugging symbols found)
|
---|
22 | (no debugging symbols found)
|
---|
23 | (no debugging symbols found)
|
---|
24 | (no debugging symbols found)
|
---|
25 | (no debugging symbols found)
|
---|
26 | (no debugging symbols found)
|
---|
27 | (no debugging symbols found)
|
---|
28 | (no debugging symbols found)
|
---|
29 | (no debugging symbols found)
|
---|
30 | (no debugging symbols found)
|
---|
31 | Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
|
---|
32 | Type "help", "copyright", "credits" or "license" for more information.
|
---|
33 | >>> import mymodule
|
---|
34 | >>> mymodule.foo("toto")
|
---|
35 |
|
---|
36 | Breakpoint 1, foo (s=@0x12f940) at mymodule.cpp:11
|
---|
37 | 11 cout << "foo" << endl;
|
---|
38 | Current language: auto; currently c++
|
---|
39 | (gdb) next
|
---|
40 | foo
|
---|
41 | 12 }
|
---|
42 | (gdb) next
|
---|
43 | boost::python::detail::invoke<int, void (*)(std::string),
|
---|
44 | boost::python::arg_from_python<std::string> > (f=@0x8cd8ac, ac0=@0x12f9e0)
|
---|
45 | at ../../../3rdparty/boost-1.35/all/boost/python/detail/invoke.hpp:82
|
---|
46 | 82 return none();
|
---|
47 | (gdb) next
|
---|
48 | boost::python::detail::caller_arity<1u>::impl<void (*)(std::string),
|
---|
49 | boost::python::default_call_policies, boost::mpl::vector2<void,
|
---|
50 | std::string> >::operator() (this=0x8cd8ac, args_=0x84bcb8)
|
---|
51 | at ../../../3rdparty/boost-1.35/all/boost/python/detail/caller.hpp:225
|
---|
52 | 225 return m_data.second().postcall(inner_args, result);
|
---|
53 | (gdb) next
|
---|
54 | boost::python::objects::py_function::operator() (this=0x89e168,
|
---|
55 | args=0x84bcb8, kw=0x0) at ../../../boost/python/object/py_function.hpp:144
|
---|
56 | warning: Source file is more recent than executable.
|
---|
57 | 144 }
|
---|
58 | (gdb) next
|
---|
59 | boost::python::objects::function::call (this=0x89e160, args=0x84bcb8,
|
---|
60 | keywords=0x0) at ../../../libs/python/src/object/function.cpp:234
|
---|
61 | warning: Source file is more recent than executable.
|
---|
62 | 234 if (result != 0 || PyErr_Occurred())
|
---|
63 | (gdb) next
|
---|
64 | 235 return result;
|
---|
65 | (gdb) next
|
---|
66 | 243 }
|
---|
67 | (gdb) next
|
---|
68 | boost::python::objects::(anonymous namespace)::bind_return::operator()
|
---|
69 | (this=0x12fd20) at ../../../libs/python/src/object/function.cpp:582
|
---|
70 | 582 }
|
---|
71 | (gdb) next
|
---|
72 | boost::python::handle_exception_impl (f=0x12fcf0) at
|
---|
73 | ../../../libs/python/src/errors.cpp:26
|
---|
74 | 26 return false;
|
---|
75 | (gdb) next
|
---|
76 | 53 }
|
---|
77 | (gdb) next
|
---|
78 | function_call (func=0x89e160, args=0x84bcb8, kw=0x0) at
|
---|
79 | ../../../libs/python/src/object/function.cpp:614
|
---|
80 | 614 return result;
|
---|
81 | (gdb) next
|
---|
82 | 615 }
|
---|
83 | (gdb) next
|
---|
84 | 0x1e006ccc in python22!PyObject_Call () from
|
---|
85 | C:\WINDOWS\system32\python22.dll
|
---|
86 | (gdb) next
|
---|
87 | Single stepping until exit from function python22!PyObject_Call,
|
---|
88 | which has no line number information.
|
---|
89 | 0x1e014cd6 in python22!PyEval_GetFuncDesc () from
|
---|
90 | C:\WINDOWS\system32\python22.dll
|
---|
91 | (gdb) next
|
---|
92 | Single stepping until exit from function python22!PyEval_GetFuncDesc,
|
---|
93 | which has no line number information.
|
---|
94 | 0x1e0764c0 in python22!PyTuple_SetItem () from
|
---|
95 | C:\WINDOWS\system32\python22.dll
|
---|
96 | (gdb) next
|
---|
97 | Single stepping until exit from function python22!PyTuple_SetItem,
|
---|
98 | which has no line number information.
|
---|
99 | 0x1e03af30 in python22!_PyObject_GC_UnTrack () from
|
---|
100 | C:\WINDOWS\system32\python22.dll
|
---|
101 | (gdb) next
|
---|
102 | Single stepping until exit from function python22!_PyObject_GC_UnTrack,
|
---|
103 | which has no line number information.
|
---|
104 | 0x1e0764cf in python22!PyTuple_SetItem () from
|
---|
105 | C:\WINDOWS\system32\python22.dll
|
---|
106 | (gdb) next
|
---|
107 | Single stepping until exit from function python22!PyTuple_SetItem,
|
---|
108 | which has no line number information.
|
---|
109 | 0x1e014ce9 in python22!PyEval_GetFuncDesc () from
|
---|
110 | C:\WINDOWS\system32\python22.dll
|
---|
111 | (gdb) continue
|
---|
112 | Continuing.
|
---|
113 | >>>
|
---|
114 | >>>
|
---|
115 | >>> mymodule.foo("")
|
---|
116 |
|
---|
117 | Breakpoint 1, foo (s=@0x12f940) at mymodule.cpp:11
|
---|
118 | 11 cout << "foo" << endl;
|
---|
119 | (gdb) next
|
---|
120 | foo
|
---|
121 | 12 }
|
---|
122 | (gdb) next
|
---|
123 | boost::python::detail::invoke<int, void (*)(std::string),
|
---|
124 | boost::python::arg_from_python<std::string> > (f=@0x8cd8ac, ac0=@0x12f9e0)
|
---|
125 | at ../../../3rdparty/boost-1.35/all/boost/python/detail/invoke.hpp:82
|
---|
126 | 82 return none();
|
---|
127 | (gdb) next
|
---|
128 | boost::python::detail::caller_arity<1u>::impl<void (*)(std::string),
|
---|
129 | boost::python::default_call_policies, boost::mpl::vector2<void,
|
---|
130 | std::string> >::operator() (this=0x8cd8ac, args_=0x84bcb8)
|
---|
131 | at ../../../3rdparty/boost-1.35/all/boost/python/detail/caller.hpp:225
|
---|
132 | 225 return m_data.second().postcall(inner_args, result);
|
---|
133 | (gdb) next
|
---|
134 | warning: HEAP[python.exe]:
|
---|
135 | warning: Invalid Address specified to RtlFreeHeap( 00840000, 6A1C8854 )
|
---|
136 |
|
---|
137 |
|
---|
138 | Program received signal SIGTRAP, Trace/breakpoint trap.
|
---|
139 | 0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
|
---|
140 | (gdb) bt
|
---|
141 | #0 0x7c90120f in ntdll!DbgUiConnectToDbg () from
|
---|
142 | C:\WINDOWS\system32\ntdll.dll
|
---|
143 | #1 0x7c96c201 in ntdll!RtlpNtMakeTemporaryKey () from
|
---|
144 | C:\WINDOWS\system32\ntdll.dll
|
---|
145 | #2 0x7c96c63e in ntdll!RtlpNtMakeTemporaryKey () from
|
---|
146 | C:\WINDOWS\system32\ntdll.dll
|
---|
147 | #3 0x7c96d826 in ntdll!RtlpNtMakeTemporaryKey () from
|
---|
148 | C:\WINDOWS\system32\ntdll.dll
|
---|
149 | #4 0x7c949e1c in ntdll!LdrFindEntryForAddress () from
|
---|
150 | C:\WINDOWS\system32\ntdll.dll
|
---|
151 | #5 0x00840000 in ?? ()
|
---|
152 | #6 0x50000061 in ?? ()
|
---|
153 | #7 0x6a1c8854 in __gnu_cxx::__pool_alloc<wchar_t>::_S_force_new () from
|
---|
154 | Z:\Trunk\indus\src\python-modules\library\mymodule\boost_python-mgw34-d-1_35.dll
|
---|
155 | #8 0x00840000 in ?? ()
|
---|
156 | #9 0x6a1c8854 in __gnu_cxx::__pool_alloc<wchar_t>::_S_force_new () from
|
---|
157 | Z:\Trunk\indus\src\python-modules\library\mymodule\boost_python-mgw34-d-1_35.dll
|
---|
158 | #10 0x40000060 in ?? ()
|
---|
159 | #11 0x7c910040 in ntdll!RtlFreeThreadActivationContextStack () from
|
---|
160 | C:\WINDOWS\system32\ntdll.dll
|
---|
161 | #12 0xffffffff in ?? ()
|
---|
162 | #13 0x00000000 in ?? ()
|
---|
163 | (gdb)
|
---|