Re: FVWM: fvwm2.5.5 FvwmTaskbar crashes on resize?

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Sun, 09 Mar 2003 08:19:35 -0500

Gert Brinkmann <g111_at_netcologne.de> writes:
> This is a multi-part message in MIME format.
> --------------000201060408080800020102
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
>
> dominik.vogt_at_gmx.de wrote:
>
> > Doesn't crash here. Can you post a minimal config file and a
>
> I could do that but it would make no sense, because the minimal config
> file is an empty config file (so only the fvwm default config is used)
> Do you still want me to post it? :)
>
> > stack trace, please?
> >
> > $ gdb FvwmTaskBar core
> > (gdb) where
>
> I am not sure how to use the gdb.

I'll explain how to use gdb, but first, here is the stack trace.
(Not very useful.)

(gdb) where
#0 0x40242971 in kill () from /lib/libc.so.6
#1 0x40242775 in raise () from /lib/libc.so.6
#2 0x40243da3 in abort () from /lib/libc.so.6
#3 0x08064827 in PrintXErrorAndCoredump () at ../../fvwm2_5_6/libs/XError.c:81
#4 0x080506b3 in ErrorHandler (d=0x8080208, event=0xbffff550)
    at ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:2500
#5 0x4015d663 in _XError () from /usr/X11R6/lib/libX11.so.6
#6 0x4015c29d in _XReply () from /usr/X11R6/lib/libX11.so.6
#7 0x401579e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#8 0x0804ef7e in LoopOnEvents () at ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:1764
#9 0x0804cb03 in EndLessLoop () at ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:427
#10 0x0804ca0e in main (argc=6, argv=0xbffff8b4)
    at ../../../fvwm2_5_6/modules/FvwmTaskBar/FvwmTaskBar.c:388
#11 0x402305b0 in __libc_start_main () from /lib/libc.so.6


To use gdb with a core file, you need the full path the the executable and
the full path to the core file. Normally, the core file is in your home
directory. So:

home> which FvwmTaskBar
/home/dane/bin/fvwm/exec/fvwm/2.5.6/FvwmTaskBar
home> cd
home> gdb /home/dane/bin/fvwm/exec/fvwm/2.5.6/FvwmTaskBar core

then you type "where", then "quit".

Here is the X Error:

*FvwmTaskBar: Cause of next X Error.
   Error: 13 (BadGC (invalid GC parameter))
   Major opcode of failed request: 56 (ChangeGC)
   Minor opcode of failed request: 0
   Resource id of failed request: 0x4000023
 Leaving a core dump now

My FvwmTaskBar config:

Style "FvwmTaskBar" NoTitle,BorderWidth 0, HandleWidth 0,Sticky, StaysOnTop, WindowListSkip, CirculateSkip
DestroyModuleConfig FvwmTaskBar
*FvwmTaskBarBack #c3c3c3
*FvwmTaskBarFore black
*FvwmTaskBarTipsBack bisque
*FvwmTaskBarTipsFore black
*FvwmTaskBarGeometry +0-1
*FvwmTaskBarDeskOnly
*FvwmTaskBarFont -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*
*FvwmTaskBarSelFont -adobe-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*
*FvwmTaskBarStatusFont fixed
*FvwmTaskBarAction Click1 Iconify -1, Raise
*FvwmTaskBarAction Click2 Iconify +1, Lower
*FvwmTaskBarAction Click3 Iconify -1, Raise

#*FvwmTaskBarAutohide
*FvwmTaskBarUseSkipList
*FvwmTaskBarUseIconNames
*FvwmTaskBarAutoStick
*FvwmTaskBarShowTips

*FvwmTaskBarButtonWidth 180
*FvwmTaskBarBellVolume 20
*FvwmTaskBarMailBox /var/spool/mail/
*FvwmTaskBarMailCommand Exec xterm -e mail
*FvwmTaskBarClockFormat %I:%M %p

*FvwmTaskBarStartName Start
*FvwmTaskBarStartMenu StartMenu
*FvwmTaskBarStartIcon mini-exp.xpm

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Mar 09 2003 - 07:21:44 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST