Bug 328095

Summary: openoffice crashes immediatly upon starting
Product: [openSUSE] openSUSE 10.3 Reporter: Andrew Horoszczak <ah>
Component: OpenOffice.orgAssignee: Radek Doulik <rodo>
Status: RESOLVED FIXED QA Contact: Eric Ward <eward>
Severity: Major    
Priority: P5 - None CC: ah, jrobiso2, lmb, lor.nasi, martin.tessun, mmeeks, pmladek, richard.bos, sargon
Version: RC 1   
Target Milestone: ---   
Hardware: 32bit   
OS: Other   
Whiteboard: gnome-crash, gnome-showstopper
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andrew Horoszczak 2007-09-25 09:06:17 UTC
After fresh installation of RC1, I cannot start openoffice (any application)



Sprawdzanie konfiguracji systemu po uruchomieniu wyłączone.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5fdd6d0 (LWP 19474)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6f3f8f5 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6f411e1 in *__GI_abort () at abort.c:88
#9  0xb6f38c1e in *__GI___assert_fail (assertion=0xb6b0b77c "c->xlib.lock", 
    file=0xb6b0b770 "xcb_xlib.c", line=52, 
    function=0xb6b0b7bc "xcb_xlib_unlock") at assert.c:78
#10 0xb6b0b692 in xcb_xlib_unlock () from /usr/lib/libxcb-xlib.so.0
#11 0xb72afa21 in _XCBUnlockDisplay (dpy=0x80f9918) at xcb_lock.c:41
#12 0xb4b6f692 in XF86DriScreen::BuildConfigDB () from /usr/lib/libGL.so.1
#13 0xb4b6ed80 in XF86DriScreen::XF86DriScreen () from /usr/lib/libGL.so.1
#14 0xb4b70f90 in DrmAdaptor::DrmAdaptor () from /usr/lib/libGL.so.1
#15 0xb4b716b0 in XF86DrmAdaptor::XF86DrmAdaptor () from /usr/lib/libGL.so.1
#16 0xb4b6e7fe in drmwayOpen () from /usr/lib/libGL.so.1
#17 0xb4b6d6b3 in lnxioOpen () from /usr/lib/libGL.so.1
#18 0xb4a589bc in ioOpen () from /usr/lib/libGL.so.1
#19 0xb4a21afc in gslOpen () from /usr/lib/libGL.so.1
#20 0xb428a464 in gldvOpen () from /usr/lib/libGL.so.1
#21 0xb46bf7b2 in wsiDisplay::wsiDisplay () from /usr/lib/libGL.so.1
#22 0xb46ebe89 in wsiGlobalDatabase::getDisplay () from /usr/lib/libGL.so.1
#23 0xb46cde9b in wsiGetDisplay () from /usr/lib/libGL.so.1
#24 0xb4b765d5 in GlxDisplayInfo::GlxDisplayInfo () from /usr/lib/libGL.so.1
#25 0xb4b75f6a in GlxState::addDisplayConnection () from /usr/lib/libGL.so.1
#26 0xb4b760dd in GlxState::getDisplayInfo () from /usr/lib/libGL.so.1
#27 0xb4b773ba in glXGetConfig () from /usr/lib/libGL.so.1
#28 0xb5318455 in X11SalOpenGL::MakeVisualWeights (pDisplay=0x80a9c48, 
    pInfos=0x80dfcd8, pWeights=0xbf971ec0, nVisuals=8)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/gdi/salogl.cxx:393
#29 0xb53348ce in SalDisplay::BestVisual (pDisplay=0x80a9c48, nScreen=0, 
    rVI=@0xbf9720f4)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:542
#30 0xb5339853 in SalDisplay::initScreen (this=0x80df410, nScreen=0)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:773
#31 0xb531069e in SalDisplay::getDataForScreen (this=0x80df410, nScreen=0)
    at ../../../unx/inc/saldisp.hxx:482
