[Debian-zh-dev] Bug#888735: gmchess: Segfault when LANG=C.UTF-8 or LANG=C

Boyuan Yang 073plan at gmail.com
Mon Jan 29 10:11:10 UTC 2018


Package: gmchess
Version: 0.29.6.1-1
Severity: important

% export LANG=C.UTF-8
% gdb /usr/games/gmchess
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/games/gmchess...Reading symbols from
/usr/lib/debug/.build-
id/78/b771501b84a1b609034bcabd16d25f54fb1a53.debug...done.
done.
(gdb) r
Starting program: /usr/games/gmchess
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe94ed700 (LWP 29587)]
[New Thread 0x7fffe8cec700 (LWP 29588)]
[New Thread 0x7fffe3fff700 (LWP 29589)]

Thread 1 "gmchess" received signal SIGSEGV, Segmentation fault.
0x00007ffff73437be in Gdk::Drawable::draw_pixbuf(Glib::RefPtr<Gdk::GC const>
const&, Glib::RefPtr<Gdk::Pixbuf> const&, int, int, int, int, int, int,
Gdk::RgbDither, int, int) () from /usr/lib/x86_64-linux-gnu/libgdkmm-2.4.so.1
(gdb) bt full
#0  0x00007ffff73437be in Gdk::Drawable::draw_pixbuf(Glib::RefPtr<Gdk::GC
const> const&, Glib::RefPtr<Gdk::Pixbuf> const&, int, int, int, int, int, int,
Gdk::RgbDither, int, int) () from /usr/lib/x86_64-linux-gnu/libgdkmm-2.4.so.1
No symbol table info available.
#1  0x0000555555571225 in Board::draw_bg (this=this at entry=0x5555558f3000) at
Board.cc:438
        j = 0
        i = 0
        p1 = <optimized out>
        p2 = <optimized out>
        width = 472
        height = 369
        bg_width = 48
        bg_height = 48
        count_w = <optimized out>
        count_h = 10
        gc = {pCppObject_ = 0x0}
        grid_width = 32767
        grid_height = 1435520560
        seg = {{x1 = -147768960, y1 = 32767, x2 = 1435510544, y2 = 21845}, {x1
= 1436931472, y1 = 21845, x2 = -183344640,
            y2 = 32767}, {x1 = -179234480, y1 = 32767, x2 = -150017433, y2 =
32767}, {x1 = 1435510488, y1 = 21845, x2 = 323522304,
            y2 = 1206167443}, {x1 = 1435510416, y1 = 21845, x2 = 323522304, y2
= 1206167443}, {x1 = -145372640, y1 = 32767,
            x2 = 1435510584, y2 = 21845}, {x1 = 1, y1 = 0, x2 = 323522304, y2 =
1206167443}, {x1 = 1436931472, y1 = 21845, x2 = 1,
            y2 = 0}, {x1 = 1436931456, y1 = 21845, x2 = 1436931464, y2 =
21845}}
---Type <return> to continue, or q <return> to quit---
#2  0x0000555555571a26 in Board::redraw (this=0x5555558f3000) at Board.cc:318
        x = 0
        y = 0
