Is xorg-server-1.7.3 necessary to modify to suit FreeBSD?

Sagara Wijetunga sagara at tomahawk.com.sg
Tue Dec 29 07:19:13 PST 2009


Sagara Wijetunga wrote:
> Michel Dänzer wrote:
>   
>> On Wed, 2009-12-23 at 11:56 +0800, Sagara Wijetunga wrote: 
>>   
>>     
>>> In Tomahawk Desktop 2.0 Beta1 we got an issue, that when try to run the 
>>> KDE, the X server crashes.
>>>     
>>>       
>> Do you have a backtrace (preferably from gdb) of the crash?
>>
>>
>>   
>>     
> I tried Xorg upgrade on a temporary computer, since it seems working, 
> now I need to redo it again on another computer which we can build our 
> Beta2, thereafter, I need to recompile what depend on Xorg and recompile 
> the KDE. It seems I can retry the KDE only on Friday (25th). I'll update 
> the status as soon as it is known.
>
> Regards
> Sagara
>
>   
Ok, here is the current status.

Upgraded the Xorg 7.4 to 7.5 and recompiled and reinstalled all that are 
linked to Xorg components.

cat > ~/.xinitrc << "EOF"
# Begin .xinitrc file
xterm  -g 80x40+0+0   &
xclock -g 100x100-0+0 &
twm
EOF

I ran glxgears, I can see gears running.

Next, I ran KDE as follows:
cat > ~/.xinitrc << "EOF"
# Begin .xinitrc file
exec startkde 2>&1 | tee ~/.xsession-errors
EOF

Ran startx, now for the first time I got a very nice graphical screen 
with icons coming up but plasma-desktop crashed.

The /var/log/Xorg.0.log ends with following error:

