I wonder if I need to do something special for using the above call.
During starting of compiz at start of KDE, a plugin calls above function
and repeatedly freezes. Any idea what might be wrong with the
XOpenDisplay() call at that early stage?
A backtrace is attached.
The server is from openSUSE-11.2 xorg-x11-libs-7.4-25.1.x86_64 .
(for completness compiz is of version 0.7.8)
kind regards
Kai-Uwe Behrmann
--
developing for colour management
www.behrmann.name + www.oyranos.org
(gdb) bt
#0 0x00007ffb68588ff8 in __poll (fds=0x7ffff9d5a4d0, nfds=1,
timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:83
#1 0x00007ffb6a879c0d in ?? () from /usr/lib64/libxcb.so.1
#2 0x00007ffb6a878d41 in xcb_connect_to_fd () from /usr/lib64/libxcb.so.1
#3 0x00007ffb6a87b4d6 in xcb_connect_to_display_with_auth_info ()
from /usr/lib64/libxcb.so.1
#4 0x00007ffb6aada38a in _XConnectXCB () from /usr/lib64/libX11.so.6
#5 0x00007ffb6aac293b in XOpenDisplay () from /usr/lib64/libX11.so.6
#6 0x00007ffb5a8d57cf in oyMonitor_newFrom_ (display_name=0x19e9140 ":1",
expensive=0)
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/modules/devices/oyranos_monitor.c:1350
#7 0x00007ffb5a8d1ee4 in oyGetAllScreenNames_ (display_name=0x19e9140 ":1",
n_scr=0x7ffff9d5aaec)
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/modules/devices/oyranos_monitor.c:636
#8 0x00007ffb5a8d1df0 in oyGetAllScreenNames (display_name=0x19e9140 ":1",
display_names=0x7ffff9d5ab90, allocateFunc=0x7ffb685389e0 <__libc_malloc>)
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/modules/devices/oyranos_monitor.c:568
#9 0x00007ffb5a8ce34d in oyX1Configs_FromPattern (registration=
0x19eef00
"shared/freedesktop.org/imaging/config.device.icc_profile.monitor.oyX1",
options=0x19e60d0, s=0x7ffff9d5ac50)
---Type <return> to continue, or q <return> to quit---
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/modules/devices/oyranos_cmm_oyX1.c:424
#10 0x00007ffb65956a3f in oyConfigs_FromDomain (registration_domain=
0x19eef00
"shared/freedesktop.org/imaging/config.device.icc_profile.monitor.oyX1",
options=0x19e60d0, configs=0x7ffff9d5acf0, object=0x0)
at /home/kuwe/programme/CMS/Oyranos/Entwickeln/oyranos_alpha.c:11398
#11 0x00007ffb65956d13 in oyConfigs_FromDeviceClass (device_type=
0x7ffb65b9c7aa "imaging", device_class=0x7ffb65b9c7a2 "monitor", options=
0x19e60d0, devices=0x7ffff9d5ae50, object=0x0)
at /home/kuwe/programme/CMS/Oyranos/Entwickeln/oyranos_alpha.c:11510
#12 0x00007ffb659595f9 in oyDevicesGet (device_type=0x7ffb65b9c7aa "imaging",
device_class=0x7ffb65b9c7a2 "monitor", options=0x19e60d0, devices=
0x7ffff9d5ae50)
at /home/kuwe/programme/CMS/Oyranos/Entwickeln/oyranos_alpha.c:12893
#13 0x00007ffb65b999fb in updateOutputConfiguration (s=0x1976db0, init=0)
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/examples/colour_desktop/colour_desktop.c:915
#14 0x00007ffb65b9b879 in pluginInitScreen (plugin=0xa8eb50, object=0x1976db0,
privateData=0x19e6080)
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/examples/colour_desktop/colour_desktop.c:1656
#15 0x00007ffb65b9c0a3 in pluginInitObject (p=0xa8eb50, o=0x1976db0)
at
/home/kuwe/programme/CMS/Oyranos/Entwickeln/examples/colour_desktop/colou---Type
<return> to continue, or q <return> to quit---
r_desktop.c:2007
#16 0x000000000042cc12 in initObjectTree (object=0x1976db0,
closure=<value optimized out>) at plugin.c:368
#17 0x000000000042ce29 in objectInitPlugins (o=0x1976db0) at plugin.c:485
#18 0x0000000000419c43 in addScreen (display=0x652ec0,
screenNum=<value optimized out>,
wmSnSelectionWindow=<value optimized out>, wmSnAtom=<value optimized out>,
wmSnTimestamp=<value optimized out>) at screen.c:2446
#19 0x0000000000410653 in manageDisplay (d=0x652ec0) at display.c:2632
#20 0x000000000040d475 in main (argc=<value optimized out>, argv=
0x7ffff9d5c638) at main.c:458
(gdb)
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg