On Wed, Aug 09, 2006 at 10:42:02AM +0200, Julien Danjou wrote: > Hello, > > It can reproduce it too. Here is a backtrace:
Recompiled with DEB_BUILD_OPTIONS="debug nostrip" Better backtrace: (gdb) run Starting program: /usr/games/adonthell wastesedge [Thread debugging using libthread_db enabled] [New Thread -1486412096 (LWP 4019)] [New Thread -1487901776 (LWP 4022)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1486412096 (LWP 4019)] image (this=0xafe32f14, s=0x0, [EMAIL PROTECTED]) at drawable.h:127 127 length_ = l; (gdb) bt full #0 image (this=0xafe32f14, s=0x0, [EMAIL PROTECTED]) at drawable.h:127 No locals. #1 0x080d7c8d in win_ttf::operator[] (this=0x81d1e40, glyph=32) at win_ttf.cc:140 s = <value optimized out> tmp = {<surface> = {<drawable> = {_vptr.drawable = 0x80daa58, length_ = 3, height_ = 13}, vis = 0x82023c8, changed = false, dbl_mode = false, static srcrect = { x = 0, y = 0, w = 6, h = 26}, static dstrect = {x = 0, y = 0, w = 6, h = 24}, mask_on = false, alpha_ = 255 'ÿ', not_screen = true}, <No data fields>} shadow = {<surface> = {<drawable> = {_vptr.drawable = 0x80daa58, length_ = 0, height_ = 0}, vis = 0x0, changed = false, dbl_mode = false, static srcrect = {x = 0, y = 0, w = 6, h = 26}, static dstrect = {x = 0, y = 0, w = 6, h = 24}, mask_on = false, alpha_ = 255 'ÿ', not_screen = true}, <No data fields>} glph = <value optimized out> white = {r = 255 'ÿ', g = 255 'ÿ', b = 255 'ÿ', unused = 0 '\0'} bg = {r = 0 '\0', g = 0 '\0', b = 0 '\0', unused = 0 '\0'} unichar = {32, 0} #2 0x080d45f5 in label::build_form_auto_size (this=0x820236c) at label.cc:371 line_tmp = {idx_beg = 0, idx_end = -22661, pos_x = 6} i = 2 max_length = 0 #3 0x080d4d1c in label::build (this=0x820236c, erase_all=true) at label.cc:176 No locals. #4 0x080a7aa5 in _wrap_label_set_text (args=0xa6cae44c) at py_adonthell_wrap.cc:23157 ptr = (string *) 0x81fd4e8 res = 136303864 resultobj = (PyObject *) 0x80ed058 arg1 = (class label *) 0x820236c arg2 = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x81fd504 "-- Waste's Edge --"}} obj0 = (PyObject *) 0xa69cd6ec obj1 = (PyObject *) 0xa6cac9b0 #5 0xa79ab79d in PyCFunction_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #6 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #7 0xa79e1183 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #8 0xa79e3518 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #9 0xa79e2a90 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #10 0xa79e3518 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #11 0xa7999850 in PyClassMethod_New () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #12 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #13 0xa79863e2 in PyClass_IsSubclass () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #14 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #15 0xa79bb90e in _PyType_Lookup () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #16 0xa79ba8a5 in PyType_IsSubtype () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #17 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #18 0xa79df9e2 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #19 0xa79e2ba1 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #20 0xa79e2ba1 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #21 0xa79e3518 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #22 0xa7999850 in PyClassMethod_New () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #23 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #24 0xa79863e2 in PyClass_IsSubclass () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #25 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #26 0xa79dd21f in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #27 0xa797fdba in PyObject_CallObject () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #28 0x0807b576 in py_callback::make_call (this=0x81d2ff8, args=0x0) at py_callback.cc:153 val = (PyObject *) 0xa6cc602c #29 0x0807b65f in py_callback::callback_func0 (this=0x81d2ff8) at py_callback.cc:59 py_arg = (PyObject *) 0x0 val = <value optimized out> #30 0x080bfa12 in win_base::draw (this=0x81d34b0) at win_base.cc:109 No locals. #31 0x080c17d4 in win_container::draw (this=0x81d34b0) at win_container.cc:154 No locals. #32 0x080c300b in win_manager::draw (this=0xafe342b8) at win_manager.cc:153 No locals. #33 0x08062665 in adonthell::main_loop (this=0x81523d8) at adonthell.cc:105 i = 3 #34 0x08062790 in adonthell::main (this=0x81523d8, wnd=0x81d34b0, [EMAIL PROTECTED]) at adonthell.cc:63 mgr = {static active = 0xafe342b8, static theme = {_M_ht = { _M_node_allocator = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_theme*> > >> = {<No data fields>}, <No data fields>}, _M_hash = {<No data fields>}, _M_equals = {<> = {<No data fields>}, <No data fields>}, _M_get_key = {<> = {<No data fields>}, <No data fields>}, _M_buckets = {<std::_Vector_base<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_theme*> >*,std::allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_theme*> >*> >> = { _M_impl = {<std::allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_theme*> >*>> = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_theme*> >*>> = {<No data fields>}, <No data fields>}, _M_start = 0x80ee008, _M_finish = 0x80ee30c, _M_end_of_storage = 0x80ee30c}}, <No data fields>}, _M_num_elements = 2}}, static font = {_M_ht = { _M_node_allocator = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_ttf*> > >> = {<No data fields>}, <No data fields>}, _M_hash = {<No data fields>}, _M_equals = {<> = {<No data fields>}, <No data fields>}, _M_get_key = {<> = {<No data fields>}, <No data fields>}, _M_buckets = {<std::_Vector_base<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_ttf*> >*,std::allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_ttf*> >*> >> = { _M_impl = {<std::allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_ttf*> >*>> = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, win_ttf*> >*>> = {<No data fields>}, <No data fields>}, _M_start = 0x80ee310, _M_finish = 0x80ee614, _M_end_of_storage = 0x80ee614}}, <No data fields>}, _M_num_elements = 8}}, wnd_list = {<std::_List_base<win_base*,std::allocator<win_base*> >> = { _M_impl = {<std::allocator<std::_List_node<win_base*> >> = {<__gnu_cxx::new_allocator<std::_List_node<win_base*> >> = {<No data fields>}, <No data fields>}, _M_node = { _M_next = 0x81d2fe8, _M_prev = 0x81d2fe8}}}, <No data fields>}, current = { _M_node = 0x81d2fe8}, wnd_focus = 0x81d34b0, prev = 0x0, static font_file = { static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80ecf9c ""}}} #35 0x080a9851 in _wrap_adonthell_main (self=0x0, args=0xa6cad6e4) at py_adonthell_wrap.cc:19667 _v = <value optimized out> argc = <value optimized out> argv = {0xa69cd62c, 0xa69cd60c, 0xa6ca7368, 0xa6cde824} ii = <value optimized out> #36 0xa79ab79d in PyCFunction_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #37 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #38 0xa79e1183 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #39 0xa79e3518 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #40 0xa79e2a90 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #41 0xa79e3518 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #42 0xa7999850 in PyClassMethod_New () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #43 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #44 0xa79863e2 in PyClass_IsSubclass () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #45 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #46 0xa79dd21f in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #47 0xa7989f0d in PyInstance_New () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #48 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #49 0xa79df9e2 in PyEval_InitThreads () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #50 0xa79e3518 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #51 0xa79e35b5 in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #52 0xa79fa5eb in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #53 0xa79fa7a1 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #54 0xa79fca90 in PyImport_ReloadModule () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #55 0xa79fcf3f in PyImport_ReloadModule () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #56 0xa79fd127 in PyImport_ImportModuleEx () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #57 0xa79d9a7e in _PyBuiltin_Init () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #58 0xa79ab79d in PyCFunction_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #59 0xa797fb77 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #60 0xa7981d46 in PyObject_CallFunction () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #61 0xa79fd57b in PyImport_Import () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #62 0xa79fd765 in PyImport_ImportModule () from /usr/lib/libpython2.3.so.1.0 No symbol table info available. #63 0x0807ba54 in python::import_module ([EMAIL PROTECTED]) at python_class.cc:115 result = <value optimized out> #64 0x0807bd09 in python::exec_file ([EMAIL PROTECTED]) at python_class.cc:85 mod = <value optimized out> #65 0x080616bf in main (argc=Cannot access memory at address 0x0 ) at main.cc:187 myconfig = {language = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80ecf9c ""}}, font = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80ecf9c ""}}, game_name = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80eee44 "wastesedge"}}, gamedir = { static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80eeef4 "/usr/share/games/adonthell/games/wastesedge"}}, screen_mode = 0 '\0', double_screen = 1 '\001', quick_load = 0 '\0', audio_channels = 1 '\001', audio_resolution = 1 '\001', audio_sample_rate = 2 '\002', audio_volume = 100 'd', adonthellrc = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80eee64 "/home/jdanjou/.adonthell"}}} Cheers, -- Julien Danjou .''`. Debian Developer : :' : http://julien.danjou.info `. `' http://people.debian.org/~acid `- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
signature.asc
Description: Digital signature