1 |
On 6/25/06, Richard Fish <bigfish@××××××××××.org> wrote: |
2 |
> |
3 |
> On 6/23/06, fei huang <daniel.huangfei@×××××.com> wrote: |
4 |
> > I'm not sure when did this issue arise, perhaps after a update of my |
5 |
> glibc |
6 |
> > or whatever packages that I could not remember, but seems ok with root |
7 |
> > somehow, anyway, I used strace to track the running process and get the |
8 |
> > following message ( the last few lines): |
9 |
> > |
10 |
> > ... |
11 |
> > open("/lib/libgcc_s.so.1", O_RDONLY) = 4 |
12 |
> > read(4, |
13 |
> > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\25"..., |
14 |
> > 512) = 512 |
15 |
> |
16 |
> Hmm, acroread doesn't link directly against libgcc_s.so. However, it |
17 |
> will pay attention to your ~/.gtkrc-2.0 file, and possibly attempt to |
18 |
> load an engine to blend with a KDE environment. For example, I get: |
19 |
> |
20 |
> 12021 open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 6 |
21 |
> 12021 open("/home/rjf/.gtkrc-2.0", O_RDONLY|O_LARGEFILE) = 6 |
22 |
> 12021 open("/usr/share/themes/Qt/gtk-2.0/gtkrc", O_RDONLY|O_LARGEFILE) = 7 |
23 |
> 12021 open("/usr/lib/gtk-2.0/2.4.0/engines/libqtengine.so", O_RDONLY) = 8 |
24 |
> 12021 open("/usr/qt/3/lib/libqt-mt.so.3", O_RDONLY) = 8 |
25 |
> 12021 open("/etc/ld.so.cache", O_RDONLY) = 8 |
26 |
> 12021 open("/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6", |
27 |
> O_RDONLY) = 8 |
28 |
> 12021 open("/usr/lib/libmng.so.1", O_RDONLY) = 8 |
29 |
> 12021 open("/usr/lib/libjpeg.so.62", O_RDONLY) = 8 |
30 |
> 12021 open("/usr/lib/libpng.so.3", O_RDONLY) = 8 |
31 |
> 12021 open("/usr/lib/libXft.so.2", O_RDONLY) = 8 |
32 |
> 12021 open("/usr/lib/libSM.so.6", O_RDONLY) = 8 |
33 |
> 12021 open("/usr/lib/libICE.so.6", O_RDONLY) = 8 |
34 |
> 12021 open("/lib/libgcc_s.so.1", O_RDONLY) = 8 |
35 |
> |
36 |
> Does it still fail if you "mv ~/.gtkrc-2.0 ~/._gtkrc-2.0"? |
37 |
|
38 |
|
39 |
yes, it failed as always. I've fould the problem has nothing to do with |
40 |
gtkrc-2.0, |
41 |
|
42 |
Have you tried a revdep-rebuild? Did you recently change gcc |
43 |
> versions? Do you use prelinking, and if so, have you done a "prelink |
44 |
> -aq"? |
45 |
|
46 |
|
47 |
I don't use prelink.. , and even don't know what it is.... |
48 |
I compared all the open() system calls between outputs generated by root and |
49 |
the normal user, and found something strange: both root and the normal user |
50 |
version trying to open libstdc++.so.6, after checking /etc/ld.so.conf, what |
51 |
have made me confused is the root |
52 |
version choose /usr/lib/libstdc++-v3/ thus the normal user choose |
53 |
/usr/lib/gcc/i686-pc-linux-gnu/4.3.6/, probably this is the answer to the |
54 |
crash, but I just wonder what make them having different choices with the |
55 |
same ld.so.conf? |
56 |
|
57 |
|
58 |
thank you.. |
59 |
|
60 |
|
61 |
> |
62 |
-Richard |
63 |
> -- |
64 |
> gentoo-user@g.o mailing list |
65 |
> |
66 |
> |