Issue 1947 - OOo crashes on menu selection
Summary: OOo crashes on menu selection
Status: CLOSED FIXED
Alias: None
Product: ui
Classification: Code
Component: code (show other issues)
Version: 638
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: philipp.lohmann
QA Contact: issues@ui
URL:
Keywords:
: 2036 2116 2388 (view as issue list)
Depends on:
Blocks:
 
Reported: 2001-10-19 03:54 UTC by gordonke
Modified: 2004-11-25 17:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gordonke 2001-10-19 03:54:28 UTC
I have installed 638C on a modified SuSE 7.1 system (kernel 2.4.7, XFree86 
4.1, KDE2.2). The install went OK and the program runs, but when I 
click on any of the menus other than the Window and Help menu OOo just 
crashes.

I had exactly the same problem with 638 and 633, but 633 gave a core dump.

The 633 core dump had the following backtrace:
(gdb) bt
#0  0x42a5abc1 in __kill () from /lib/libc.so.6
#1  0x428c47ac in pthread_kill () from /lib/libpthread.so.0
#2  0x428c4c96 in raise () from /lib/libpthread.so.0
#3  0x42a5bfe1 in abort () from /lib/libc.so.6
#4  0x41717eab in CallSystemHandler () from 
/homes/kei037/openoffice60/program/libsal.so.3
#5  0x41717fd0 in SignalHandlerFunction () from 
/homes/kei037/openoffice60/program/libsal.so.3
#6  0x428c489d in pthread_sighandler () from /lib/libpthread.so.0
#7  <signal handler called>
#8  0x42a5abc1 in __kill () from /lib/libc.so.6
#9  0x428c47ac in pthread_kill () from /lib/libpthread.so.0
#10 0x428c4c96 in raise () from /lib/libpthread.so.0
#11 0x42a5bfe1 in abort () from /lib/libc.so.6
#12 0x414142c5 in SalXLib::XError () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#13 0x41413a6e in sal_XErrorHdl () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#14 0x427bc0d4 in _XError () from /usr/X11R6/lib/libX11.so.6
#15 0x427ba8de in _XReply () from /usr/X11R6/lib/libX11.so.6
#16 0x427a4846 in XGetAtomName () from /usr/X11R6/lib/libX11.so.6
#17 0x41422d52 in SalDisplay::GetKeyboardName () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#18 0x414162f1 in SalDisplay::GetKeyNameFromKeySym () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#19 0x414165ab in SalDisplay::GetKeyName () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#20 0x413fb4bc in SalFrame::GetKeyName () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#21 0x41379063 in KeyCode::GetName () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#22 0x4137b557 in Menu::ImplCalcSize () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#23 0x4137cefe in PopupMenu::ImplExecute () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#24 0x4137f593 in MenuBarWindow::ImplCreatePopup () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#25 0x4137f94e in MenuBarWindow::ChangeHighlightItem () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#26 0x4137f714 in MenuBarWindow::MouseButtonDown () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#27 0x413a9673 in ImplHandleMouseEvent () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#28 0x413ab1e4 in ImplWindowFrameProc () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#29 0x413fbf0a in SalFrameData::HandleMouseEvent () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#30 0x413fd217 in SalFrameData::Dispatch () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#31 0x414196da in SalDisplay::Dispatch () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#32 0x414194a5 in SalDisplay::Yield () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#33 0x414156bb in DisplayYield () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#34 0x41414858 in SalXLib::Yield () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#35 0x4141ba68 in SalInstance::Yield () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#36 0x412db03f in Application::Yield () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#37 0x412daf96 in Application::Execute () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#38 0x401f6f60 in SfxApplicationClass::Main () from 
/homes/kei037/openoffice60/program/libsfx633li.so
#39 0x8055e9d in Desktop::Main ()
#40 0x412dd480 in SVMain () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#41 0x414139d5 in main () from 
/homes/kei037/openoffice60/program/libvcl633li.so
#42 0x42a4abaf in __libc_start_main () from /lib/libc.so.6

I suspect the problem has something to do with my X configuration. 

The crash occurs when I select any menu that displays a keyboard shortcut. The 
program does not crash if I select a menu that does not display a keyboard 
shortcut.

Nevertheless, OOo should make some attempt to catch the problem and generate an 
error message rather than just crash outright.

For information my XF86config file is:

