2575 module = PyImport_Import(module_name); (gdb) 2576 if (module == NULL) { (gdb) info locals name_str = '__name__' global_name = 'Example' module_name = '__console__' module = 0x0 cls = status = 0 global_op = 99 'c' __PRETTY_FUNCTION__ = "save_global" (gdb) bt #0 save_global (self=0xbb81d0, obj=, name=0x0) at /home/iuri/Sources/py3k/Modules/_pickle.c:2576 #1 0x00007ffff68f2ea5 in save (self=0xbb81d0, obj=, pers_save=0) at /home/iuri/Sources/py3k/Modules/_pickle.c:3118 #2 0x00007ffff68f2a08 in save_reduce (self=0xbb81d0, args= (, (,), {'name': 'Hello'}, None, None), obj=) at /home/iuri/Sources/py3k/Modules/_pickle.c:2994 #3 0x00007ffff68f31c5 in save (self=0xbb81d0, obj= , pers_save=0) at /home/iuri/Sources/py3k/Modules/_pickle.c:3220 #4 0x00007ffff68f33bb in dump (self=0xbb81d0, obj= ) at /home/iuri/Sources/py3k/Modules/_pickle.c:3249 #5 0x00007ffff68fad67 in pickle_dump (self=, args= (, <_io.BufferedWriter at remote 0x7ffff7e53ae0>), kwds=0x0) at /home/iuri/Sources/py3k/Modules/_pickle.c:5966 #6 0x0000000000584f1a in PyCFunction_Call (func= , arg= (, <_io.BufferedWriter at remote 0x7ffff7e53ae0>), kw=0x0) at Objects/methodobject.c:84 #7 0x0000000000486e0b in call_function (pp_stack=0x7fffffffa120, oparg=2) at Python/ceval.c:3874 ---Type to continue, or q to quit--- #8 0x0000000000481888 in PyEval_EvalFrameEx (f= Frame 0xbfa450, for file , line 1, in (), throwflag=0) at Python/ceval.c:2673 #9 0x0000000000484f1e in PyEval_EvalCodeEx (co=0xbb8268, globals= {'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, ...(truncated), locals= {'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxErr---Type to continue, or q to quit--- or': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, ...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs= 0x0, closure=0x0) at Python/ceval.c:3310 #10 0x0000000000475196 in PyEval_EvalCode (co=0xbb8268, globals= {'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights R---Type to continue, or q to quit--- eserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, ...(truncated), locals= {'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, ...(truncated)) at Python/ceval.c:761 #11 0x000000000046e6c5 in builtin_exec (self= , args= (, {'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': to continue, or q to quit--- 0x7ffff7fd1ee8>, 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stic...(truncated)) at Python/bltinmodule.c:793 #12 0x0000000000584efd in PyCFunction_Call (func= , arg= (, {'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Researc---Type to continue, or q to quit--- h Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stic...(truncated), kw=0x0) at Objects/methodobject.c:81 #13 0x0000000000486e0b in call_function (pp_stack=0x7fffffffae90, oparg=2) at Python/ceval.c:3874 #14 0x0000000000481888 in PyEval_EvalFrameEx (f= Frame 0xbec310, for file /home/iuri/Sources/py3k/Lib/code.py, line 90, in runcode (self=) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Fo...(truncated), throwflag=0) at Python/ceval.c:2673 #15 0x0000000000487303 in fast_function (func=, pp_stack=0x7fffffffba20, n=2, na=2, nk=0) at Python/ceval.c:3962 #16 0x0000000000486fde in call_function (pp_stack=0x7fffffffba20, oparg=1) at Python/ceval.c:3895 ---Type to continue, or q to quit--- #17 0x0000000000481888 in PyEval_EvalFrameEx (f= Frame 0xbf8a40, for file /home/iuri/Sources/py3k/Lib/code.py, line 74, in runsource (self=) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software ...(truncated), throwflag=0) at Python/ceval.c:2673 #18 0x0000000000484f1e in PyEval_EvalCodeEx (co=0xa2ade8, globals= {'__all__': ['InteractiveInterpreter', 'InteractiveConsole', 'interact', 'compile_command'], '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': to continue, or q to quit--- le object at remote 0x7ffff7fd1ee8>, '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\...(truncated), locals=0x0, args=0xbf8888, argcount=3, kws=0xbf88a0, kwcount=0, defs= 0xb2e088, defcount=2, kwdefs=0x0, closure=0x0) at Python/ceval.c:3310 #19 0x0000000000487435 in fast_function (func=, pp_stack=0x7fffffffc710, n=3, na=3, nk=0) at Python/ceval.c:3972 #20 0x0000000000486fde in call_function (pp_stack=0x7fffffffc710, oparg=2) at Python/ceval.c:3895 #21 0x0000000000481888 in PyEval_EvalFrameEx (f= Frame 0xbf86e0, for file /home/iuri/Sources/py3k/Lib/code.py, line 245, in push (self=) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': to continue, or q to quit--- ance of module object at remote 0x7ffff7fd1ee8>, '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foun...(truncated), throwflag=0) at Python/ceval.c:2673 #22 0x0000000000487303 in fast_function (func=, pp_stack=0x7fffffffd2a0, n=2, na=2, nk=0) at Python/ceval.c:3962 #23 0x0000000000486fde in call_function (pp_stack=0x7fffffffd2a0, oparg=1) at Python/ceval.c:3895 #24 0x0000000000481888 in PyEval_EvalFrameEx (f= Frame 0xa64080, for file ../interative.py, line 25, in (), throwflag=0) at Python/ceval.c:2673 #25 0x0000000000484f1e in PyEval_EvalCodeEx (co=0x7ffff7e3f0f8, globals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyrigh---Type to continue, or q to quit--- t': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncated), locals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs= 0x0, closure=0x0) at Python/ceval.c:3310 #26 0x0000000000475196 in PyEval_EvalCode (co=0x7ffff7e3f0f8, globals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': to continue, or q to quit--- 0x84a620>, 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncated), locals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncate---Type to continue, or q to quit--- d)) at Python/ceval.c:761 #27 0x00000000004b9b15 in run_mod (mod=0xa620b8, filename= 0x7ffff7e3e960 "../interative.py", globals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncated), locals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10---Type to continue, or q to quit--- >, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncated), flags=0x7fffffffe1a0, arena=0x8aa970) at Python/pythonrun.c:1762 #28 0x00000000004b9909 in PyRun_FileExFlags (fp=0x932180, filename= 0x7ffff7e3e960 "../interative.py", start=257, globals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncate---Type to continue, or q to quit--- d), locals= {'console': ) at remote 0xb30990>, buffer=['pickle.dump(obj, f)'], locals={'obj': , 'f': <_io.BufferedWriter at remote 0x7ffff7e53ae0>, '__builtins__': {'bytearray': , 'IndexError': , 'all': , 'help': <_Helper at remote 0xa2fd10>, 'vars': , 'SyntaxError': , 'UnicodeDecodeError': , 'memoryview': , 'isinstance': , '__build_class__': , 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Right...(truncated), closeit=1, flags=0x7fffffffe1a0) at Python/pythonrun.c:1719 #29 0x00000000004b7d54 in PyRun_SimpleFileExFlags (fp=0x932180, filename= 0x7ffff7e3e960 "../interative.py", closeit=1, flags=0x7fffffffe1a0) at Python/pythonrun.c:1244 #30 0x00000000004b71cb in PyRun_AnyFileExFlags (fp=0x932180, filename= 0x7ffff7e3e960 "../interative.py", closeit=1, flags=0x7fffffffe1a0) at Python/pythonrun.c:1016 #31 0x00000000004d2ac5 in run_file (fp=0x932180, filename= 0x7ffff7f9a040 L"../interative.py", p_cf=0x7fffffffe1a0) ---Type to continue, or q to quit--- at Modules/main.c:297 #32 0x00000000004d3637 in Py_Main (argc=2, argv=0x7ffff7f98040) at Modules/main.c:684 #33 0x0000000000415d77 in main (argc=2, argv=0x7fffffffe308) at ./Modules/python.c:59 (gdb)