[dev] [st] Crash on OpenBSD i386 with vim/mutt

From: haris <sweepy1982_AT_gmail.com>
Date: Mon, 25 Feb 2013 23:31:16 +0200

Hi _AT_ all. First mail in this list and I'd like to thank the dev team for
all those quality suckless solutions. :)

I'm having the following problem with st: when opening mutt, it
completely crashes. With vim/vi, it happens randomly.

I'm on -current OpenBSD i386, builded on 12 Feb.

Here is the gdb output.

% gdb /usr/local/bin/st st.core
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 "i386-unknown-openbsd5.3"...
Core was generated by `st'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.66.2...done.
Loaded symbols for /usr/lib/libc.so.66.2
Reading symbols from /usr/X11R6/lib/libX11.so.15.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.15.1
Reading symbols from /usr/lib/libutil.so.11.4...done.
Loaded symbols for /usr/lib/libutil.so.11.4
Reading symbols from /usr/X11R6/lib/libXext.so.12.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.12.0
Reading symbols from /usr/X11R6/lib/libXft.so.8.0...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.8.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.7.0
Reading symbols from /usr/lib/libexpat.so.10.0...done.
Loaded symbols for /usr/lib/libexpat.so.10.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.19.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.19.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/X11R6/lib/libxcb.so.2.4...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.2.4
Reading symbols from /usr/X11R6/lib/libXrender.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.5.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.1.0
Reading symbols from /usr/X11R6/lib/libXau.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.9.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.10.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.5.1...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.5.1
#0 0x00b7ffea in XRenderFillRectangle () from
/usr/X11R6/lib/libXrender.so.5.0
(gdb) up
#1 0x003a9d90 in XftDrawRect () from /usr/X11R6/lib/libXft.so.8.0
(gdb) bt
#0 0x00b7ffea in XRenderFillRectangle () from
/usr/X11R6/lib/libXrender.so.5.0
#1 0x003a9d90 in XftDrawRect () from /usr/X11R6/lib/libXft.so.8.0
#2 0x1c0042ae in xdraws (s=0xcfbdd898 "n mutt", ' ' <repeats 73 times>,
base={c = "n_US", mode = 46 '.', fg = 18004, bg = 14381, state = 47
'/'}, x=1, y=1, charlen=1,
    bytelen=1) at st.c:2810
#3 0x1c0047b2 in draw () at st.c:3033
#4 0x1c0072d9 in main (argc=596628, argv=0x10001) at st.c:3306

Same thing was happening on amd64, but stopped about a week ago.

core file at http://www.cyber-cypher.com/suckless/st.core

-- 
-----------------------------------------------
something something
Received on Mon Feb 25 2013 - 22:31:16 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 25 2013 - 22:36:05 CET