Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 19:01:30 -0400
From:      parv <parv_@yahoo.com>
To:        f-q <freebsd-questions@freebsd.org>
Cc:        D J Hawkey Jr <hawkey@fanbuzz.com>
Subject:   survey - vtwm crash
Message-ID:  <20010726190129.B81698@moo.holy.cow>

next in thread | raw e-mail | index | archive | help

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi people,

i am working w/ the maintainer, d j hawkey jr, of vtwm. i have been
experiencing vtwm 5.4.5a crashes after short period of time. here is
what i have...

freebsd 4-stable, 20010717
ati rage 128 mobility lf 8MB agp card
XFree86 4.1.0, (r128 driver)
dell inspiron 5000e (laptop)

...attached is the vtwm rc file. i am looking for other's' experiences
so that we can narrow down the problem, be it a particular option in rc
file or XF86 or my laptop. 

i ask from you that...

  (1) install/use vtwm compiled w/ debugging symbols.

  easiest way that i know is...

    a. edit /etc/make.conf such that "CFLAGS=" line contains "-g"
      option; if, it was...

      CFLAGS= -O -pipe

      ...change it to...

      CFLAGS= -g -O -pipe

    b. then install vtwm from ports...

      # cd /usr/ports/x11-wm/vtwm && make install

    c. since standard install process will strip the vtwm binary, 
      copy the unstripped version where install process would have 
      copied...

      # cp -f /usr/ports/x11-wm/vtwm/work/vtwm-5.4.5a/vtwm /usr/X11R6/bin

    d. at this point, you may want to remove "-g" from "CFLAGS" line in 
      /etc/make.conf, and (e) clean the vtwm ports directory...

      # cd /usr/ports/x11-wm/vtwm && make clean


  (2) try the attached rc file; replace key/button bindings and root 
  menus as desired but keep other options intact.

  (3) when you reply, kindly cc to hawkey (hawkey@fanbuzz.com) too.
  or, i will need to forward your replies to him.

  (4) if vtwm crashes, send your backtrace (w/ debugging symbols) and 
  configurations.


over here, vtwm produced the same stack info for every crash; here is 
the backtrace that i get...

-----------------------
...
Program terminated with signal 11, Segmentation fault.  
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.  
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.  
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.  
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.  
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.  
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.  
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.  
Reading symbols from /usr/lib/libc.so.4...done.  
Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done.  
Reading symbols from /usr/libexec/ld-elf.so.1...done.  
#0  0x806b420 in RaiseStickyAbove () at desktop.c:1352  
1352            if (Scr->StickyAbove) {  
(gdb) bt  
#0  0x806b420 in RaiseStickyAbove () at desktop.c:1352  
#1  0x805b7ae in AutoRaiseWindow (tmp=0x80ee600) at events.c:120  
#2  0x805bb9f in HandleEvents () at events.c:356  
#3  0x8051f1a in main (argc=3, argv=0xbfbffb2c, environ=0xbfbffb3c) at twm.c:734  
#4  0x804ab85 in _start () 
-----------------------


--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vtwm-hawk.rc"


# miscellanous
FixManagedVirtualGeometries
FixTransientVirtualGeometries
NoGrabServer
#NotVirtualGeometries
#RestartPreviousState
WarpCursor
#WarpWindows
WarpToTransients
WarpUnmapped
NoDefaultTitleButtons

# auto raise
AutoRaise
AutoRaiseDelay		500
#NoRaiseOnMove
RaiseDelay		500
#NoStackMode

# window placement
RandomPlacement
#UsePPosition		"off"

# window resizing
AutoRelativeResize
NoOpaqueMove
NoOpaqueResize
#MaxWindowSize		"750x540"

# title bar
ButtonColorIsFrame
ButtonBevelWidth	0
#NoTitleHighlight
SunkFocusWindowTitle
TitleBevelWidth		1

# window border
BorderWidth		3
BorderBevelWidth	1
#ClientBorderWidth
InfoBevelWidth		3
#UseRealScreenBorder

# menu options
InterpolateMenuColors
MenuBevelWidth		0
RightHandSidePulldownMenus
StayUpMenus
StayUpOptionalMenus

# icon manager
DeiconifyToScreen
IconifyByUnmapping
IconManagerBevelWidth	2
IconManagerGeometry	"145X115-0+0" 1
#NoCaseSensitive
NoIconifyIconManagers
NoIconManagerFocus
#SortIconManager
ShowIconManager

# virtual desktop pager
RealScreenBorderWidth	0
VirtualDesktop		"4x2-0-0" 18
#VirtualReceivesMotionEvents
#VirtualSendsMotionEvents

# font
MenuTitleFont	"-adobe-new century schoolbook-bold-r-normal--14-140-75-75-p-87-iso8859-1"
MenuFont	"-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-82-iso8859-1"
InfoFont	"-adobe-new century schoolbook-medium-r-normal--18-180-75-75-p-103-iso8859-1"
ResizeFont	"-adobe-new century schoolbook-bold-r-normal--18-180-75-75-p-113-iso8859-1"
TitleFont	"-misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1"
IconManagerFont	"-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
VirtualDesktopFont	"-schumacher-clean-medium-r-normal--12-120-75-75-c-60-iso646.1991-irv"

# Functions and Bindings
Function "VTWM Profile"
{
        f.exec "startxclients &"
}
Function "move-or-raise"
{
        f.move
        f.deltastop
        f.raise
}
Function "move-or-iconify"
{
        f.move
        f.deltastop
        f.iconify
}
# This is for warping to the iconified...
Function "deiconify-or-warp"
{
        f.deiconify
        f.warp
}

LeftTitleButton         ":xpm:bar" = f.menu "ArrangeMenu"
RightTitleButton        ":xpm:dot" = f.iconify
RightTitleButton        ":xpm:resize" = f.resize

Button1 = : root : f.version
Button3 = : root : f.menu "XWindowsMenu"

Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.resize
Button3 = : title : f.lower

Button1 = : frame : f.function "move-or-raise"
Button2 = : frame : f.resize
Button3 = : frame : f.iconify

Button1 = : icon : f.function "move-or-iconify"
Button3 = : icon : f.menu "ArrangeMenu"

Button1 = : iconmgr : f.iconify
Button3 = : iconmgr : f.function "deiconify-or-warp"

Button1 = : door : f.enterdoor
Button2 = : door : f.namedoor
Button3 = : door : f.deletedoor

Button1 = : virtual | desktop : f.movescreen
Button2 = : virtual | desktop : f.function "decorate-virtual"
Button3 = : virtual | desktop : f.function "clear-virtual"

"Left"	= c : all : f.panleft "100"
"Right"	= c : all : f.panright "100"
"Up"	= c : all : f.panup "100"
"Down"	= c : all : f.pandown "100"

"Left"	= s : all : f.panleft "100"
"Right"	= s : all : f.panright "100"
"Up"	= s : all : f.panup "100"
"Down"	= s : all : f.pandown "100"

"Left"	= c|s : all : f.panleft "25"
"Right"	= c|s : all : f.panright "25"
"Up"	= c|s : all : f.panup "25"
"Down"	= c|s : all : f.pandown "25"

"Left"	= : root : f.panleft "100"
"Right"	= : root : f.panright "100"
"Up"	= : root : f.panup "100"
"Down"	= : root : f.pandown "100"

# key-shortcuts for often used commands
"n"	= c | m :  all : f.exec "netscape &"
"l"	= c | m :  all : f.exec "linux-netscape &"
"x"	= c | m :  all : f.exec "xv &"
"g"	= c | m :  all : f.exec "gimp -S -s -c &"
"s"	= c | m :  all : f.nail
"i"	= c | m :  all : f.identify

"Menu"	=  : all : f.menu "rootMenu"

#"F1"	= : all : f.exec "aterm &"
#"F2"	= : all : f.exec "aterm -fg white -bg rgb:50/0/0 -sl 100 -e su - toor &"
"F3"	= : all : f.warptonewest
"F4"	= : all : f.warp
"F5"	= : all : f.nop
"F5"	= c : all : f.focus
"F6"	= : all : f.lower
"F7"	= : all : f.raise
"F8"	= : all : f.raiselower
"F9"	= : all : f.iconify
"F10"	= : all : f.backiconmgr
"F11"	= : all : f.downiconmgr
"F12"	= : all : f.restart


# block { } options
SqueezeTitle
{
 "*"	left 0 0
 "XTerm"	right  0  0
}

NailedDown
{
        "VTWM*"
        "xbiff*"
        "xcb"
        "*clock"
        "xeyes"
        "xload"
        "xpostit"
        "as*"
}

NoTitle
{
        "VTWM*"
        "xbiff*"
        "xcb"
        "*clock"
        "xeyes"
        "xload"
        "xpostit"
        "as*"
}

DontShowInDisplay
{
        "VTWM*"
        "xbiff*"
        "xcb"
        "*clock"
        "xeyes"
        "xload"
        "xpostit"
        "as*"
}

IconManagerDontShow
{
        "VTWM*"
#       "xbiff*"
#       "xcb"
#       "*clock"
#       "xeyes"
#       "xload"
#       "xpostit"
#       "as*"
}

Color
{
        DefaultBackground                       "gray60"
        DefaultForeground                       "gray90"
        MenuBackground                          "gray60"
        MenuForeground                          "gray90"
        MenuTitleBackground                     "gray60"
        MenuTitleForeground                     "gray90"
        RealScreenBackground            "gray50"
        RealScreenForeground            "black"
        VirtualBackground                       "gray60"
        VirtualForeground                       "black"
        BorderColor                                     "gray75" {}
        BorderTileBackground            "gray60" {}
        BorderTileForeground            "gray60" {}
        TitleBackground                         "DeepSkyBlue4"
        {
                "VTWM*"                                 "gray60"
                "XTerm"                                 "SeaGreen"
                "Xqsh"                                  "maroon"
                "xbiff*"                                "gray60"
                "xcb"                                   "gray60"
                "*clock"                                "gray60"
                "xload"                                 "gray60"
                "as*"                                   "gray60"
        }
        TitleForeground                         "gray90" {}
        IconBackground                          "DeepSkyBlue4"
        {
                "VTWM*"                                 "gray60"
                "XTerm"                                 "SeaGreen"
                "Xqsh"                                  "maroon"
                "xbiff*"                                "gray60"
                "xcb"                                   "gray60"
                "*clock"                                "gray60"
                "xload"                                 "gray60"
                "as*"                                   "gray60"
        }
        IconForeground                          "gray90" {}
        IconBorderColor                         "gray75" {}
#       IconBorderColor                         "DeepSkyBlue4"
#       {
#               "VTWM*"                                 "gray60"
#               "XTerm"                                 "SeaGreen"
#               "Xqsh"                                  "maroon"
#               "xbiff*"                                "gray60"
#               "xcb"                                   "gray60"
#               "*clock"                                "gray60"
#               "xload"                                 "gray60"
#               "as*"                                   "gray60"
#       }
        IconManagerBackground           "DeepSkyBlue4"
        {
                "VTWM*"                                 "gray60"
                "XTerm"                                 "SeaGreen"
                "Xqsh"                                  "maroon"
                "xbiff*"                                "gray60"
                "xcb"                                   "gray60"
                "*clock"                                "gray60"
                "xload"                                 "gray60"
                "as*"                                   "gray60"
        }
        IconManagerForeground           "gray90" {}
        IconManagerHighlight            "gray90" {}
        DoorBackground                          "gray60" {}
        DoorForeground                          "gray90" {}
        DesktopDisplayBackground        "DeepSkyBlue4"
        {
                "VTWM*"                                 "gray60"
                "XTerm"                                 "SeaGreen"
                "Xqsh"                                  "maroon"
                "xbiff*"                                "gray60"
                "xcb"                                   "gray60"
                "*clock"                                "gray60"
                "xload"                                 "gray60"
                "as*"                                   "gray60"
        }
}

Cursors
{
        Button          "arrow"
#       Frame           "arrow"
        IconMgr         "arrow"
        Menu            "arrow"
        Title           "arrow"
}


# Menus

include(HOME/vtwm/vtwmrc-menus)


--T4sUOijqQbZv57TR--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726190129.B81698>