fvwm 2.5.8 (on FreeBSD 4.8-release-p13) crashes on menu pop up

parv parv at pair.com
Mon Nov 3 22:38:46 PST 2003


Hi,

Fvwm 2.5.8 (built from ports on FreeBSD 4.8-RELEASE-p13) seem to be
crashing on menu pop (either via key binding or mouse).  Below is
a backtrace (tried to bring up menu via mouse click on root
window)...

  This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /cdrw/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
  Deprecated bfd_read called at /cdrw/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

  Core was generated by `fvwm'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /usr/X11R6/lib/libXft.so.2...done.
  Reading symbols from /usr/local/lib/libfreetype.so.9...done.
  Reading symbols from /usr/X11R6/lib/libfontconfig.so.1...done.
  Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
  Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
  Reading symbols from /usr/X11R6/lib/libXpm.so.4...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/libX11.so.6...done.
  Reading symbols from /usr/lib/libm.so.2...done.
  Reading symbols from /usr/local/lib/libpng.so.5...done.
  Reading symbols from /usr/lib/libz.so.2...done.
  Reading symbols from /usr/lib/libxpg4.so.3...done.
  Reading symbols from /usr/lib/libc.so.4...done.
  Reading symbols from /usr/local/lib/libexpat.so.4...done.
  Reading symbols from /usr2/X11R6/lib/libXThrStub.so.6...done.
  Reading symbols from /usr2/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
  Reading symbols from /usr2/X11R6/lib/X11/locale/common/xomGeneric.so.2...done.
  Reading symbols from /usr/libexec/ld-elf.so.1...done.
  #0  0x80ad093 in FlocaleDrawUnderline (dpy=0x80e8000, flf=0x80fb680, fws=0x80e6a00, offset=0)
      at Flocale.c:2080
  2080            v_coffset = l_to_v[l_coffset];
  (gdb) bt
  #0  0x80ad093 in FlocaleDrawUnderline (dpy=0x80e8000, flf=0x80fb680, fws=0x80e6a00, offset=0)
      at Flocale.c:2080
  #1  0x80a0628 in menuitem_paint (mi=0x80e6c80, mpip=0xbfbfee3c) at menuitem.c:689
  #2  0x8051352 in paint_menu (mr=0x80eb750, pevent=0x80da100, fw=0x0) at menus.c:3283
  #3  0x8055874 in menu_expose (event=0x80da100, fw=0x0) at menus.c:6555
  #4  0x8053594 in __mloop_handle_event (pmp=0xbfbff1b0, pmret=0xbfbff1a4, pdkp=0xbfbff0f4, in=0xbfbff008,
      med=0xbfbfeff4, msi=0xbfbfefe4) at menus.c:4900
  #5  0x80547ed in __menu_loop (pmp=0xbfbff1b0, pmret=0xbfbff1a4, pdkp=0xbfbff0f4) at menus.c:5819
  #6  0x805554d in do_menu (pmp=0xbfbff1b0, pmret=0xbfbff1a4) at menus.c:6423
  #7  0x80a86b0 in menu_func (cond_rc=0xbfbff2a8, exc=0x80fcd00, action=0x80e93e5 "MenuFvwmRoot", fStaysUp=1)
      at menucmd.c:116
  #8  0x80a8739 in CMD_Menu (cond_rc=0xbfbff2a8, exc=0x80fcd00, action=0x80e93e5 "MenuFvwmRoot")
      at menucmd.c:145
  #9  0x80954ec in __execute_function (cond_rc=0x0, exc=0x80fcc80, action=0x80e9960 "Menu MenuFvwmRoot",
      exec_flags=0 '\000', args=0x0) at functions.c:630
  #10 0x809602a in execute_function (cond_rc=0x0, exc=0x80fcc80, action=0x80e9960 "Menu MenuFvwmRoot",
      exec_flags=0) at functions.c:1225
  #11 0x805f96e in __handle_bpress_on_root (exc=0x80fcb80) at events.c:1442
  #12 0x805fb2b in HandleButtonPress (ea=0xbfbff408) at events.c:1556
  #13 0x8061e20 in dispatch_event (e=0xbfbff460) at events.c:3574
  #14 0x8061ece in HandleEvents () at events.c:3619
  #15 0x8081970 in main (argc=3, argv=0xbfbff85c) at fvwm.c:2524
  #16 0x804d716 in _start ()


...I did not have this nasty problem w/ version 2.5.7 compiled w/ the same
options...

  FVWM Configuration:

    Version:     2.5.8

    Executables: /usr2/X11R6/bin
    Man pages:   /usr2/X11R6/man
    Modules:     /usr2/X11R6/libexec/fvwm/2.5.8
    Data files:  /usr2/X11R6/share/fvwm
    Perl lib:    /usr2/X11R6/share/fvwm/perllib
    Locale message:  (Not installed)   ar de fr sv_SE

    With Asian bi-direct. text support? no: Explicitly disabled
    With Gettext Native Lang Support?   no: Failed to detected GNU gettext
    With GTK+ required for FvwmGtk?     yes
    With GDK image support in FvwmGtk?  yes
    With GNOME libs support in FvwmGtk? no: Explicitly disabled
    With PNG image support?             yes
    With ReadLine sup. in FvwmConsole?  yes
    With RPlay support in FvwmEvent?    no: Can't find working librplay
    With Shaped window support?         yes
    With Shared memory for XImage?      yes
    With Session Management support?    no: Explicitly disabled
    With Mouse strokes (gestures)?      no: Can't find working libstroke
    With Xinerama multi-head support?   no: Explicitly disabled
    With Xft anti-alias font support?   yes (version 2)
    With XPM image support?             yes
    With Xrender image support?         yes


...and very basic test fvwm configuration...


  key F1  R  A  -

  Mouse 1 TS  N  move-shade
  Mouse 3  T  N  WindowShade toggle

  DestroyFunc  move-shade
  AddToFunc    move-shade
  +  I Raise
  +  M Move
  +  D WindowShade

  DestroyFunc  StartFunction
  AddToFunc    StartFunction
  +  I Module FvwmAuto 1000 Raise
  +  I Module FvwmPager * *

  ClickTime  550
  ColormapFocus  FollowsFocus

  DesktopName  0 moo
  DeskTopSize  2x1

  Style FvwmPage* Sticky , !Borders

  DestroyModuleConfig FvwmPager:  *
  *FvwmPager:  Font none
  *FvwmPager:  Geometry 140x070-21-0
  *FvwmPager:  NoSeparators
  *FvwmPager:  Label 0 moo
  *FvwmPager:  WindowLabelFormat %c


...Let me know if more/other information is required.


(I am using tvtwm in the mean time as i did not have the foresight
of keeping fvwm 2.5.7 package around.)


  - Parv

-- 



More information about the freebsd-ports mailing list