(EE) config/hal: couldn't find input device: 
org.freedesktop.DBus.Error.AccessDenied (Rejected send message, 1 
matched rules; type="method_call", sender=":1.3" (uid=0 pid=4737 
comm="/usr/bin/X) interface="org.freedesktop.Hal.Manager" 
member="FindDeviceByCapability" error name="(unset)" requested_reply=0 
destination="org.freedesktop.Hal" (uid=0 pid=1059 comm="/usr/sbin/hald)))
   

GDB on plasma-desktop.core shows:
:
Reading symbols from /usr/lib/kde4/plugins/styles/oxygen.so...done.
Loaded symbols for /usr/lib/kde4/plugins/styles/oxygen.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
Core was generated by `plasma-desktop'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x2b5d182d in QGLFramebufferObjectPrivate::init ()
   from /usr/lib/libQtOpenGL.so.4
#2  0x2b5d327d in QGLFramebufferObject::QGLFramebufferObject ()
   from /usr/lib/libQtOpenGL.so.4
#3  0x2b60b19e in QGLFramebufferObjectPool::acquire ()
   from /usr/lib/libQtOpenGL.so.4
#4  0x2b60cd7c in QGLPixmapData::paintEngine () from 
/usr/lib/libQtOpenGL.so.4
#5  0x2955da91 in QPixmap::paintEngine () from /usr/lib/libQtGui.so.4
#6  0x295d26f7 in QPainter::begin () from /usr/lib/libQtGui.so.4
#7  0x295d3233 in QPainter::QPainter () from /usr/lib/libQtGui.so.4
#8  0x28af9fcb in KShortcutsEditorDelegate::KShortcutsEditorDelegate ()
   from /usr/lib/libkdeui.so.5

The .xsession-errors is included below.

Regards
Sagara


.xsession-errors
--------------------
startkde: Starting up...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
QDBusObjectPath: invalid path ""
QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

X Error: XSyncBadAlarm 151
  Extension:    142 (Uknown extension)
  Minor opcode: 11 (Unknown request)
  Resource id:  0x61
QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

kdeinit4: preparing to launch /usr/lib/libkdeinit4_kcminit_startup.so
X Error: XSyncBadAlarm 151
  Extension:    142 (Uknown extension)
  Minor opcode: 11 (Unknown request)
  Resource id:  0x61
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_ksmserver.so
<unknown program name>(4782)/ KStartupInfo::createNewStartupId: 
creating:  "tds;1262096552;136363;4782_TIME0" : "unnamed app"
kephald starting up
XRANDR error base:  159
RRInput mask is set!!
RandRScreen::loadSettings - adding mode:  301 1024 x 768
RandRScreen::loadSettings - adding mode:  302 1024 x 768
RandRScreen::loadSettings - adding mode:  303 1024 x 768
RandRScreen::loadSettings - adding mode:  304 832 x 624
RandRScreen::loadSettings - adding mode:  305 800 x 600
RandRScreen::loadSettings - adding mode:  306 800 x 600
RandRScreen::loadSettings - adding mode:  307 800 x 600
RandRScreen::loadSettings - adding mode:  308 800 x 600
RandRScreen::loadSettings - adding mode:  309 640 x 480
RandRScreen::loadSettings - adding mode:  310 640 x 480
RandRScreen::loadSettings - adding mode:  311 640 x 480
RandRScreen::loadSettings - adding mode:  312 640 x 480
RandRScreen::loadSettings - adding mode:  313 720 x 400
RandRScreen::loadSettings - adding mode:  314 512 x 384
RandRScreen::loadSettings - adding mode:  315 512 x 384
RandRScreen::loadSettings - adding mode:  316 512 x 384
RandRScreen::loadSettings - adding mode:  317 416 x 312
RandRScreen::loadSettings - adding mode:  318 400 x 300
RandRScreen::loadSettings - adding mode:  319 400 x 300
RandRScreen::loadSettings - adding mode:  320 400 x 300
RandRScreen::loadSettings - adding mode:  321 400 x 300
RandRScreen::loadSettings - adding mode:  322 320 x 240
RandRScreen::loadSettings - adding mode:  323 320 x 240
RandRScreen::loadSettings - adding mode:  324 320 x 240
RandRScreen::loadSettings - adding crtc:  299
RandRScreen::loadSettings - adding output:  300
Setting CRTC 299 on output "default" (previous 0 )
CRTC outputs: (300)
Output name: "default"
Output refresh rate: 60
Output rect: QRect(0,0 1024x768)
Output rotation: 1
XRandROutputs::init
  added output  300
adding an output 0 with geom:  QRect(0,0 1024x768)
output: "SCREEN-0" QRect(0,0 1024x768) 0 true true
load xml
connected: 1
looking for current "SCREEN-0"
known "*" has score: 0.125
screen: 0 QRect(0,0 1024x768)
looking for a matching configuration...
connected: 1
looking for current "SCREEN-0"
known "*" has score: 0.125
found outputs, known: false
activate external configuration!!
registered the service: true
screens registered on the bus: true
outputs registered on the bus: true
configurations registered on the bus: true
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kglobalaccel.so
kdeinit4: preparing to launch /usr/bin/knotify4
kdeinit4: preparing to launch /usr/bin/kwrited
kdeinit4: preparing to launch /usr/lib/libkdeinit4_plasma-desktop.so
QDBusObjectPath: invalid path ""
KCrash: Application 'plasma-desktop' crashing...
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
QDBusObjectPath: invalid path ""
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kaccess.so
<unknown program name>(4814)/ kdemain: Xlib XKB extension major= 1  minor= 0
hijackWindow() context created for DrKonqiDialog(0x2bd42940) 1
QGLPixelBuffer: Unable to find a context/format match - giving up.
QGLWindowSurface: Failed to create valid pixelbuffer, falling back
QGLWindowSurface: Using plain widget as window surface 
QGLWindowSurface(0x2bd56460)
kdeinit4: preparing to launch /usr/lib/libkdeinit4_krunner.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klipper.so
QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

using visual class 4, id e6
QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

using visual class 4, id e6
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gtk-2.0/gobject/__init__.py", 
line 26, in <module>
    from glib import spawn_async, idle_add, timeout_add, 
timeout_add_seconds, \
  File "/usr/lib/python2.6/site-packages/gtk-2.0/glib/__init__.py", line 
22, in <module>
    from glib._glib import *
ImportError: /usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: 
Undefined symbol "_Py_TrueStruct"
kdeinit4: preparing to launch /usr/lib/kde4/kio_trash.so
QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

QStringList 
Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const 
Solid::DeviceInterface::Type&)  error:  
"org.freedesktop.DBus.Error.AccessDenied"

krunner: Fatal IO error: client killed
ksmserver: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kded4: Fatal IO error: client killed
kwin: Fatal IO error: client killed
klipper: Fatal IO error: client killed
kaccess: Fatal IO error: client killed
drkonqi: Fatal IO error: client killed
knotify4: Fatal IO error: client killed
kglobalaccel: Fatal IO error: client killed
using visual class 4, id e6
using visual class 4, id e6
kdeinit4: sending SIGHUP to children.
using visual class 4, id e6
klauncher: Exiting on signal 1
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
Unexpected response from KInit (response = -1077941976).
startkde: Could not start ksmserver. Check your installation.
xmessage: not found
using visual class 4, id e6
kdeinit4: sending SIGHUP to children.
Could not connect to D-Bus server: 
org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket 
/var/tmp/dbus-Df4F6tf2fj: No such file or directory
startkde: Shutting down...






More information about the xorg mailing list