Subject: Latest FvwmPager cores

From: [email-masked] (Paul D. Smith)
Date: 10 Aug 1999 11:12:54 -0400

The latest CVS FvwmPager (about 20 mins. ago) cores with my config:

  *FvwmPagerBack grey69
  *FvwmPagerFore black
  *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*
  *FvwmPagerHilight #cab3ca
  *FvwmPagerGeometry x70+1-1
  *FvwmPagerFont none
  *FvwmPagerLabel 0 FVWM

$ gdb modules/FvwmPager/FvwmPager ~/core 
GNU gdb 4.17
Copyright 1998 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 "sparc-sun-solaris2"...
Core was generated by `/usr/local/libexec/fvwm/2.3.7/FvwmPager 13 4 none 0 8 0 0'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/X11R6.3/lib/libXpm.so.4.11...done.
Reading symbols from /usr/X11R6.3/lib/libSM.so.6.0...done.
Reading symbols from /usr/X11R6.3/lib/libICE.so.6.3...done.
Reading symbols from /usr/X11R6.3/lib/libXext.so.6.3...done.
Reading symbols from /usr/X11R6.3/lib/libX11.so.6.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
#0  0x180a0 in initialize_pager ()
    at ../../../fvwm/modules/FvwmPager/x_pager.c:506
506       gcv.font = windowFont->fid;

(gdb) p windowFont
$1 = (XFontStruct *) 0x0

(gdb) bt
#0  0x180a0 in initialize_pager ()
    at ../../../fvwm/modules/FvwmPager/x_pager.c:506
#1  0x1477c in main (argc=1, argv=0xffffffff)
    at ../../../fvwm/modules/FvwmPager/FvwmPager.c:367

Looks like the code here doesn't handle the case where windowFont is
NULL, which is clearly legal when the smallFont is not defined.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email-masked]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.
--
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]