Ticket #2555: trace.txt

File trace.txt, 6.0 KB (added by bruno dot lalande at gmail dot com, 14 years ago)
Line 
1Z:\Trunk\indus\src\python-modules\library\mymodule>gdb python
2GNU gdb 6.8
3Copyright (C) 2008 Free Software Foundation, Inc.
4License GPLv3+: GNU GPL version 3 or later
5<http://gnu.org/licenses/gpl.html>
6This is free software: you are free to change and redistribute it.
7There is NO WARRANTY, to the extent permitted by law. Type "show copying"
8and "show warranty" for details.
9This GDB was configured as "i686-pc-mingw32"...
10(no debugging symbols found)
11(gdb) break foo
12Function "foo" not defined in loaded symbols.
13Make breakpoint pending on future shared library load? (y or [n]) y
14Breakpoint 1 (foo) pending.
15(gdb) run
16Starting 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)
31Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
32Type "help", "copyright", "credits" or "license" for more information.
33 >>> import mymodule
34 >>> mymodule.foo("toto")
35
36Breakpoint 1, foo (s=@0x12f940) at mymodule.cpp:11
3711 cout << "foo" << endl;
38Current language: auto; currently c++
39(gdb) next
40foo
4112 }
42(gdb) next
43boost::python::detail::invoke<int, void (*)(std::string),
44boost::python::arg_from_python<std::string> > (f=@0x8cd8ac, ac0=@0x12f9e0)
45 at ../../../3rdparty/boost-1.35/all/boost/python/detail/invoke.hpp:82
4682 return none();
47(gdb) next
48boost::python::detail::caller_arity<1u>::impl<void (*)(std::string),
49boost::python::default_call_policies, boost::mpl::vector2<void,
50std::string> >::operator() (this=0x8cd8ac, args_=0x84bcb8)
51 at ../../../3rdparty/boost-1.35/all/boost/python/detail/caller.hpp:225
52225 return m_data.second().postcall(inner_args, result);
53(gdb) next
54boost::python::objects::py_function::operator() (this=0x89e168,
55args=0x84bcb8, kw=0x0) at ../../../boost/python/object/py_function.hpp:144
56warning: Source file is more recent than executable.
57144 }
58(gdb) next
59boost::python::objects::function::call (this=0x89e160, args=0x84bcb8,
60keywords=0x0) at ../../../libs/python/src/object/function.cpp:234
61warning: Source file is more recent than executable.
62234 if (result != 0 || PyErr_Occurred())
63(gdb) next
64235 return result;
65(gdb) next
66243 }
67(gdb) next
68boost::python::objects::(anonymous namespace)::bind_return::operator()
69(this=0x12fd20) at ../../../libs/python/src/object/function.cpp:582
70582 }
71(gdb) next
72boost::python::handle_exception_impl (f=0x12fcf0) at
73../../../libs/python/src/errors.cpp:26
7426 return false;
75(gdb) next
7653 }
77(gdb) next
78function_call (func=0x89e160, args=0x84bcb8, kw=0x0) at
79../../../libs/python/src/object/function.cpp:614
80614 return result;
81(gdb) next
82615 }
83(gdb) next
840x1e006ccc in python22!PyObject_Call () from
85C:\WINDOWS\system32\python22.dll
86(gdb) next
87Single stepping until exit from function python22!PyObject_Call,
88which has no line number information.
890x1e014cd6 in python22!PyEval_GetFuncDesc () from
90C:\WINDOWS\system32\python22.dll
91(gdb) next
92Single stepping until exit from function python22!PyEval_GetFuncDesc,
93which has no line number information.
940x1e0764c0 in python22!PyTuple_SetItem () from
95C:\WINDOWS\system32\python22.dll
96(gdb) next
97Single stepping until exit from function python22!PyTuple_SetItem,
98which has no line number information.
990x1e03af30 in python22!_PyObject_GC_UnTrack () from
100C:\WINDOWS\system32\python22.dll
101(gdb) next
102Single stepping until exit from function python22!_PyObject_GC_UnTrack,
103which has no line number information.
1040x1e0764cf in python22!PyTuple_SetItem () from
105C:\WINDOWS\system32\python22.dll
106(gdb) next
107Single stepping until exit from function python22!PyTuple_SetItem,
108which has no line number information.
1090x1e014ce9 in python22!PyEval_GetFuncDesc () from
110C:\WINDOWS\system32\python22.dll
111(gdb) continue
112Continuing.
113 >>>
114 >>>
115 >>> mymodule.foo("")
116
117Breakpoint 1, foo (s=@0x12f940) at mymodule.cpp:11
11811 cout << "foo" << endl;
119(gdb) next
120foo
12112 }
122(gdb) next
123boost::python::detail::invoke<int, void (*)(std::string),
124boost::python::arg_from_python<std::string> > (f=@0x8cd8ac, ac0=@0x12f9e0)
125 at ../../../3rdparty/boost-1.35/all/boost/python/detail/invoke.hpp:82
12682 return none();
127(gdb) next
128boost::python::detail::caller_arity<1u>::impl<void (*)(std::string),
129boost::python::default_call_policies, boost::mpl::vector2<void,
130std::string> >::operator() (this=0x8cd8ac, args_=0x84bcb8)
131 at ../../../3rdparty/boost-1.35/all/boost/python/detail/caller.hpp:225
132225 return m_data.second().postcall(inner_args, result);
133(gdb) next
134warning: HEAP[python.exe]:
135warning: Invalid Address specified to RtlFreeHeap( 00840000, 6A1C8854 )
136
137
138Program received signal SIGTRAP, Trace/breakpoint trap.
1390x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
140(gdb) bt
141#0 0x7c90120f in ntdll!DbgUiConnectToDbg () from
142C:\WINDOWS\system32\ntdll.dll
143#1 0x7c96c201 in ntdll!RtlpNtMakeTemporaryKey () from
144C:\WINDOWS\system32\ntdll.dll
145#2 0x7c96c63e in ntdll!RtlpNtMakeTemporaryKey () from
146C:\WINDOWS\system32\ntdll.dll
147#3 0x7c96d826 in ntdll!RtlpNtMakeTemporaryKey () from
148C:\WINDOWS\system32\ntdll.dll
149#4 0x7c949e1c in ntdll!LdrFindEntryForAddress () from
150C:\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
154Z:\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
157Z:\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
160C:\WINDOWS\system32\ntdll.dll
161#12 0xffffffff in ?? ()
162#13 0x00000000 in ?? ()
163(gdb)