#32 0xb5310735 in SalDisplay::GetScreenSize (this=0x80df410, nScreen=0)
    at ../../../unx/inc/saldisp.hxx:489
#33 0xb534159e in WMAdaptor (this=0x80dfbb8, pDisplay=0x80df410)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:269
#34 0xb534206c in NetWMAdaptor (this=0x80dfbb8, pSalDisplay=0x80df410)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:447
#35 0xb5344458 in vcl_sal::WMAdaptor::createWMAdaptor (pSalDisplay=0x80df410)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:218
#36 0xb5337609 in SalDisplay::Init (this=0x80df410, 
    bHandleStartupNotification=false)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:952
#37 0xb533af50 in SalX11Display (this=0x80df410, display=0x80a9c48, 
    bHandleStartupNotification=false)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:739
#38 0xb725d7bb in SalKDEDisplay (this=0x80df410, pDisp=0x80a9c48)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:107
#39 0xb725dba2 in KDEXLib::Init (this=0x809dd20)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:200
#40 0xb725d4d7 in KDEData::Init (this=0x809dd00)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:242
#41 0xb725d47c in create_SalInstance ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:279
#42 0xb7ebfd05 in tryInstance (rModuleBase=<value optimized out>)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/plugadapt/salplug.cxx:95
#43 0xb7ebfedf in CreateSalInstance ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/plugadapt/salplug.cxx:465
#44 0xb7cf794a in InitVCL (rSMgr=@0xbf9725b8)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:383
#45 0xb7cf7b64 in ImplSVMain ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:256
#46 0xb7cf7c8f in SVMain ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:303
#47 0x08061224 in main (argc=)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/desktop/source/app/main.cxx:82
Comment 1 Andrew Horoszczak 2007-09-25 09:10:38 UTC
Also I wonder  if it is not related to another problem on my machine:
https://bugzilla.novell.com/show_bug.cgi?id=327583#c1


similar lock problem:
[New Thread 0xb5aa26d0 (LWP 4703)]
krandom.kss: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
KCrash: Application 'krandom.kss' crashing...


Breakpoint 2, 0xb5abe5e6 in xcb_xlib_unlock () from /usr/lib/libxcb-xlib.so.0
(gdb) bt
#0  0xb5abe5e6 in xcb_xlib_unlock () from /usr/lib/libxcb-xlib.so.0
#1  0xb5f4ea21 in _XCBUnlockDisplay (dpy=0x808eb20) at xcb_lock.c:41
#2  0xb5f25a0b in XCreateGC (dpy=0x808eb20, d=126, valuemask=<value optimized
out>, values=0xbf9e0a40) at CrGC.c:101
#3  0xb5f37da0 in XOpenDisplay (display=0x0) at OpenDis.c:662
#4  0xb71596b0 in qt_init_internal () from /usr/lib/libqt-mt.so.3
#5  0xb715b1fc in qt_init () from /usr/lib/libqt-mt.so.3
#6  0xb71c5831 in QApplication::construct () from /usr/lib/libqt-mt.so.3
#7  0xb71c5b75 in QApplication::QApplication () from /usr/lib/libqt-mt.so.3
#8  0xb786bb5e in KApplication::KApplication () from
/opt/kde3/lib/libkdecore.so.4
#9  0x0805f8b2 in main (argc=1146280, argv=0xbf9e1134) at
./kdesktop/lock/main.h:30
#10 0xb5cfbfe0 in __libc_start_main (main=0x805f790 <main>, argc=2,
ubp_av=0xbf9e1134, init=0x806da30 <__libc_csu_init>, fini=0x806da20
<__libc_csu_fini>, rtld_fini=0xb7f21f60 <_dl_fini>, stack_end=0xbf9e112c)
    at libc-start.c:222
#11 0x08053f11 in _start ()
(gdb) 
Comment 2 Andrew Horoszczak 2007-09-26 03:00:31 UTC
after adding the following:
 export LIBXCB_ALLOW_SLOPPY_LOCK=1

