* Memory Violations
@ 1998-05-05 19:05 Dana Canfield
1998-05-05 19:46 ` Michal Jaegermann
0 siblings, 1 reply; 8+ messages in thread
From: Dana Canfield @ 1998-05-05 19:05 UTC (permalink / raw)
To: axp-list
I'm using a AlphaPC 164LX motherboard with Redhat 5.0, all the latest
updates from redhat.com, and 2.0.33 kernel. Just about evey program
I've compiled myself (mostly from SRPMS) gives me fairly regular
messages of the type:
ipop3d: memory violation at 155558d7130 rp=15558ca81c (bad
address=15555d834a0)
This happens with just about everything I've compiled myself (mysql,
apache, popd/imapd), but I haven't seen it happen with any of the
programs included with the standard distribution. Is this a sign of bad
memory, or am I doing something to cause my compiles to fail? I get no
error messages while compiling, and I've tried installing the both the
kernel that came with my system (2.0.32 from Microway) and the standard
2.0.30 kernel that comes on the redhat CD, and those had no effect.
Most of the time, these aren't a big deal, but eventually apache and
mysqld stop responding or go zombie on me, and I don't think that should
be happening.
Any suggestions?
Thanks in advance.
Dana
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Memory Violations
1998-05-05 19:05 Memory Violations Dana Canfield
@ 1998-05-05 19:46 ` Michal Jaegermann
1998-05-05 21:00 ` Ross A. Knepper
0 siblings, 1 reply; 8+ messages in thread
From: Michal Jaegermann @ 1998-05-05 19:46 UTC (permalink / raw)
To: axp-list
>
> Just about evey program
> I've compiled myself (mostly from SRPMS) gives me fairly regular
> messages of the type:
>
> ipop3d: memory violation at 155558d7130 rp=15558ca81c (bad
> address=15555d834a0)
If this is the case I would suspect a bad library or a broken compiler.
This does not look like a simply buggy code although maybe it is.
There is a whole raft of errata/updates to 5.0.
--mj
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Memory Violations
1998-05-05 19:46 ` Michal Jaegermann
@ 1998-05-05 21:00 ` Ross A. Knepper
1998-05-06 14:08 ` Dana Canfield
0 siblings, 1 reply; 8+ messages in thread
From: Ross A. Knepper @ 1998-05-05 21:00 UTC (permalink / raw)
To: axp-list
> > ipop3d: memory violation at 155558d7130 rp=15558ca81c (bad
> > address=15555d834a0)
>
> If this is the case I would suspect a bad library or a broken compiler.
> This does not look like a simply buggy code although maybe it is.
if you do ldd ipop3d, it will tell you where each shared lib is mapped in
address space, so you can see which library 155558d7130 is in ...
hope this helps
-ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Memory Violations
1998-05-05 21:00 ` Ross A. Knepper
@ 1998-05-06 14:08 ` Dana Canfield
1998-05-06 15:26 ` Ross A. Knepper
0 siblings, 1 reply; 8+ messages in thread
From: Dana Canfield @ 1998-05-06 14:08 UTC (permalink / raw)
To: axp-list
The two most common errors I get are for httpd and ipop3d. Here are the two
sets of errors I get for them:
ipop3d: memory violation at pc=120004e30 rp=12000372c (bad address=00000616)
httpd: memory violation at pc=15555c4bdc8 rp=15555e4bc88 (bad
address=158572038)
And here is the ldd output:
%ldd /usr/sbin/ipop3d
libpam.so.0 => /lib/libpam.so.0 (0x000001555555c000)
libdl.so.2.1 => /lib/libdl.so.2.1 (0x0000015555666000)
libc.so.6.1 => /lib/libc.so.6.1 (0x000001555576a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
%ldd /usr/sbin/httpd
libm.so.6.1 => /lib/libm.so.6.1 (0x000001555555c000)
libcrypt.so.1.1 => /lib/libcrypt.so.1.1 (0x000001555568c000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x00000155557c2000)
libdl.so.2.1 => /lib/libdl.so.2.1 (0x00000155558ca000)
libmysqlclient.so.4 => /usr/lib/libmysqlclient.so.4
(0x00000155559ce000)
libc.so.6.1 => /lib/libc.so.6.1 (0x0000015555ae4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
libnsl.so.1.1 => /lib/libnsl.so.1.1 (0x0000015555ccc000)
For the httpd, I would assume this indicates a problem with libc. But, the
ipop3d error isn't
even close to the ldd output. Am I missing something. And assuming the
problem is with my libc, does anyone
have any suggestions for fixing this. I'm using the latest rpms from redhat.
Ross A. Knepper wrote:
> > > ipop3d: memory violation at 155558d7130 rp=15558ca81c (bad
> > > address=15555d834a0)
> >
> > If this is the case I would suspect a bad library or a broken compiler.
> > This does not look like a simply buggy code although maybe it is.
>
> if you do ldd ipop3d, it will tell you where each shared lib is mapped in
> address space, so you can see which library 155558d7130 is in ...
>
> hope this helps
>
> -ross
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Memory Violations
1998-05-06 14:08 ` Dana Canfield
@ 1998-05-06 15:26 ` Ross A. Knepper
1998-05-06 16:57 ` Dana Canfield
0 siblings, 1 reply; 8+ messages in thread
From: Ross A. Knepper @ 1998-05-06 15:26 UTC (permalink / raw)
To: axp-list
> ipop3d: memory violation at pc=120004e30 rp=12000372c (bad address=00000616)
this one doesnt look like a shared lib problem, because the address is too
low. try reinstalling pop?
> httpd: memory violation at pc=15555c4bdc8 rp=15555e4bc88 (bad
> address=158572038)
this one looks like a libc error, like you said. if you upgraded from an
older version of redhat (especially glibc < 2.0) then you should check
that libc.so and ld.so are resolving to the right things. if it was
linked with glibc 1.xx then i beleive it will be looking for ld.so.1
rather than ld-linux.so.2 ...
(i just went through this, upgrading from glibc-1.93 ...)
make sure you've got the most recent rpm's of everything. if that doesnt
help, you could alway write a cron job that restarts httpd every 5 minutes
if it died :)
i dunno what else to suggest. upgrading everything worked for me.
-ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Memory Violations
1998-05-06 15:26 ` Ross A. Knepper
@ 1998-05-06 16:57 ` Dana Canfield
1998-05-06 17:52 ` Ross A. Knepper
0 siblings, 1 reply; 8+ messages in thread
From: Dana Canfield @ 1998-05-06 16:57 UTC (permalink / raw)
To: axp-list, rknepper
> > httpd: memory violation at pc=15555c4bdc8 rp=15555e4bc88 (bad
> > address=158572038)
>
> this one looks like a libc error, like you said. if you upgraded from an
> older version of redhat (especially glibc < 2.0) then you should check
> that libc.so and ld.so are resolving to the right things. if it was
> linked with glibc 1.xx then i beleive it will be looking for ld.so.1
> rather than ld-linux.so.2 ...
> (i just went through this, upgrading from glibc-1.93 ...)
This system is a fresh install from about a week ago. All the RPM were updated
beforeI compiled anything, so I don't believe this could be the problem.
Can the kernel revision have anything to do with this? I thought I saw something
somewhere that
said you should install the 2.0.33 kernel sources, then remove them and place the
original 2.0.30 sources
before compiling things, due to some redhat customization of the .30 kernel.
Could this be related? The
kernel is the only thing I am using that is not a standard red-hat distribution.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Memory Violations
1998-05-06 16:57 ` Dana Canfield
@ 1998-05-06 17:52 ` Ross A. Knepper
1998-05-06 13:29 ` tomorrow Albert Sunseri
0 siblings, 1 reply; 8+ messages in thread
From: Ross A. Knepper @ 1998-05-06 17:52 UTC (permalink / raw)
To: axp-list
> Can the kernel revision have anything to do with this? I thought I saw
> something somewhere that said you should install the 2.0.33 kernel
> sources, then remove them and place the original 2.0.30 sources
> before compiling things, due to some redhat customization of the .30 kernel.
generally you want to compile the kernel using its own headers, but leave
the redhat stock headers in place when compiling other software. at
least, this is true if you're running a 2.0.xx kernel. i don't know if it
holds for 2.1 ...
-ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* tomorrow
1998-05-06 17:52 ` Ross A. Knepper
@ 1998-05-06 13:29 ` Albert Sunseri
0 siblings, 0 replies; 8+ messages in thread
From: Albert Sunseri @ 1998-05-06 13:29 UTC (permalink / raw)
To: axp-list
I have had the thing in my office this whole time.
The mail guy could not bring it because it weighed over one pound -
he just weighed it and wrote the cost down.
Apparently he would have had to show id to mail it, and he just drops
stuff off.
( becasue it is over 1 pound - id required )
If i would have sent it via some service besides the post offic, then it
would have been ok.
He says he told me when he brought it back - i dont remember. just never
saw it!
So - we are sending it via overnight - it will be there tomorrow.
call me now.
--
Albert Sunseri
sunseri@abpi.net
http://www.abpi.net/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-05-06 18:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-05 19:05 Memory Violations Dana Canfield
1998-05-05 19:46 ` Michal Jaegermann
1998-05-05 21:00 ` Ross A. Knepper
1998-05-06 14:08 ` Dana Canfield
1998-05-06 15:26 ` Ross A. Knepper
1998-05-06 16:57 ` Dana Canfield
1998-05-06 17:52 ` Ross A. Knepper
1998-05-06 13:29 ` tomorrow Albert Sunseri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox