Installation problem with pango 1.3.2/gtk+ 2.3.2 as root



Hi all,

I'm having some trouble installing Pango-1.3.2 and GTK+-2.3.2 as root.

Specifically:
1) Pango:
When running pango-querymodules during make install, it segfaults.
Running it manually as root shows:
 # Pango Modules file
 # Automatically generated file, do not edit
 #
 Segmentation fault

Running it as a non-root user works:
 # Pango Modules file
 # Automatically generated file, do not edit
 #
 # ModulesPath = /usr/local/lib/pango/1.4.0/modules
 #
 /usr/local/lib/pango/1.4.0/modules/pango-arabic-fc.so ...

2) GTK+:
Segfault'ing at gtk-query-immodules-2.0 as root:
 # GTK+ Input Method Modules file
 # Automatically generated file, do not edit
 #
 Segmentation fault
Ok when running as non-root:
 # GTK+ Input Method Modules file
 # Automatically generated file, do not edit
 #
# ModulesPath = /home/daviee/.gtk-2.0/2.2.0/i686-pc-linux-gnu/immodules:/home/daviee/.gtk-2.0/2.2.0/immodules:/home/daviee/.gtk-2.0/i686-pc-linux-gnu/immodules:/home/daviee/.gtk-2.0/immodules:/usr/local/lib/gtk-2.0/2.2.0/i686-pc-linux-gnu/immodules:/usr/local/lib/gtk-2.0/2.2.0/immodules:/usr/local/lib/gtk-2.0/i686-pc-linux-gnu/immodules:/usr/local/lib/gtk-2.0/immodules
 #
 "/usr/local/lib/gtk ...


I have been upgrading from the x.3.1 releases; and have not upgraded any system libs (e.g. glibc/X) since then. Also, I've noticed the originally x.3.1-compiled Gnome's "gconftool-2" segfaults when run by root (called when installing gnome-panel and perhaps others).

I arrived at the user dependant conclusion when I did a "strace" at pango-querymodules:
...
open("/etc/passwd", O_RDONLY)           = 3
sendto(3, "", 0, 0, {...}, 3221223000)  = 0
sendto(3, 0x2, 1, MSG_OOB, {...}, 3221223000) = 0
SYS_197(0x3, 0xbffff420, 0x4040bff8, 0x4040ecc8, 0xbffff420) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40410000
_llseek(3, 0, SEEK_CUR)                 = 0 (at 0)
read(3, "root:x:0:0::/root:/bin/bash\nbin"..., 4096) = 649
close(3)                                = 0
munmap(0x40410000, 4096)                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


My workaround so far is to temporarily comment out the "root" line in /etc/passwd when make install'ing (moving the root line further down the passwd file doesn't help).

Things were ok with pango/gtk+ x.3.1.

Thanks!
Dave

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]