Markus Teich writes:
> Since i am currently working on a debugging tool, i would very much 
> like to reproduce this bug.

I can reproduce this on OpenBSD -current with st-0.3.

$ ldd `which st`
/usr/local/bin/st:
        Start            End              Type Open Ref GrpRef Name
        0000156e5c600000 0000156e5ca0f000 exe  1    0   0      /usr/local/bin/st
        0000157068525000 0000157068a56000 rlib 0    4   0      
/usr/X11R6/lib/libX11.so.15.1
        000015705d6ca000 000015705dad5000 rlib 0    1   0      
/usr/lib/libutil.so.11.4
        000015705e2d6000 000015705e6e7000 rlib 0    1   0      
/usr/X11R6/lib/libXext.so.12.0
        000015705dad5000 000015705dee8000 rlib 0    1   0      
/usr/X11R6/lib/libXft.so.8.0
        000015705ff6c000 00001570603af000 rlib 0    2   0      
/usr/X11R6/lib/libfontconfig.so.8.0
        000015706ab84000 000015706b06c000 rlib 0    1   0      
/usr/lib/libc.so.66.2
        000015705ec3d000 000015705f05b000 rlib 0    4   0      
/usr/X11R6/lib/libxcb.so.2.4
        0000157069adf000 0000157069f03000 rlib 0    2   0      
/usr/lib/libexpat.so.10.0
        0000157069655000 0000157069adf000 rlib 0    2   0      
/usr/X11R6/lib/libfreetype.so.19.0
        000015705d1b6000 000015705d5cb000 rlib 0    2   0      
/usr/lib/libz.so.4.1
        0000157062dbb000 00001570631c4000 rlib 0    1   0      
/usr/X11R6/lib/libXrender.so.5.0
        0000157068a56000 0000157068e58000 rlib 0    2   0      
/usr/X11R6/lib/libpthread-stubs.so.1.0
        0000157067ed6000 00001570682d9000 rlib 0    1   0      
/usr/X11R6/lib/libXau.so.9.0
        00001570631c4000 00001570635c9000 rlib 0    1   0      
/usr/X11R6/lib/libXdmcp.so.10.0
        000015706a600000 000015706a600000 rtld 0    1   0      
/usr/libexec/ld.so

full backtrace attached.

-- 
Anthony J. Bentley
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.3"...
(gdb) run
Starting program: /usr/local/bin/st 
[New process 3477]

Program received signal SIGSEGV, Segmentation fault.
0x000016f6ed5090c4 in brelease (e=) at st.c:801
801                     term.dirty[sel.ey] = 1;
(gdb) bt full
#0  0x000016f6ed5090c4 in brelease (e=) at st.c:801
        now = {tv_sec = 140187732356736, tv_usec = 4294967295}
#1  0x000016f6ed5062a2 in run () at st.c:2787
        ev = {type = 5, xany = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, window = 31457281}, xkey = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    root = 120, subwindow = 0, time = 560361752, x = 243, y = -1, 
    x_root = 876, y_root = 433, state = 256, keycode = 1, same_screen = 1}, 
  xbutton = {type = 5, serial = 90, send_event = 0, display = 0x16f8f25cb000, 
    window = 31457281, root = 120, subwindow = 0, time = 560361752, x = 243, 
    y = -1, x_root = 876, y_root = 433, state = 256, button = 1, 
    same_screen = 1}, xmotion = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, window = 31457281, root = 120, subwindow = 0, 
    time = 560361752, x = 243, y = -1, x_root = 876, y_root = 433, 
    state = 256, is_hint = 1 '\001', same_screen = 1}, xcrossing = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    root = 120, subwindow = 0, time = 560361752, x = 243, y = -1, 
    x_root = 876, y_root = 433, mode = 256, detail = 1, same_screen = 1, 
    focus = 11584256, state = 3271602371}, xfocus = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, window = 31457281, mode = 120, 
    detail = 0}, xexpose = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, window = 31457281, x = 120, y = 0, width = 0, 
    height = 0, count = 560361752}, xgraphicsexpose = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, drawable = 31457281, x = 120, 
    y = 0, width = 0, height = 0, count = 560361752, major_code = 0, 
    minor_code = 243}, xnoexpose = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, drawable = 31457281, major_code = 120, 
    minor_code = 0}, xvisibility = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, window = 31457281, state = 120}, 
  xcreatewindow = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, parent = 31457281, window = 120, x = 0, y = 0, 
    width = 560361752, height = 0, border_width = 243, 
    override_redirect = -1}, xdestroywindow = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, event = 31457281, window = 120}, 
  xunmap = {type = 5, serial = 90, send_event = 0, display = 0x16f8f25cb000, 
    event = 31457281, window = 120, from_configure = 0}, xmap = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, event = 31457281, 
    window = 120, override_redirect = 0}, xmaprequest = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, parent = 31457281, 
    window = 120}, xreparent = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, event = 31457281, window = 120, parent = 0, 
    x = 560361752, y = 0, override_redirect = 243}, xconfigure = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, event = 31457281, 
    window = 120, x = 0, y = 0, width = 560361752, height = 0, 
    border_width = 243, above = 1859720840044, override_redirect = 256}, 
  xgravity = {type = 5, serial = 90, send_event = 0, display = 0x16f8f25cb000, 
    event = 31457281, window = 120, x = 0, y = 0}, xresizerequest = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    width = 120, height = 0}, xconfigurerequest = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, parent = 31457281, window = 120, 
    x = 0, y = 0, width = 560361752, height = 0, border_width = 243, 
    above = 1859720840044, detail = 256, value_mask = 49754000668491777}, 
  xcirculate = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, event = 31457281, window = 120, place = 0}, 
  xcirculaterequest = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, parent = 31457281, window = 120, place = 0}, 
  xproperty = {type = 5, serial = 90, send_event = 0, 
    display = 0x16f8f25cb000, window = 31457281, atom = 120, time = 0, 
    state = 560361752}, xselectionclear = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    selection = 120, time = 0}, xselectionrequest = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, owner = 31457281, 
    requestor = 120, selection = 0, target = 560361752, 
    property = 18446744069414584563, time = 1859720840044}, xselection = {
    type = 5, serial = 90, send_event = 0, display = 0x16f8f25cb000, 
    requestor = 31457281, selection = 120, target = 0, property = 560361752, 
    time = 18446744069414584563}, xcolormap = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    colormap = 120, new = 0, state = 0}, xclient = {type = 5, serial = 90, 
    send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    message_type = 120, format = 0, data = {
      b = "\030qf!\000\000\000\000�\000\000\000����l\003\000", s = {28952, 
        8550, 0, 0, 243, 0, -1, -1, 876, 0}, l = {560361752, -4294967053, 
        1859720840044, 4294967552, 49754000668491777}}}, xmapping = {type = 5, 
    serial = 90, send_event = 0, display = 0x16f8f25cb000, window = 31457281, 
    request = 120, first_keycode = 0, count = 0}, xerror = {type = 5, 
    display = 0x5a, resourceid = 42998601227436032, serial = 25258473861120, 
    error_code = 1 '\001', request_code = 0 '\0', minor_code = 224 '�'}, 
  xkeymap = {type = 5, serial = 90, send_event = 0, display = 0x16f8f25cb000, 
    window = 31457281, 
    key_vector = "x", '\0' <repeats 15 times>, 
"\030qf!\000\000\000\000�\000\000\000����"}, xgeneric = {type = 5, serial = 90, 
send_event = 0, 
    display = 0x16f8f25cb000, extension = 31457281, evtype = 0}, xcookie = {
    type = 5, serial = 90, send_event = 0, display = 0x16f8f25cb000, 
    extension = 31457281, evtype = 0, cookie = 120, data = 0x0}, pad = {
    -7799389502610341883, 90, 42998601227436032, 25258473861120, 31457281, 
    120, 0, 560361752, -4294967053, 1859720840044, 4294967552, 
    49754000668491777, -5565603951018987325, -4395314486690200832, 
    51724328571699381, -5061200762688718909, -4395306790108347648, 
    53694653526114492, -9096144794337361981, -4323310764430277632, 
    37933153402486916, -8519684007674214460, -4323301968336731136, 
    40184953350389900}}
        rfd = {fds_bits = {128, 0 <repeats 31 times>}}
        xfd = 7
        i = 1
        drawtimeout = {tv_sec = 0, tv_usec = 5}
        tv = (struct timeval *) 0x0
#2  0x000016f6ed5089f2 in main (argc=) at st.c:2864
        i = (gdb) The program is running.  Exit anyway? (y or n) 

Reply via email to