Subject: Restart fvwm2 segfaults

From: [email-masked]
Date: Sat, 10 Apr 1999 15:33:07 -0500 (CDT)

Full_Name: Stuart Anderson
Version: 2.2
CVS_Date: 
OS: SunOS jelly 5.6 Generic_105181-12 sun4u sparc
X_Server: Openwin 2.6
Submission from: (NULL) (131.215.115.246)

When I click on the following .fvwm2rc menu option I get a segmentation
fault:
+       "Restart fvwm"          Restart fvwm2

The following shows up in the original shell:
FVWM2 has been killed by a signal 11.

and gdb/where on the core file indicates:
#0  0x6fc4653c in t_splay ()
#1  0x6fc463ac in t_delete ()
#2  0x6fc46080 in realfree ()
#3  0x6fc467ec in _free_unlocked ()
#4  0x6fc4673c in free ()
#5  0x6fe299d4 in _XFreeDisplayStructure ()
#6  0x6fe22a60 in XCloseDisplay ()
#7  0x2e0e8 in Done ()
#8  0x1fbc4 in restart_function ()
#9  0x2bfec in ExecuteFunction ()
#10 0x30658 in do_menu ()
#11 0x202b8 in warp_func ()
#12 0x2030c in popup_func ()
#13 0x2bfec in ExecuteFunction ()
#14 0x2aa78 in HandleButtonPress ()
#15 0x29104 in DispatchEvent ()
#16 0x29154 in HandleEvents ()
#17 0x2cc40 in main ()

Here is how fvwm was configured/compiled:

tar xzvf fvwm-2.2.tar.gz
cd fvwm-2.2
#
# Makefiles missing the -R for libXpm
#
vi configure
        # Add -R$withval after -L$withval in xpm_LIBS
        xpm_LIBS="-L$withval -R$withval -l${smr_lib}"

./configure --prefix=/opt/pspm --enable-extras
--x-includes=/usr/openwin/include
 --x-libraries=/usr/openwin/lib
--with-iconpath=/opt/pspm/include/X11/bitmaps --
with-xpm-includes=/opt/pspm/include --with-xpm-library=/opt/pspm/lib/X11
make

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]