Thanks, that fixed it. Is this something that should be changed
upstream?
On Mon, May 26, 2008 at 07:39:42PM +0200, Enno Gottox Boland wrote:
> replace view(NULL) in line 360 by
>
> uint mask = ~0;
> view(&mask);
>
> 2008/5/26, James Turner <james_AT_bsdgroup.org>:
> > I get a segfault whenever I quit dwm-5.0. Below is the output from gdb.
> > You can disregard my last message that included the core and my
> > xsession. It happens with startx as well. Thanks.
> >
> > [james_AT_console ~]$ gdb /usr/local/bin/dwm dwm.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 "amd64-unknown-openbsd4.3"...
> > Core was generated by `dwm'.
> > Program terminated with signal 11, Segmentation fault.
> > Reading symbols from /usr/lib/libc.so.44.0...done.
> > Loaded symbols for /usr/lib/libc.so.44.0
> > Reading symbols from /usr/X11R6/lib/libX11.so.11.1...done.
> > Loaded symbols for /usr/X11R6/lib/libX11.so.11.1
> > Reading symbols from /usr/X11R6/lib/libXinerama.so.5.0...done.
> > Loaded symbols for /usr/X11R6/lib/libXinerama.so.5.0
> > Reading symbols from /usr/X11R6/lib/libXdmcp.so.9.0...done.
> > Loaded symbols for /usr/X11R6/lib/libXdmcp.so.9.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/libXext.so.10.0...done.
> > Loaded symbols for /usr/X11R6/lib/libXext.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.0...done.
> > Loaded symbols for /usr/X11R6/lib/libXfixes.so.5.0
> > Reading symbols from /usr/X11R6/lib/libXrender.so.5.0...done.
> > Loaded symbols for /usr/X11R6/lib/libXrender.so.5.0
> > #0 view (arg=0x0) at dwm.c:1672
> > 1672 if(*(int *)arg & TAGMASK) {
> > (gdb) bt
> > #0 view (arg=0x0) at dwm.c:1672
> > #1 0x0000000000403192 in cleanup () at dwm.c:360
> > #2 0x0000000000406e18 in main (argc=0, argv=0x4004667f) at dwm.c:1748
> > (gdb)
> >
> >
> > --
> > James Turner
> > BSD Group Consulting
> > http://www.bsdgroup.org
> >
> >
>
>
> --
> http://www.gnuffy.org - Real Community Distro
> http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
>
-- James Turner BSD Group Consulting http://www.bsdgroup.orgReceived on Mon May 26 2008 - 19:43:09 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:44:50 UTC