1 |
On Wed, 2006-05-17 at 13:45 -0500, Scott L. Price wrote: |
2 |
> What do you need for a proper test case? Do you just need how to |
3 |
> reproduce it? |
4 |
> |
5 |
> I get this bug on both my development systems (AMD64 workstation and a |
6 |
> P4 laptop). |
7 |
> |
8 |
> I have tried making scanelf verbose, but it gives me no indication of |
9 |
> what it might be doing when it hangs. It is not hard locked, it just |
10 |
> seems to be in an infinite loop. |
11 |
|
12 |
|
13 |
Naa. It's reading from stdin cuz it can't find/figure out the terminal. |
14 |
It's caused due to a changed made by vapier so one no longer has to |
15 |
pass the '-f -' option when no cmdline is given. |
16 |
|
17 |
> If I run scanelf separately I get: |
18 |
> |
19 |
> thing2 / # scanelf -pyqs__uClibc_start_main -F%F#s |
20 |
> /usr/bin/python2.3 |
21 |
> /usr/bin/i386-gentoo-linux-uclibc-gcc |
22 |
> /usr/bin/i386-gentoo-linux-uclibc-gcc32 |
23 |
> /usr/bin/i386-gentoo-linux-uclibc-c++ |
24 |
> /usr/bin/i386-gentoo-linux-uclibc-g++ |
25 |
> /usr/bin/i386-gentoo-linux-uclibc-g++32 |
26 |
> /usr/bin/db4.1_deadlock |
27 |
> /usr/bin/db4.1_dump |
28 |
> /usr/bin/db4.1_load |
29 |
> /usr/bin/db4.1_printlog |
30 |
> /usr/bin/db4.1_recover |
31 |
> /usr/bin/db4.1_stat |
32 |
> /usr/bin/db4.1_verify |
33 |
> /usr/bin/db4.1_archive |
34 |
> /usr/bin/db4.1_checkpoint |
35 |
> /usr/bin/db4.1_upgrade |
36 |
> /usr/bin/db1_dump185 |
37 |
> /usr/bin/cvs |
38 |
> /usr/bin/swig |
39 |
> /usr/bin/ntpdc |
40 |
> /usr/bin/ntpq |
41 |
> /usr/bin/ntptime |
42 |
> /usr/bin/tickadj |
43 |
> /usr/bin/ntp-keygen |
44 |
> /usr/bin/ttmkfdir |
45 |
> /usr/sbin/berkeley_db41_svc |
46 |
> /usr/sbin/ssmtp |
47 |
> /usr/sbin/boa |
48 |
> /usr/sbin/ntpd |
49 |
> /usr/sbin/ntpdate |
50 |
> /bin/mbchk |
51 |
> /bin/ed |
52 |
> |
53 |
> It seems to hang after it finishes scanning the whole path. My path is |
54 |
> set to: |
55 |
|
56 |
Oh Perfect thats a test case :) |
57 |
|
58 |
Notice if you enter /bin/ed it should echo back /bin/ed again... |
59 |
|
60 |
You have no tty I bet.. |
61 |
Can you type 'tty' please. |
62 |
I expect the result will have to be 'not a tty' |
63 |
|
64 |
If so here the work around for the moment. (See attached) |
65 |
|
66 |
> PATH=/sbin:/bin:/usr/sbin:/usr/bin |
67 |
> |
68 |
> If there is anything else I supply to help you let me know. |
69 |
> |
70 |
> Scott =) |
71 |
> |
72 |
> Ned Ludd wrote: |
73 |
> > I've heard reports of this but can't reproduce it. |
74 |
> > Anybody experiencing this bug can give vapier, and myself a proper |
75 |
> > test case we would be thankful. Sooner vs later also as I/we were about |
76 |
> > to cut a new pax-utils release. |
77 |
> > |
78 |
> > |
79 |
> > |
80 |
> > On Wed, 2006-05-17 at 11:49 -0500, Scott L. Price wrote: |
81 |
> >> It hangs on: |
82 |
> >> * Doing a scanelf in paths for bins containing the __uClibc_start_main |
83 |
> >> symbol |
84 |
> >> |
85 |
> >> I have tried scanelf separately and it is definitely what is causing the |
86 |
> >> ebuild to hang. It does not hang on my glibc system, only in my chroot |
87 |
> >> uclibc environment. |
88 |
> >> |
89 |
> >> I have tried both versions of pax-utils that are in portage and there is |
90 |
> >> no change. I even have tried a completely fresh stage3 install of the |
91 |
> >> chroot environment and I still have the same problem. |
92 |
> >> |
93 |
> >> |
94 |
> >> Thanks! |
95 |
> >> |
96 |
> >> Scott =) |
97 |
> >> |
98 |
> >> emerge info: |
99 |
> >> |
100 |
> >> Portage 2.0.54-r2 (uclibc/x86/2005.1, gcc-3.3.5-20050130, |
101 |
> >> uclibc-0.9.27-r0, 2.6.15.1 i686) |
102 |
> >> ================================================================= |
103 |
> >> System uname: 2.6.15.1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ |
104 |
> >> Gentoo Base System version 1.6.14 |
105 |
> >> dev-lang/python: 2.3.4-r1, 2.4.2 |
106 |
> >> dev-python/pycrypto: [Not Present] |
107 |
> >> dev-util/ccache: [Not Present] |
108 |
> >> dev-util/confcache: [Not Present] |
109 |
> >> sys-apps/sandbox: 1.2.17 |
110 |
> >> sys-devel/autoconf: 2.13, 2.59-r7 |
111 |
> >> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
112 |
> >> sys-devel/binutils: 2.16.1 |
113 |
> >> sys-devel/libtool: 1.5.14 |
114 |
> >> virtual/os-headers: 2.6.11-r2 |
115 |
> >> ACCEPT_KEYWORDS="x86" |
116 |
> >> AUTOCLEAN="yes" |
117 |
> >> CBUILD="i586-gentoo-linux-uclibc" |
118 |
> >> CFLAGS="-march=i586 -O3 -pipe" |
119 |
> >> CHOST="i586-gentoo-linux-uclibc" |
120 |
> >> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env |
121 |
> >> /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config |
122 |
> >> /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config |
123 |
> >> /var/qmail/control" |
124 |
> >> CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo |
125 |
> >> /etc/env.d" |
126 |
> >> CXXFLAGS="-Os" |
127 |
> >> DISTDIR="/usr/portage/distfiles" |
128 |
> >> FEATURES="autoconfig buildpkg ccache distlocks nodoc noinfo noman |
129 |
> >> sfperms strict" |
130 |
> >> GENTOO_MIRRORS="http://distfiles.gentoo.org |
131 |
> >> http://distro.ibiblio.org/pub/linux/distributions/gentoo" |
132 |
> >> PKGDIR="/usr/portage/packages" |
133 |
> >> PORTAGE_TMPDIR="/var/tmp" |
134 |
> >> PORTDIR="/usr/portage" |
135 |
> >> PORTDIR_OVERLAY="/scripts/portage" |
136 |
> >> SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
137 |
> >> USE="x86 berkdb bitmap-fonts bzip2 cli dri expat mmx ncurses pcre perl |
138 |
> >> python readline reflection session spl truetype-fonts type1-fonts uclibc |
139 |
> >> udev xorg zlib userland_GNU kernel_linux elibc_uclibc" |
140 |
> >> Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, |
141 |
> >> MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS |
142 |
> >> |
143 |
> >> |
144 |
> >> |
145 |
> >> -- |
146 |
> >> Electrical Engineering/Web Development |
147 |
> >> Dragonfly Technologies, Inc. http://www.dflytech.com |
148 |
> >> Hunt Utilities Group LLC http://www.hugllc.com |
149 |
> >> Hopkins, MN (952) 935-2418 |
150 |
> >> |
151 |
> |
152 |
> -- |
153 |
> Electrical Engineering/Web Development |
154 |
> Dragonfly Technologies, Inc. http://www.dflytech.com |
155 |
> Hunt Utilities Group LLC http://www.hugllc.com |
156 |
> Hopkins, MN (952) 935-2418 |
157 |
> |
158 |
-- |
159 |
Ned Ludd <solar@g.o> |
160 |
Gentoo Linux |