#--------#
# »» SaX generated XFree86 config file ««
# Copyright (c) 2000 SuSE GmbH Nuernberg, All rights reserved.
#
# Version: 4.1
# Contact: Marcus Schaefer <sax@suse.de>, 2000
#
# this file has been created from SaX version 4.1
# Please do not edit this file, changes may be lost the
# next time using SaX
#
Section "Files"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin5/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin5/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin5/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin5/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/local"
  FontPath      "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/URW"
  FontPath      "/usr/X11R6/lib/X11/fonts/URW-java"
  FontPath      "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath      "/usr/X11R6/lib/X11/fonts/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath      "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin7/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath      "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath      "/usr/X11R6/lib/X11/fonts/uni"
  FontPath      "/usr/X11R6/lib/X11/fonts/ucs/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/ucs/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/ucs/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/xtest"
  ModulePath    "/usr/X11R6/lib/modules"
  RgbPath       "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
  Option        "AllowMouseOpenFail"
EndSection

Section "Module"
  Load          "dbe"
  Load          "type1"
  Load          "speedo"
  Load          "extmod"
  Load          "freetype"
  Load          "dri"
  Load          "glx"
EndSection

Section "InputDevice"
  Driver        "keyboard"
  Identifier    "Keyboard[0]"
  Option        "Protocol"      "Standard"
  Option        "XkbKeyCodes"   "xfree86"
  Option        "XkbLayout"     "en"
  Option        "XkbModel"      "pc104"
  Option        "XkbRules"      "xfree86"
EndSection

Section "InputDevice"
  Driver        "mouse"
  Identifier    "Mouse[1]"
  Option        "Device"        "/dev/psaux"
  Option        "Name"          "AutoDetected"
  Option        "Protocol"      "imps/2"
  Option        "Vendor"        "AutoDetected"
  Option        "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
  HorizSync     24-72
  Identifier    "Monitor[0]"
  ModelName     "AutoDetected"
  VendorName    "AutoDetected"
  VertRefresh   56-75
  UseModes      "Modes[0]"
EndSection

Section "Modes"
  Identifier    "Modes[0]"
  Modeline "640x480" 27.96 640 656 720 864 480 480 485 501
  Modeline "800x600" 43.68 800 816 928 1072 600 600 606 626
  Modeline "1024x768" 71.39 1024 1040 1216 1400 768 768 776 802
  Modeline "1152x864" 90.48 1152 1168 1384 1568 864 864 873 902
  Modeline "1280x960" 111.82 1280 1296 1552 1736 960 960 970 1003
  Modeline      "1280x1024" 119.81 1280 1296 1552 1736 1024 1024 1035 1070
EndSection

Section "Screen"
  DefaultDepth  16
  SubSection "Display"
    Depth       16
    Modes       "1280x1024"  "640x480" "800x600" "1024x768" "1152x864" 
"1280x960"
  EndSubSection
  Device        "Device[0]"
  Identifier    "Screen[0]"
  Monitor       "Monitor[0]"
EndSection
 
Section "Device"
  BoardName     "AutoDetected"
  Driver        "mga"
  Identifier    "Device[0]"
  Option        "NoHal"
  VendorName    "AutoDetected"
EndSection
 
Section "ServerLayout"
  Identifier    "Layout[all]"
  InputDevice   "Keyboard[0]"   "CoreKeyboard"
  InputDevice   "Mouse[1]"      "CorePointer"
  Screen        "Screen[0]"
EndSection
 
Section "DRI"
  Group         "video"
  Mode          0660
EndSection
Comment 1 Oliver Specht 2001-10-22 11:20:15 UTC
OS->PL: Could you please take a look at this problem
Comment 2 philipp.lohmann 2001-10-25 18:47:14 UTC
The keyboard configuration files did not contain a name for this 
keyboard, which led to Ooo asking for the invalid atom 0. Fixed in 
toplevel.
Comment 3 stefan.baltzer 2001-11-05 10:31:06 UTC
*** Issue 2116 has been marked as a duplicate of this issue. ***
Comment 4 ulf.stroehler 2001-11-09 13:13:46 UTC
*** Issue 2036 has been marked as a duplicate of this issue. ***
Comment 5 ulf.stroehler 2001-12-10 12:14:53 UTC
*** Issue 2388 has been marked as a duplicate of this issue. ***
Comment 6 philipp.lohmann 2004-11-25 17:38:37 UTC
closing