from possibly related bug:
https://bugzilla.novell.com/show_bug.cgi?id=327583

 is still crashes but at different point:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5faf6d0 (LWP 4628)]
[KCrash handler]
#6  0xb4b436be in XF86DrmAdaptor::XF86DrmAdaptor () from /usr/lib/libGL.so.1
#7  0xb4b407fe in drmwayOpen () from /usr/lib/libGL.so.1
#8  0xb4b3f6b3 in lnxioOpen () from /usr/lib/libGL.so.1
#9  0xb4a2a9bc in ioOpen () from /usr/lib/libGL.so.1
#10 0xb49f3afc in gslOpen () from /usr/lib/libGL.so.1
#11 0xb425c464 in gldvOpen () from /usr/lib/libGL.so.1
#12 0xb46917b2 in wsiDisplay::wsiDisplay () from /usr/lib/libGL.so.1
#13 0xb46bde89 in wsiGlobalDatabase::getDisplay () from /usr/lib/libGL.so.1
#14 0xb469fe9b in wsiGetDisplay () from /usr/lib/libGL.so.1
#15 0xb4b485d5 in GlxDisplayInfo::GlxDisplayInfo () from /usr/lib/libGL.so.1
#16 0xb4b47f6a in GlxState::addDisplayConnection () from /usr/lib/libGL.so.1
#17 0xb4b480dd in GlxState::getDisplayInfo () from /usr/lib/libGL.so.1
#18 0xb4b493ba in glXGetConfig () from /usr/lib/libGL.so.1
#19 0xb52ea455 in X11SalOpenGL::MakeVisualWeights (pDisplay=0x80a9c48, 
    pInfos=0x80dfd30, pWeights=0xbf995ed0, nVisuals=8)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/gdi/salogl.cxx:393
#20 0xb53068ce in SalDisplay::BestVisual (pDisplay=0x80a9c48, nScreen=0, 
    rVI=@0xbf996104)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:542
#21 0xb530b853 in SalDisplay::initScreen (this=0x80df468, nScreen=0)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:773
#22 0xb52e269e in SalDisplay::getDataForScreen (this=0x80df468, nScreen=0)
    at ../../../unx/inc/saldisp.hxx:482
#23 0xb52e2735 in SalDisplay::GetScreenSize (this=0x80df468, nScreen=0)
    at ../../../unx/inc/saldisp.hxx:489
#24 0xb531359e in WMAdaptor (this=0x80dfc10, pDisplay=0x80df468)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:269
#25 0xb531406c in NetWMAdaptor (this=0x80dfc10, pSalDisplay=0x80df468)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:447
#26 0xb5316458 in vcl_sal::WMAdaptor::createWMAdaptor (pSalDisplay=0x80df468)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:218
#27 0xb5309609 in SalDisplay::Init (this=0x80df468, 
    bHandleStartupNotification=false)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:952
#28 0xb530cf50 in SalX11Display (this=0x80df468, display=0x80a9c48, 
    bHandleStartupNotification=false)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:739
#29 0xb722f7bb in SalKDEDisplay (this=0x80df468, pDisp=0x80a9c48)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:107
#30 0xb722fba2 in KDEXLib::Init (this=0x809dd20)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:200
#31 0xb722f4d7 in KDEData::Init (this=0x809dd00)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:242
#32 0xb722f47c in create_SalInstance ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:279
#33 0xb7e91d05 in tryInstance (rModuleBase=<value optimized out>)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/plugadapt/salplug.cxx:95
#34 0xb7e91edf in CreateSalInstance ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/plugadapt/salplug.cxx:465
#35 0xb7cc994a in InitVCL (rSMgr=@0xbf9965c8)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:383
#36 0xb7cc9b64 in ImplSVMain ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:256
#37 0xb7cc9c8f in SVMain ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:303
#38 0x08061224 in main (argc=0, argv=0x0)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/desktop/source/app/main.cxx:82
Comment 3 Andrew Horoszczak 2007-09-26 03:43:38 UTC
I have commented out the following line out of my xorg.conf 
#  Load         "glx"
  Load         "vesa"

