PDA

View Full Version : RH9: Segmentation Faults


matt
2003-09-25, 03:01 AM CDT
Hi - a week or two back I reinstalled Red Hat 9, as all printer
functionality had died (it was a very strange problem, but perhaps a drastic
solution). Anyway I'd gotten so fed up of Red Hat not having the packages it
needed for things, I told it to install everything. This has been working
fine.
Last night I did an up2date -u - and this caused some problems.
Understandably it took a LONG time, but the glibc update sat for ages and
ages and ages doing nothing. The process in question was 'glibc_post_upgr',
a sub process of service, a sub process of up2date. Eventually I killed it,
and up2date went on in its merry way. I knew that to have a damaged glibc
would be bad, so I quickly reinstalled the rpm that comes with RH9 (not
ideal, but I thought it might help). up2date had errors (below) with other
rpms after this:

mysql-3.23.56-1.9
/var/tmp/rpm-tmp.15805: line 5: 31643 Segmentation fault grep
'^/usr/lib/mysql$' /etc/ld.so.conf >/dev/null 2>&1

krb5-libs-1.2.7-14
/var/tmp/rpm-tmp.98312: line 3: 31646 Segmentation fault grep -q
'^/usr/kerberos/lib$' /etc/ld.so.conf

kon2-0.3.9b-16.9
/var/tmp/rpm-tmp.30171: line 1: [: -eq: unary operator expected

postfix-1.1.12-1
/etc/postfix/post-install: line 292: 31665 Segmentation fault grep
setgid_group $config_directory/main.cf >/dev/null 2>&1
/etc/postfix/post-install: line 467: 31714 Segmentation fault chgrp
$recursive $group $path
/usr/bin/ldd: line 1: 31742 Broken pipe
LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW=
LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$file"
cp: omitting directory `/lib/'
error: %trigger(postfix-1.1.12-1) scriptlet failed, exit status 1

This morning I installed the rpm of the updated glibc manually. This
worked - but the results of installing the ones that had problems last night
are the same (they are the results shown above). I'm afraid to reboot in
case a segmentation error kicks in and prevents me from getting back in. The
full text from last night is at the bottom of this message.

For some (unrelated) reason, I also continually get this in
/var/log/messages:
modprobe: modprobe: Can't locate module ppp0

Is there a RH9 hard disk checking facility?

If anyone has any idea why this is happening and any idea how to fix it, it
would be very much appreciated.

many thanks,
matt

--
RH9 Kernel 2.4.20-8
greatbigblackhole@hotmail.com is a real address, but don't expect anything
(SPAM or otherwise) to get read

[root@<hostname> root]# up2date -u

Fetching package list for channel: redhat-linux-i386-9...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-9...
########################################

Fetching rpm headers...
########################################

Testing package set / solving RPM inter-dependencies...
########################################
LPRng-3.8.19-3.1.i386.rpm: ########################## Done.
balsa-2.0.6-2.i386.rpm: ########################## Done.
bash-2.05b-20.1.i386.rpm: ########################## Done.
bash-doc-2.05b-20.1.i386.rp ########################## Done.
cdda2wav-2.0-11.9.1.i386.rp ########################## Done.
cdrecord-2.0-11.9.1.i386.rp ########################## Done.
cdrecord-devel-2.0-11.9.1.i ########################## Done.
cups-1.1.17-13.3.i386.rpm: ########################## Done.
cups-devel-1.1.17-13.3.i386 cups-devel-1.1.17-13.3.i386 ###
########################## Done.
cups-libs-1.1.17-13.3.i386. ########################## Done.
ddskk-11.6.0-11.90.noarch.r ########################## Done.
ddskk-xemacs-11.6.0-11.90.n ########################## Done.
eog-2.2.0-2.i386.rpm: ########################## Done.
ethereal-0.9.13-1.90.1.i386 ########################## Done.
ethereal-gnome-0.9.13-1.90. ########################## Done.
evolution-1.2.2-5.i386.rpm: ########################## Done.
foomatic-2.0.2-15.1.i386.rp ########################## Done.
gdm-2.4.1.3-5.1.i386.rpm: ########################## Done.
ghostscript-7.05-32.1.i386. ########################## Done.
ghostscript-devel-7.05-32.1 ########################## Done.
glibc-2.3.2-27.9.i386.rpm: ########################## Done.
glibc-common-2.3.2-27.9.i38 ########################## Done.
glibc-debug-2.3.2-27.9.i386 ########################## Done.
glibc-devel-2.3.2-27.9.i386 glibc-devel-2.3.2-27.9.i386
########################## Done.
glibc-profile-2.3.2-27.9.i3 ########################## Done.
glibc-utils-2.3.2-27.9.i386 ########################## Done.
gnupg-1.2.1-4.i386.rpm: ########################## Done.
gtkhtml-1.1.9-0.9.1.i386.rp ########################## Done.
gtkhtml-devel-1.1.9-0.9.1.i ########################## Done.
hpijs-1.3-32.1.i386.rpm: ########################## Done.
httpd-2.0.40-21.5.i386.rpm: ########################## Done.
httpd-devel-2.0.40-21.5.i38 ########################## Done.
httpd-manual-2.0.40-21.5.i3 ########################## Done.
kdebase-3.1-15.i386.rpm: ########################## Done.
kdebase-devel-3.1-15.i386.r ########################## Done.
kdegraphics-3.1-5.i386.rpm: ########################## Done.
kdegraphics-devel-3.1-5.i38 ########################## Done.
kdelibs-3.1-12.i386.rpm: ########################## Done.
kdelibs-devel-3.1-12.i386.r ########################## Done.
kon2-0.3.9b-16.9.i386.rpm: ########################## Done.
kon2-fonts-0.3.9b-16.9.i386 ########################## Done.
krb5-devel-1.2.7-14.i386.rp ########################## Done.
krb5-libs-1.2.7-14.i386.rpm ########################## Done.
krb5-server-1.2.7-14.i386.r ########################## Done.
krb5-workstation-1.2.7-14.i ########################## Done.
lv-4.49.4-9.9.1.i386.rpm: ########################## Done.
mkisofs-2.0-11.9.1.i386.rpm ########################## Done.
mod_ssl-2.0.40-21.5.i386.rp ########################## Done.
mutt-1.4.1-1.i386.rpm: ########################## Done.
mysql-3.23.56-1.9.i386.rpm: ########################## Done.
mysql-devel-3.23.56-1.9.i38 mysql-devel-3.23.56-1.9.i38
########################## Done.
mysql-server-3.23.56-1.9.i3 ########################## Done.
nfs-utils-1.0.1-3.9.i386.rp ########################## Done.
nscd-2.3.2-27.9.i386.rpm: ########################## Done.
openssh-3.5p1-11.i386.rpm: ########################## Done.
openssh-askpass-3.5p1-11.i3 ########################## Done.
openssh-askpass-gnome-3.5p1 ########################## Done.
openssh-clients-3.5p1-11.i3 ########################## Done.
openssh-server-3.5p1-11.i38 ########################## Done.
openssl-0.9.7a-5.i386.rpm: ########################## Done.
openssl-devel-0.9.7a-5.i386 ########################## Done.
openssl-perl-0.9.7a-5.i386. ########################## Done.
openssl096-0.9.6-17.i386.rp ########################## Done.
openssl096b-0.9.6b-6.i386.r ########################## Done.
pam_smb-1.1.6-9.9.i386.rpm: ########################## Done.
perl-5.8.0-88.3.i386.rpm: ########################## Done.
perl-CGI-2.81-88.3.i386.rpm ########################## Done.
perl-CPAN-1.61-88.3.i386.rp ########################## Done.
perl-DB_File-1.804-88.3.i38 ########################## Done.
perl-suidperl-5.8.0-88.3.i3 ########################## Done.
php-4.2.2-17.2.i386.rpm: ########################## Done.
php-devel-4.2.2-17.2.i386.r ########################## Done.
php-imap-4.2.2-17.2.i386.rp ########################## Done.
php-ldap-4.2.2-17.2.i386.rp ########################## Done.
php-manual-4.2.2-17.2.i386. ########################## Done.
php-mysql-4.2.2-17.2.i386.r ########################## Done.
php-odbc-4.2.2-17.2.i386.rp ########################## Done.
php-pgsql-4.2.2-17.2.i386.r ########################## Done.
php-snmp-4.2.2-17.2.i386.rp ########################## Done.
pine-4.44-19.90.0.i386.rpm: ########################## Done.
postfix-1.1.12-1.i386.rpm: ########################## Done.
printman-0.0.1-0.20021202.1 printman-0.0.1-0.20021202.1 ##
########################## Done.
redhat-config-date-1.5.15-1 ########################## Done.
redhat-config-network-1.2.1 ########################## Done.
redhat-config-network-tui-1 ########################## Done.
redhat-config-printer-0.6.4 ########################## Done.
redhat-config-printer-gui-0 ########################## Done.
rhpl-0.93.4-1.i386.rpm: ########################## Done.
samba-2.2.7a-8.9.0.i386.rpm ########################## Done.
samba-client-2.2.7a-8.9.0.i ########################## Done.
samba-common-2.2.7a-8.9.0.i ########################## Done.
samba-swat-2.2.7a-8.9.0.i38 ########################## Done.
sendmail-8.12.8-9.90.i386.r ########################## Done.
sendmail-cf-8.12.8-9.90.i38 ########################## Done.
sendmail-devel-8.12.8-9.90. ########################## Done.
sendmail-doc-8.12.8-9.90.i3 ########################## Done.
squirrelmail-1.2.11-1.noarc ########################## Done.
tcpdump-3.7.2-1.9.1.i386.rp ########################## Done.
unzip-5.50-33.i386.rpm: ########################## Done.
up2date-3.1.23.2-1.i386.rpm ########################## Done.
up2date-gnome-3.1.23.2-1.i3 ########################## Done.
wl-2.10.1-1.1.noarch.rpm: wl-2.10.1-1.1.noarch.rpm:
########################## Done.
wl-common-2.10.1-1.1.noarch ########################## Done.
wl-xemacs-2.10.1-1.1.noarch ########################## Done.
xinetd-2.3.11-1.9.0.i386.rp ########################## Done.
xpdf-2.01-11.i386.rpm: ########################## Done.
xpdf-chinese-simplified-2.0 xpdf-chinese-simplified-2.0
########################## Done.
xpdf-chinese-traditional-2. ########################## Done.
xpdf-japanese-2.01-11.i386. ########################## Done.
xpdf-korean-2.01-11.i386.rp ########################## Done.
ypserv-2.8-0.9E.i386.rpm: ########################## Done.
Preparing ########################################### [100%]

Installing...
1:glibc-common ###########################################
[100%]
2:glibc ###########################################
[100%]
error: %post(glibc-2.3.2-27.9) scriptlet failed, exit status 121
3:bash ###########################################
[100%]
4:perl ###########################################
[100%]
5:krb5-libs ###########################################
[100%]
/var/tmp/rpm-tmp.83573: line 3: 29343 Segmentation fault grep -q
'^/usr/kerberos/lib$' /etc/ld.so.conf
6:openssl ###########################################
[100%]
7:cups-libs ###########################################
[100%]
8:httpd ###########################################
[100%]
9:php ###########################################
[100%]
10:rhpl ###########################################
[100%]
11:xpdf ###########################################
[100%]
12:ghostscript ###########################################
[100%]
13:kdelibs ###########################################
[100%]
14:samba-common ###########################################
[100%]
15:openssh ###########################################
[100%]
16:sendmail warning: /etc/mail/submit.cf created as
/etc/mail/submit.cf.rpmnew
########################################### [100%]
17:xinetd ###########################################
[100%]
18:gtkhtml ###########################################
[100%]
19:samba ###########################################
[100%]
20:ethereal ###########################################
[100%]
21:foomatic ###########################################
[100%]

[1]+ Stopped up2date -u
[root@pc3-lisb1-4-cust245 root]# fg 1
up2date -u
22:perl-CGI ###########################################
[100%]
23:mysql ###########################################
[100%]
/var/tmp/rpm-tmp.75428: line 5: 29574 Segmentation fault grep
'^/usr/lib/mysql$' /etc/ld.so.conf >/dev/null 2>&1
24:openssh-clients ###########################################
[100%]
25:kdebase ###########################################
[100%]
26:kdegraphics ###########################################
[100%]
27:krb5-devel ###########################################
[100%]
28:gnupg ###########################################
[100%]
29:wl-common ###########################################
[100%]
30:cdrecord ###########################################
[100%]
31:up2date ###########################################
[100%]
32:redhat-config-printer ###########################################
[100%]
33:evolution ###########################################
[100%]
34:redhat-config-network-t###########################################
[100%]
35:LPRng ###########################################
[100%]
36:perl-CPAN ###########################################
[100%]
37:glibc-devel ###########################################
[100%]
38:openssl096 ###########################################
[100%]
39:openssl096b ###########################################
[100%]
40:balsa ###########################################
[100%]
41:bash-doc ###########################################
[100%]
42:cdda2wav ###########################################
[100%]
43:cdrecord-devel ###########################################
[100%]
44:cups ###########################################
[100%]
45:cups-devel ###########################################
[100%]
46:ddskk ###########################################
[100%]
47:ddskk-xemacs ###########################################
[100%]
48:eog ###########################################
[100%]
49:ethereal-gnome ###########################################
[100%]
50:gdm ###########################################
[100%]
51:ghostscript-devel ###########################################
[100%]
52:glibc-debug ###########################################
[100%]
53:glibc-profile ###########################################
[100%]
54:glibc-utils ###########################################
[100%]
55:gtkhtml-devel ###########################################
[100%]
56:hpijs ###########################################
[100%]
57:httpd-devel ###########################################
[100%]
58:httpd-manual ###########################################
[100%]
59:kdebase-devel ###########################################
[100%]
60:kdegraphics-devel ###########################################
[100%]
61:kdelibs-devel ###########################################
[100%]
62:kon2 ###########################################
[100%]
/var/tmp/rpm-tmp.52238: line 1: [: -eq: unary operator expected
63:kon2-fonts ###########################################
[100%]
64:krb5-server ###########################################
[100%]
65:krb5-workstation ###########################################
[100%]
66:lv ###########################################
[100%]
67:mkisofs ###########################################
[100%]
68:mod_ssl ###########################################
[100%]
69:mutt ###########################################
[100%]
70:mysql-devel ###########################################
[100%]
71:mysql-server ###########################################
[100%]
cut: write error: Broken pipe
/var/tmp/rpm-tmp.22212: line 4: 29873 Done cat
/etc/passwd
29874 Done(1) | cut -d':' -f 3
29875 Segmentation fault | grep --quiet 65534 2>/dev/null
72:nfs-utils ###########################################
[100%]
73:nscd ###########################################
[100%]
74:openssh-askpass ###########################################
[100%]
75:openssh-askpass-gnome ###########################################
[100%]
76:openssh-server ###########################################
[100%]
77:openssl-devel ###########################################
[100%]
78:openssl-perl ###########################################
[100%]
79:pam_smb ###########################################
[100%]
80:perl-DB_File ###########################################
[100%]
81:perl-suidperl ###########################################
[100%]
82:php-devel ###########################################
[100%]
83:php-imap ###########################################
[100%]
84:php-ldap ###########################################
[100%]
85:php-manual ###########################################
[100%]
86:php-mysql ###########################################
[100%]
87:php-odbc ###########################################
[100%]
88:php-pgsql ###########################################
[100%]
89:php-snmp ###########################################
[100%]
90:pine ###########################################
[100%]
91:postfix warning: /etc/postfix/main.cf created as
/etc/postfix/main.cf.rpmnew
########################################### [100%]
/etc/postfix/post-install: line 292: 29958 Segmentation fault grep
setgid_group $config_directory/main.cf >/dev/null 2>&1
/etc/postfix/post-install: line 467: 30007 Segmentation fault chgrp
$recursive $group $path
cp: omitting directory `/lib/'
error: %trigger(postfix-1.1.12-1) scriptlet failed, exit status 1
92:printman ###########################################
[100%]
93:redhat-config-date ###########################################
[100%]
94:redhat-config-network ###########################################
[100%]
95:redhat-config-printer-g###########################################
[100%]
96:samba-client ###########################################
[100%]
97:samba-swat ###########################################
[100%]
98:sendmail-cf ###########################################
[100%]
99:sendmail-devel ###########################################
[100%]
100:sendmail-doc ###########################################
[100%]
101:squirrelmail ###########################################
[100%]
102:tcpdump ###########################################
[100%]
103:unzip ###########################################
[100%]
104:up2date-gnome ###########################################
[100%]
105:wl ###########################################
[100%]
106:wl-xemacs ###########################################
[100%]
107:xpdf-chinese-simplified######################################## ###
[100%]
108:xpdf-chinese-traditiona######################################## ###
[100%]
109:xpdf-japanese ###########################################
[100%]
110:xpdf-korean ###########################################
[100%]
111:ypserv ###########################################
[100%]
/var/tmp/rpm-tmp.69812: line 6: 30228 Terminated /sbin/service
kprop condrestart >/dev/null 2>&1
error: db4 error(-30989) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested
page not found
error: db4 error(-30989) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested
page not found
The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
----------------------------------------------------------------------------
---
kernel 2.4.20 20.9 Pkg name/pattern
kernel-doc 2.4.20 20.9 Pkg name/pattern
kernel-source 2.4.20 20.9 Pkg name/pattern




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003

Lenard
2003-09-25, 07:40 AM CDT
On Thu, 25 Sep 2003 10:01:49 +0100, matt typed:

> Hi - a week or two back I reinstalled Red Hat 9, as all printer
> functionality had died (it was a very strange problem, but perhaps a
> drastic solution). Anyway I'd gotten so fed up of Red Hat not having the
> packages it needed for things, I told it to install everything. This has
> been working fine.
> Last night I did an up2date -u - and this caused some problems.
> Understandably it took a LONG time, but the glibc update sat for ages
> and ages and ages doing nothing. The process in question was
> 'glibc_post_upgr', a sub process of service, a sub process of up2date.
> Eventually I killed it, and up2date went on in its merry way. I knew
> that to have a damaged glibc would be bad, so I quickly reinstalled the
> rpm that comes with RH9 (not ideal, but I thought it might help).
> up2date had errors (below) with other rpms after this:

You got bit by a bug(a BIG mistake) by Red Hat, sorry about that. But it
is fixable. Carefully read the following bug report it will tell you how
to correct this problem;

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88456

This will help you fix your problem with rpm (caused by the bug);

http://www.rpm.org/hintskinks/repairdb-2003-06/





--
SCO + RICO Act = Justice

matt
2003-09-25, 01:41 PM CDT
"Lenard" <lenard@127.0.0.1> wrote in message
news:pan.2003.09.25.13.41.14.528736@127.0.0.1...
> On Thu, 25 Sep 2003 10:01:49 +0100, matt typed:
>
<cut>
>
> You got bit by a bug(a BIG mistake) by Red Hat, sorry about that. But it
> is fixable. Carefully read the following bug report it will tell you how
> to correct this problem;
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88456
>
> This will help you fix your problem with rpm (caused by the bug);
>
> http://www.rpm.org/hintskinks/repairdb-2003-06/
>
>
Many many thanks - alas I reinstalled this afternoon (having all those rpms
on there was always less than ideal) Will this happen again if I graphically
update glibc? I assumed the command line up2date and x version were the same
thing in different packaging. I'm tempted never to upgrade anything ever
again. If it ain't broke don't fix it...?

matt

>
>
>
> --
> SCO + RICO Act = Justice
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003