#3  0x00007ffff70f00e8 in
Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
No symbol table info available.
#4  0x00007ffff4ee2f9d in g_closure_invoke () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#5  0x00007ffff4ef5b45 in ?? () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#6  0x00007ffff4efe4a5 in g_signal_emit_valist () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#7  0x00007ffff4efeebf in g_signal_emit () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#8  0x00007ffff5634921 in ?? () from /usr/lib/x86_64-linux-
gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x00007ffff7aa672d in Gtk::Widget_Class::show_callback(_GtkWidget*) () from
/usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1
No symbol table info available.
#10 0x00007ffff4ee2f9d in g_closure_invoke () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#11 0x00007ffff4ef5d9e in ?? () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#12 0x00007ffff4efe4a5 in g_signal_emit_valist () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#13 0x00007ffff4efeebf in g_signal_emit () from /usr/lib/x86_64-linux-
gnu/libgobject-2.0.so.0
No symbol table info available.
#14 0x00007ffff5629b46 in gtk_widget_show () from /usr/lib/x86_64-linux-
gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x00007ffff7aa65f0 in
Gtk::Widget_Class::show_all_vfunc_callback(_GtkWidget*) () from
/usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1
No symbol table info available.
#16 0x00005555555935ad in MainWindow::MainWindow (this=0x7fffffffdac0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at MainWindow.cc:165
        main_window = <optimized out>
        scrolwin = <optimized out>
        scroll_book = <optimized out>
        colormap_ = {pCppObject_ = 0x5555558ac8a0}
        engine_name = {static npos = 18446744073709551615,
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x7fffffffdaac "\001"}, _M_string_length = 140737351869792,
{
            _M_local_buf =
"\240\332\377\377\377\177\000\000\205\032\253\367\377\177\000",
_M_allocated_capacity = 140737488345760}}
        box_board = <optimized out>
        menu_tool_box = <optimized out>
        tmp = {static npos = 18446744073709551615,
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
---Type <return> to continue, or q <return> to quit---
            _M_p = 0x0}, _M_string_length = 0, {_M_local_buf = "\360", '\000'
<repeats 14 times>, _M_allocated_capacity = 240}}
        color_ = {static npos = 18446744073709551615,
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x7fffffffdab0 "\350\304\327\367\377\177"}, _M_string_length
= 140737348574512, {
            _M_local_buf =
"\226\004\000\000\000\000\000\000\322\071\244\367\377\177\000",
_M_allocated_capacity = 1174}}
        theme_ = {static npos = 18446744073709551615,
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x0}, _M_string_length = 5180449721508466432, {
            _M_local_buf =
"\254\332\377\377\377\177\000\000\060t\335\367\377\177\000",
_M_allocated_capacity = 140737488345772}}
#17 0x000055555556ba84 in main (argc=<optimized out>, argv=<optimized out>) at
main.cc:87
        url = {static npos = 18446744073709551615,
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x7fffffffdcb0 ""}, _M_string_length = 0, {
            _M_local_buf =
"\000\002\000\000\000\000\000\000\247\035\017\367\377\177\000",
_M_allocated_capacity = 512}}
        fd_io = 3
        kit = <incomplete type>
        win = {<Gtk::Window> = {<No data fields>}, m_columns =
{<Gtk::TreeModelColumnRecord> = {<No data fields>},
            step_num = {<Gtk::TreeModelColumnBase> = {type_ = 24, index_ = 0},
<No data fields>},
            step_bout = {<Gtk::TreeModelColumnBase> = {type_ = 24, index_ = 1},
<No data fields>},
            player = {<Gtk::TreeModelColumnBase> = {type_ = 64, index_ = 2},
<No data fields>},
            step_line = {<Gtk::TreeModelColumnBase> = {type_ = 64, index_ = 3},
<No data fields>}}, m_refTreeModel = {
            pCppObject_ = 0x5555558ae460}, board = 0x5555558f3000, ui_xml =
{pCppObject_ = 0x5555558d3380}, ui_manager = {
---Type <return> to continue, or q <return> to quit---
            pCppObject_ = 0x555555a75450}, action_group = {pCppObject_ =
0x555555a5e010}, menubar = 0x555555a927a0,
          m_treeview = <incomplete type>, m_bookview = 0x55555584e600,
buttonbox_war = 0x555555a34230, text_comment = 0x555555a5ea00,
          text_engine_log = 0x555555a40250, m_notebook = 0x555555a3ad20,
confwindow = 0x0, ui_logo = {pCppObject_ = 0x555555a5dfd0},
          p1_image = 0x555555a9f1b0, p2_image = 0x555555a9efa0, p1_step_time =
0x555555a79ca0, p2_step_time = 0x5555559102b0,
          p1_war_time = 0x555555a9ee00, p2_war_time = 0x5555558ece70, p1_name =
0x555555932490, p2_name = 0x555555a9f520,
          btn_start = 0x55555593df60, btn_end = 0x555555a351f0, btn_prev =
0x555555a33d60, btn_next = 0x7fffdc002d00,
          btn_chanjue = 0x555555910200, btn_begin = 0x55555590dc50, btn_lose =
0x55555591a130, btn_draw = 0x555555a3a940,
          btn_rue = 0x555555932350}
(gdb)



-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gmchess depends on:
ii  convert-pgn        0.29.6.1-1
ii  eleeye             0.29.6.1-1
ii  libatkmm-1.6-1v5   2.24.2-3
ii  libc6              2.26-6
ii  libgcc1            1:7.3.0-1
ii  libglib2.0-0       2.54.3-2
ii  libglibmm-2.4-1v5  2.54.1-2
ii  libgtkmm-2.4-1v5   1:2.24.5-2
ii  libsigc++-2.0-0v5  2.10.0-1
ii  libstdc++6         7.3.0-1

gmchess recommends no packages.

gmchess suggests no packages.

-- no debconf information



More information about the Chinese-developers mailing list