file and it helped

open office now starts

driver section:

Section "Device"
  BoardName    "965Q"
  BusID        "0:2:0"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-VGA" "Monitor[0]"
  VendorName   "Intel"
EndSection



Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
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 4 Eric Ward 2007-09-26 22:59:21 UTC
Petr - QA does not have the hardware in question. Do you by chance know how we should proceed with this issue?
Comment 5 Petr Mladek 2007-09-27 08:49:26 UTC
I think that Radek is a better person than me. He knows much more about this area:  video cards, OpenGL extensions, ...

It looks to me that the problem is most likely in the glx module.

Radek, could you please help us to track it down?
Comment 6 Stefan Dirsch 2007-09-27 09:05:27 UTC
Could you attach the complete xorg.conf file? At least the ' Load "vesa" ' line doesn't make sense.
Comment 7 Andrew Horoszczak 2007-09-27 18:45:07 UTC
after sax2 created the file I manualy commented out 
glx and added vesa

complete xorg.conf file:

andrzej@linx:/etc/X11> cat xorg.conf
# /.../
# SaX generated X11 config file
# Created on: 2007-09-23T21:51:15+0200.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [SaX2] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
#  Load         "glx"
  Load         "vesa"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "pl"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Logitech Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  518 324
  HorizSync    30-94
  Identifier   "Monitor[0]"
  ModelName    "HP W2408"
  Option       "DPMS"
  VendorName   "HWP"
  VertRefresh  43-85
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1920x1200" 151.63 1920 2032 2240 2560 1200 1201 1204 1234
  Modeline      "1920x1200" 119.75 1920 1968 2000 2080 1200 1203 1209 1227 +HSync -Vsync
  Modeline      "1280x1024" 153.45 1280 1376 1512 1744 1024 1025 1028 1073
  Modeline      "1280x1024" 137.93 1280 1368 1504 1728 1024 1025 1028 1069
  Modeline      "1280x1024" 124.00 1280 1328 1360 1440 1024 1027 1034 1064 +HSync -Vsync
  Modeline      "1280x1024" 123.80 1280 1368 1504 1728 1024 1025 1028 1064
  Modeline      "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060
  Modeline      "1280x960" 149.43 1280 1376 1512 1744 960 961 964 1008
  Modeline      "1280x960" 132.88 1280 1368 1504 1728 960 961 964 1003
  Modeline      "1280x960" 120.75 1280 1328 1360 1440 960 963 967 999 +HSync -Vsync
  Modeline      "1280x960" 117.96 1280 1368 1504 1728 960 961 964 999
  Modeline      "1280x960" 102.10 1280 1360 1496 1712 960 961 964 994
  Modeline      "1024x768" 94.39 1024 1088 1200 1376 768 769 772 807
  Modeline      "1024x768" 83.73 1024 1080 1192 1360 768 769 772 803
  Modeline      "1024x768" 79.25 1024 1072 1104 1184 768 771 775 799 +HSync -Vsync
  Modeline      "1024x768" 74.25 1024 1080 1192 1360 768 769 772 799
  Modeline      "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  Modeline      "800x600" 56.55 800 840 928 1056 600 601 604 630
  Modeline      "800x600" 50.76 800 840 928 1056 600 601 604 627
  Modeline      "800x600" 50.25 800 848 880 960 600 603 607 625 +HSync -Vsync
  Modeline      "800x600" 44.35 800 840 920 1040 600 601 604 624
  Modeline      "800x600" 38.22 800 832 912 1024 600 601 604 622
EndSection


Section "Device"
  BoardName    "965Q"
  BusID        "0:2:0"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-VGA" "Monitor[0]"
  VendorName   "Intel"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1920x1200" "1280x1024" "1280x960" "1024x768" "800x600"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
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

andrzej@linx:/etc/X11>    
Comment 8 Stefan Dirsch 2007-09-27 19:04:18 UTC
Ok. Please remove 'Load "vesa"', use 'Load "glx"' again and add 'Load "dri"'.
OpenOffice still crashes?
Comment 9 Andrew Horoszczak 2007-09-28 08:01:31 UTC
Sefan,

I followed you instructions and it crashes:
Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "dri"
EndSection


Sprawdzanie konfiguracji systemu po uruchomieniu wyłączone.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb60056d0 (LWP 4358)]
[KCrash handler]
#6  0xb4b996be in XF86DrmAdaptor::XF86DrmAdaptor () from /usr/lib/libGL.so.1
#7  0xb4b967fe in drmwayOpen () from /usr/lib/libGL.so.1
#8  0xb4b956b3 in lnxioOpen () from /usr/lib/libGL.so.1
#9  0xb4a809bc in ioOpen () from /usr/lib/libGL.so.1
#10 0xb4a49afc in gslOpen () from /usr/lib/libGL.so.1
#11 0xb42b2464 in gldvOpen () from /usr/lib/libGL.so.1
#12 0xb46e77b2 in wsiDisplay::wsiDisplay () from /usr/lib/libGL.so.1
#13 0xb4713e89 in wsiGlobalDatabase::getDisplay () from /usr/lib/libGL.so.1
#14 0xb46f5e9b in wsiGetDisplay () from /usr/lib/libGL.so.1
#15 0xb4b9e5d5 in GlxDisplayInfo::GlxDisplayInfo () from /usr/lib/libGL.so.1
#16 0xb4b9df6a in GlxState::addDisplayConnection () from /usr/lib/libGL.so.1
#17 0xb4b9e0dd in GlxState::getDisplayInfo () from /usr/lib/libGL.so.1
#18 0xb4b9f3ba in glXGetConfig () from /usr/lib/libGL.so.1
#19 0xb5340455 in X11SalOpenGL::MakeVisualWeights (pDisplay=0x80a9c48, 
    pInfos=0x80dfef8, pWeights=0xbfc6f190, nVisuals=16)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/gdi/salogl.cxx:393
#20 0xb535c8ce in SalDisplay::BestVisual (pDisplay=0x80a9c48, nScreen=0, 
    rVI=@0xbfc6f3e4)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:542
#21 0xb5361853 in SalDisplay::initScreen (this=0x80df630, nScreen=0)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:773
#22 0xb533869e in SalDisplay::getDataForScreen (this=0x80df630, nScreen=0)
    at ../../../unx/inc/saldisp.hxx:482
#23 0xb5338735 in SalDisplay::GetScreenSize (this=0x80df630, nScreen=0)
    at ../../../unx/inc/saldisp.hxx:489
#24 0xb536959e in WMAdaptor (this=0x80dfdd8, pDisplay=0x80df630)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:269
#25 0xb536a06c in NetWMAdaptor (this=0x80dfdd8, pSalDisplay=0x80df630)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:447
#26 0xb536c458 in vcl_sal::WMAdaptor::createWMAdaptor (pSalDisplay=0x80df630)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/wmadaptor.cxx:218
#27 0xb535f609 in SalDisplay::Init (this=0x80df630, 
    bHandleStartupNotification=false)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:952
#28 0xb5362f50 in SalX11Display (this=0x80df630, display=0x80a9c48, 
    bHandleStartupNotification=false)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/app/saldisp.cxx:739
#29 0xb72857bb in SalKDEDisplay (this=0x80df630, pDisp=0x80a9c48)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:107
#30 0xb7285ba2 in KDEXLib::Init (this=0x809dd20)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:200
#31 0xb72854d7 in KDEData::Init (this=0x809dd00)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:242
#32 0xb728547c in create_SalInstance ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/kde/kdedata.cxx:279
#33 0xb7ee7d05 in tryInstance (rModuleBase=<value optimized out>)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/plugadapt/salplug.cxx:95
#34 0xb7ee7edf in CreateSalInstance ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/unx/source/plugadapt/salplug.cxx:465
#35 0xb7d1f94a in InitVCL (rSMgr=@0xbfc6f8a8)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:383
#36 0xb7d1fb64 in ImplSVMain ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:256
#37 0xb7d1fc8f in SVMain ()
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/vcl/source/app/svmain.cxx:303
#38 0x08061224 in main (argc=0, argv=0x0)
    at /usr/src/debug/ooo-build-2.3.0.1.2/build/oog680-m5/desktop/source/app/main.cxx:82
Comment 10 Andrew Horoszczak 2007-09-28 08:18:07 UTC
after commenting out  loading of glx module
and adding the LIBXCB_ALLOW_SLOPPY_LOCK=1
open office can start, and is working without crashing

so it seems that the problem is with glx

but why it does not affect other applications? well, I did not have time to use a lot of them - but all the basic ones seem ok (except the krandom screen saver) -- do you have any suggestion for application I should test for crashing?

i doubt it is related but I noticed two odd things:
1. during boot process dbus daemon complains that there is unknown user gdm in configuration file

2. my system freezes up whenever there is some significant disk activity (including the mouse) like for instance when compiling using kdevelop
- actually it is quite annoying and it wasn't there under Fedora nor Suse 10.1
with my motherboard I had problem booting the kernel - and adding the following
argument to grub was necessary:
pci=nommconf

Finally should I try to unistall anything that is related to openGL ?
(except I do not know which)
andrzej@linx:~> rpm -qa | grep gl
kdebase3-beagle-3.5.7-78
xgl-git_070104-73
libglade2-2.6.2-16
glitz-devel-0.5.6-82
glibc-debuginfo-2.6.1-18
taglib-1.4-110
freeglut-060903-75
glib2-2.14.0-4
dbus-1-glib-0.74-21
beagle-firefox-0.2.18-21
glib2-devel-2.14.0-4
xgl-hardware-list-060526-76
glitz-0.5.6-82
gle-3.1.0-18
libbeagle-0.2.18-17
kio_beagle-0.3.1-114
glibc-devel-2.6.1-18
glibc-2.6.1-18
fglrx_7_1_0_SUSE102-8.41.7-1
gltt-2.5.2-576
glibc-i18ndata-2.6.1-18
ftgl-2.1.2-90
glib-sharp2-2.10.2-25
avahi-glib-0.6.20-36
beagle-0.2.18-21
beagle-index-10.3_20070203-103
glibc-locale-2.6.1-18
andrzej@linx:~>



Comment 11 Stefan Dirsch 2007-09-28 09:05:47 UTC
Thes issues (unbalanced locking, crash in libGL) need to be reproduced by SuSE/Novell first, before they can be investigated.
Comment 12 Radek Doulik 2007-10-01 16:22:54 UTC
Unfortunately I don't have opensuse 10.3 here.

Stefan, do you think it is libGL problem or should I look at the OOo part of it?

Petr, do you have an opensuse 10.3 machine in office where it could be reproduced?
Comment 13 Stefan Dirsch 2007-10-01 17:48:49 UTC
Radek, I simply don't know. It could be a libGL problem triggered by some special usecase of OpenOffice.
Comment 14 JP Rosevear 2007-10-03 00:04:08 UTC
I can reproduce this know, i was messing with the fglrx driver and afterwards reverted with sax2 -r -m0=radeon and now I get the OO crash.

See also bug 325570
Comment 15 Andrew Horoszczak 2007-10-03 18:28:54 UTC
it is good to know it is reproducible
pls let me know if I can still help
Comment 16 Richard Bos 2007-10-12 18:46:07 UTC
Same problem here! :(

we really need OO.org here, so it's a major bug for us.
It would be great if this can be fixed...

Systeemconfiguratie opstartcontrole uitgeschakeld.

 [?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
.....................
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb60316d0 (LWP 6778)]
(no debugging symbols found)
.....................
(no debugging symbols found)
[KCrash handler]
#6  0xb4c2c6be in XF86DrmAdaptor::XF86DrmAdaptor ()
   from /usr/X11R6/lib/libGL.so.1
#7  0xb4c297fe in drmwayOpen () from /usr/X11R6/lib/libGL.so.1
#8  0xb4c286b3 in lnxioOpen () from /usr/X11R6/lib/libGL.so.1
#9  0xb4b139bc in ioOpen () from /usr/X11R6/lib/libGL.so.1
#10 0xb4adcafc in gslOpen () from /usr/X11R6/lib/libGL.so.1
#11 0xb4345464 in gldvOpen () from /usr/X11R6/lib/libGL.so.1
#12 0xb477a7b2 in wsiDisplay::wsiDisplay () from /usr/X11R6/lib/libGL.so.1
#13 0xb47a6e89 in wsiGlobalDatabase::getDisplay ()
   from /usr/X11R6/lib/libGL.so.1
#14 0xb4788e9b in wsiGetDisplay () from /usr/X11R6/lib/libGL.so.1
#15 0xb4c315d5 in GlxDisplayInfo::GlxDisplayInfo ()
   from /usr/X11R6/lib/libGL.so.1
#16 0xb4c30f6a in GlxState::addDisplayConnection ()
   from /usr/X11R6/lib/libGL.so.1
#17 0xb4c310dd in GlxState::getDisplayInfo () from /usr/X11R6/lib/libGL.so.1
#18 0xb4c323ba in glXGetConfig () from /usr/X11R6/lib/libGL.so.1
#19 0xb5371455 in ?? () from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#20 0x080a9c68 in ?? ()
#21 0x080e3838 in ?? ()
#22 0x00000001 in ?? ()
#23 0xbf945f90 in ?? ()
#24 0xb53b3abc in ?? () from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#25 0xbf945f90 in ?? ()
#26 0x0000001e in ?? ()
#27 0xb72dd5cd in XGetVisualInfo () from /usr/lib/libX11.so.6
#28 0xb538d8ce in SalDisplay::BestVisual ()
   from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#29 0xb5392853 in SalDisplay::initScreen ()
   from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#30 0xb536969e in ?? () from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#31 0xb5369735 in ?? () from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#32 0xb539a59e in vcl_sal::WMAdaptor::WMAdaptor ()
   from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#33 0xb539b06c in ?? () from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#34 0xb539d458 in vcl_sal::WMAdaptor::createWMAdaptor ()
   from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#35 0xb5390609 in SalDisplay::Init ()
   from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#36 0xb5393f50 in SalX11Display::SalX11Display ()
   from /usr/lib/ooo-2.0/program/libvclplug_gen680li.so
#37 0xb73f97bb in ?? () from /usr/lib/ooo-2.0/program/libvclplug_kde680li.so
#38 0x080e1fc8 in ?? ()
#39 0x080a9c68 in ?? ()
#40 0x00000000 in ?? ()


med103:~ # hwinfo --framebuffer
02: None 00.0: 11001 VESA Framebuffer
  [Created at bios.447]
  Unique ID: rdCR.7mLfh89XsB9
  Hardware Class: framebuffer
  Model: "ATI R360 R360"
  Vendor: "ATI Technologies Inc."
  Device: "R360"
  SubVendor: "ATI R360"
  SubDevice:
  Revision: "01.00"
  Memory Size: 16 MB
  Memory Range: 0xe8000000-0xe8ffffff (rw)

med103:~ # hwinfo --gfxcard
23: PCI(AGP) 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.301]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4e4a
  Unique ID: VCu0.q43NhnGb8h1
  Parent ID: vSkL.ITQqGs0XM26
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "Hightech Information RADEON 9800 XT (R360 4E4A)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4e4a "RADEON 9800 XT (R360 4E4A)"
  SubVendor: pci 0x1787 "Hightech Information System Ltd."
  SubDevice: pci 0x9560
  Driver: "fglrx_pci"
  Driver Modules: "fglrx"
  Memory Range: 0xe8000000-0xefffffff (rw,prefetchable)
  I/O Ports: 0xa000-0xafff (rw)
  Memory Range: 0xf9000000-0xf900ffff (rw,non-prefetchable)
  Memory Range: 0xf8000000-0xf801ffff (ro,prefetchable,disabled)
  IRQ: 10 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00001002d00004E4Asv00001787sd00009560bc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: fglrx
  Driver Info #1:
    XFree86 v4 Server Module: fglrx
    3D Support: yes
    Extensions: dri
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

24: PCI 100.1: 0380 Display controller
  [Created at pci.301]
  UDI: /org/freedesktop/Hal/devices/pci_1002_4e6a
  Unique ID: NXNs.r_Gfa3ZWdM5
  Parent ID: vSkL.ITQqGs0XM26
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.1
  SysFS BusID: 0000:01:00.1
  Hardware Class: graphics card
  Model: "Hightech Information RV350 NJ [Radeon 9800 XT] (Secondary)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4e6a "RV350 NJ [Radeon 9800 XT] (Secondary)"
  SubVendor: pci 0x1787 "Hightech Information System Ltd."
  SubDevice: pci 0x9561
  Memory Range: 0xf0000000-0xf7ffffff (rw,prefetchable,disabled)
  Memory Range: 0xf9010000-0xf901ffff (rw,non-prefetchable,disabled)
  Module Alias: "pci:v00001002d00004E6Asv00001787sd00009561bc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

Comment 17 Stefan Dirsch 2007-10-12 18:53:48 UTC
This is again a proprietary driver, which we can't fix anyway.. Could you make sure that this issue also exists when this driver is not installed? Thanks.
Comment 18 Tim Arnold 2007-10-24 14:32:43 UTC
I have exactly the same problem on a Thinkpad R60. Any news?
Comment 19 Stefan Dirsch 2007-11-05 20:47:35 UTC
*** Bug 339161 has been marked as a duplicate of this bug. ***
Comment 20 Michael Meeks 2007-11-06 13:26:00 UTC
So ... since we're seeing this a lot. Can I suggest that we add some user feedback to the splash app: some time before SalDisplay::Init we could send a magic token to the startup app of the form "X init begin", and afterwards "X init end" - synchronously, such that if the app died during this - we could fire up zenity (or whatever) from the splash app saying:

"OO.o died during X initialization, this is most likely caused by a bad X server / GL driver" (or somesuch) ?

Comment 21 Petr Mladek 2007-11-12 15:52:54 UTC
*** Bug 340927 has been marked as a duplicate of this bug. ***
Comment 22 Martin Tessun 2007-11-19 21:29:14 UTC
For the radeon cards with fglrx you need to set the LD_LIBRARY_PATH. Otherwise the wrong library is fetched.

What I did is adjusting /etc/profile to set LD_LIBRARY_PATH to /usr/X11R6/lib:/usr/X11R6/lib64

Now OpenOffice works again :) (If you read the install instructions from ATI it is very clear ...)
Comment 23 Jonathon Robison 2008-03-29 18:25:49 UTC
For what its worth:

Changing the 0660 to 0666 fixed my libGL problems.  sax2 made it wrong recently.
LD_LIBRARY_PATH was not the issue.

System: openSuSE 10.3, i586 (32-bit) Dell Latitude D620, using OO from openSuSE repo.

Hope this helps.
Comment 24 JP Rosevear 2008-06-17 20:19:57 UTC
Ok, so if I read this right, various issues here were all caused by installing the ati proprietary driver.  Mostly fixed by the LD_LIBRARY_PATH issue, alternately by fixing permissions.  For #20, I don't think its really worth it.

If there are still issues please file individual, new reports.