Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc detected memory corruption with sparc-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
midnightlightning
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 79

PostPosted: Mon Apr 24, 2006 10:18 pm    Post subject: glibc detected memory corruption with sparc-sources Reply with quote

This may be more of a heads-up than a bug, but if anyone does know the root of this problem, I'd be glad to know it. While doing the
Code:
USE="-doc symlink" emerge sparc-sources

command, I got a "*** glibc detected *** malloc(): memory corruption (fast): 0x0010ca88 ***" error and it failed out. From reading in this forum, it looks like this error indicates an error with what was trying to be emerged. I'm attemting to do the emerge with a "MALLOC_CHECK_=1" in front and see what that does, but from what that other thread says, that is a duck and cover maneuver, rather than a solution.

The system I'm working on is a Sparc5 Station with 256 MB RAM.
_________________
"Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke
Back to top
View user's profile Send private message
midnightlightning
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 79

PostPosted: Tue Apr 25, 2006 9:49 pm    Post subject: Reply with quote

Eh. No dice; running with a Malloc check flag only created a bunch or Malloc reporting lines and eventually locked up the station. I'm trying again with the vanilla sources, but there's still some glibc errors flittering through it (though not any critical ones at this point, apparently). Are the sparc sources and vanilla sources updated with an "emerge --sync"? Might I just have gotten a bad copy? Are there any other variants of sparc sources for older (32-bit) stations?
_________________
"Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke
Back to top
View user's profile Send private message
midnightlightning
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 79

PostPosted: Tue Apr 25, 2006 10:28 pm    Post subject: Reply with quote

Here's one other symptom of it: Here's a code snippit from doing a USE="-doc symlink" emerge sparc-sources:

Code:
>>> Unpacking source...
>>> Unpacking linux-2.4.32.tar.bz2 to /var/tmp/portage/sparc-sources-2.4.32-r2/w
ork
 * patches-2.4.32-sparc-r2.tar.bz2 unpacked
  [ ok ]ding Patch #2000_U1-hme-lockup.patch ...
  [ ok ]ding Patch #5000_sparc64-ramdisk64.patch ...
  [ ok ]ing 1100_grsecurity-2.1.7.patch (-p0+) ...
  [ ok ]ing 3000_squashfs2.2.patch (-p0+) ...
  [ ok ]ing 4000_backport-of-CVE-2005-2709-fix.patch (-p0+) ...
  [ ok ]ing 4001_fix-sendmsg-overflow-CVE-2005-2490.patch (-p0+) ...
  [ ok ]ing 4002_vfs-local-denial-of-service-file-lease.patch (-p0+) ...
  [ ok ]ing 4003_ipv6-mcast-igmp-dos-fix.patch (-p0+) ...
  [ ok ]ing 4004_fix-cmdline-race-CVE-2004-1058.patch (-p0+) ...
  [ ok ]ing 9000_gentoo_logo.patch (-p0+) ...
>>> version.h compiled successfully.
>>> Source unpacked.
*** glibc detected *** malloc(): memory corruption (fast): 0x0010ca78 ***
(chroot) livecd src # ls /usr/src
(chroot) livecd src # cd /usr/src
(chroot) livecd src # ls
(chroot) livecd src #


The last glibc error made me think it failed, but doing a vanilla sources, I found that the ">>> Source unpacked." is indeed the last line of code that action does (or so it seems to me). But in both cases (I did a vanilla and a sparc sources emerge), the symlink is not generated (as you can see from the ls on the /usr/src directory). Is that symlink the last thing that's created (i.e. could that be what's failing)? Can that be created manually? Or is this a symptom (not having a symlink after doing a USE="symlink" emerge) of a greater problem?
_________________
"Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke
Back to top
View user's profile Send private message
midnightlightning
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 79

PostPosted: Mon May 01, 2006 2:06 pm    Post subject: Reply with quote

Okay, I'll just keep talking to myself in the hopes that someone will know what the next best step would be. A better description for my problem at this point is getting any of the kernels to emerge.

Gentoo sources results in all options being masked out:
Code:
(chroot) livecd / # USE="-doc symlink" emerge gentoo-sources
Calculating dependencies
!!! All ebuilds that could satisfy "gentoo-sources" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-sources-2.6.15-r7 (masked by: package.mask, ~sparc keyword)
- sys-kernel/gentoo-sources-2.6.14-r7 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.4.31-r1 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.15-r1 (masked by: package.mask, ~sparc keyword)
- sys-kernel/gentoo-sources-2.6.16 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.6.15-r8 (masked by: package.mask, ~sparc keyword)
- sys-kernel/gentoo-sources-2.4.32-r3 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.16-r4 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.6.16-r3 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.6.16-r2 (masked by: package.mask, missing keyword)
- sys-kernel/gentoo-sources-2.6.16-r1 (masked by: package.mask, missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

(chroot) livecd / #


Sparc-sources results in the glibc error in my previous post.

Vanilla-sources appears to do the same.

I even tried genkernel, but that just resulted in a watchdog reset. Any help on getting a kernel to emerge? Even forcing one of the 'missing keyword' gentoo-sources to apply (is that a good idea)?
_________________
"Any sufficiently advanced technology is indistinguisable from magic." -- Arthur C. Clarke
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum