Hi there,

I got ctwm crash by 3.8a with attached config, here is the stack trace:

(gdb) bt
#0  0x00138cef in _setjmp () from /lib/tls/libc.so.6
#1  0x0017eabd in _IO_no_init () from /lib/tls/libc.so.6
#2  0x0013a4f5 in atol () from /lib/tls/libc.so.6
#3  0x0805b961 in Crash (signum=11) at ctwm.c:1313
#4  0x00138ec8 in raise () from /lib/tls/libc.so.6
#5  0x080979f0 in set_last_window (current=0x6f63692e) at
clicktofocus.c:28
#6  0x080736ae in HandleDestroyNotify () at events.c:2300
#7  0x08073ec5 in HandleUnmapNotify () at events.c:2542
#8  0x0806eb6d in DispatchEvent () at events.c:502
#9  0x0806ec83 in HandleEvents () at events.c:546
#10 0x0805a687 in main (argc=4, argv=0xbfffbd64, environ=0xbfffbd78)
    at ctwm.c:905

to reproduce this, 
  1. run ctwmrc with attched .ctwmrc
  2. then get no-title bar window popup
       easiest way is using Firefox, go basic authenticated page
       then enable to get password popup
  3. click button to close popup (OK / Cancel /etc/)
  4. ... then ctwm crash, get core.

Best regards,

Yoshihiro Satou
[EMAIL PROTECTED]

- - - - -
.ctwmrc
- - - - -

ShowIconManager
IconManagerDontShow { "xclock" "xpbiff" }
IconManagerGeometry "100x600-2+2" 1
IconifyByUnmapping
SortIconManager
NoCaseSensitive
BorderWidth 3
ButtonIndent 0
ConstrainedMoveTime 0
MoveDelta 6
NoBackingStore
NoDefaults
NoMenuShadows
NoSaveUnders
ClickToFocus
RaiseDelay 250
NoTitle { "cmdtool" "xclock" "xbiff" }
NoTitleFocus

IconFont "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-jisx0208.1983-0"
IconManagerFont
"-*-fixed-medium-r-normal-*-14-*-*-*-*-*-jisx0208.1983-0"
MenuFont "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-jisx0208.1983-0"
ResizeFont "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-jisx0208.1983-0"
TitleFont "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-jisx0208.1983-0"
WorkSpaceFont "-*-fixed-medium-r-normal-*-10-*-*-*-*-*-jisx0208.1983-0"

RestartPreviousState
TitleButtonBorderWidth 1
DefaultFunction f.nop
WindowFunction f.iconify
LeftTitleButton ":iconify" = f.iconify
LeftTitleButton ":question" = f.menu "ThisWinOperations"
RightTitleButton ":resize" = f.resize
Button1 =      : frame   : f.function "delta_move_else_raise"
Button1 =      : title   : f.function "delta_move_else_raiselower"
Button1 =      : icon    : f.function "delta_move_else_deiconify"
Button1 =      : iconmgr : f.iconify
Button2 =      : root    : f.menu "Main Menu"
Button2 =      : title   : f.menu "Main Menu"
Button3 =      : frame   : f.menu "ThisWinOperations"
Button3 =      : icon    : f.menu "ThisWinOperations"
Button3 =      : iconmgr : f.menu "ThisWinOperations"
Button3 =      : root    : f.menu "Main Menu"
Button3 =      : title   : f.menu "ThisWinOperations"
Button1 = c|m  : all     : f.beep
Button2 = c|m  : all     : f.beep
Button3 = c|m  : window  : f.move
Button1 = m|s  : all     : f.beep
Button2 = m|s  : all     : f.beep
Button3 = m|s  : all     : f.beep
Button1 = m    : window  : f.raiselower
Button2 = s    : all     : f.resize
"F9"    = c    : all     : f.restart
"F9"    = s    : all     : f.quit

function "delta_move_else_deiconify" {
  f.move f.deltastop f.deiconify
}
function "delta_move_else_raise" {
  f.move f.deltastop f.raise
}
function "delta_move_else_raiselower" {
  f.move f.deltastop f.raiselower
}


menu "ThisWinOperations"
 {
        "THIS Window" f.title
        "Relocate"  f.occupy
        "Destroy" f.destroy
        "Close" f.delete
        "(Un)Zoom" f.zoom
        "Win Refresh" f.winrefresh
        "(De)Iconify" f.iconify
        "Raise" f.raise
        "Lower" f.lower
        "Move" f.move
        "Resize" f.resize
        "Distribute" f.occupyall
 }

menu "Main Menu"
 {
"Main Menu"     f.title
"Firefox"       !"env LC_ALL=ja_JP.eucJP LANG=ja_JP.eucJP 
XMODIFIERS=\"@im=kinput2\" firefox &"
"Emacs"         !"emacs --multibyte -fn fontset-standard &"
" "             f.separator
"Apps Term"     !"kterm -km sjis -geometry 91x25 -title AppsTerm  &"
"Calculator"    !"xcalc &"
" "             f.separator
" "             f.nop
"Lock Terminal" !"xscreensaver-command -lock"
" "             f.nop
" "             f.separator
"Log Out"       f.quit
 }

Reply via email to