LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-19-2009, 02:00 AM   #1
sunilvadranapu
Member
 
Registered: May 2006
Posts: 64

Rep: Reputation: 15
*** glibc detected *** : error on my SuSE 10 box


Hi on my SuSE 10 box(kernel version: 2.6.16.46-0.12-smp ), when i am trying to rebuild rpm database, i am getting the below error. could you suggest anything to overcome this problem.

</CODE>
sunil:/media/SLES10SP_001/suse/x86_64 # rpm --rebuilddb
*** glibc detected *** rpm: munmap_chunk(): invalid pointer: 0x00002aaaaac1b73a ***
======= Backtrace: =========
/lib64/libc.so.6[0x2aaaab91434e]
/usr/lib64/librpm-4.4.so(rpmtsAcquireLock+0x26c)[0x2aaaaac1365c]
/usr/lib64/librpm-4.4.so(rpmtsRebuildDB+0x20)[0x2aaaaac07ab0]
rpm[0x404d82]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2aaaab8c6154]
rpm[0x4038e9]
======= Memory map: ========
00400000-00413000 r-xp 00000000 08:01 7294 /bin/rpm
00512000-00515000 rw-p 00012000 08:01 7294 /bin/rpm
00515000-00542000 rw-p 00515000 00:00 0 [heap]
2aaaaaaab000-2aaaaaac6000 r-xp 00000000 08:01 172 /lib64/ld-2.4.so
2aaaaaac6000-2aaaaaac7000 rw-p 2aaaaaac6000 00:00 0
2aaaaaae8000-2aaaaaae9000 rw-p 2aaaaaae8000 00:00 0
2aaaaaae9000-2aaaaab1c000 r--p 00000000 08:02 16758 /usr/lib/locale/en_US.utf8/LC_CTYPE
2aaaaab1c000-2aaaaab23000 r--s 00000000 08:02 13271 /usr/lib64/gconv/gconv-modules.cache
2aaaaabc5000-2aaaaabc7000 rw-p 0001a000 08:01
172 /lib64/ld-2.4.so
2aaaaabc7000-2aaaaac21000 r-xp 00000000 08:02 73684 /usr/lib64/librpm-4.4.so
2aaaaac21000-2aaaaad20000 ---p 0005a000 08:02 73684 /usr/lib64/librpm-4.4.so
2aaaaad20000-2aaaaad26000 rw-p 00059000 08:02 73684 /usr/lib64/librpm-4.4.so
2aaaaad26000-2aaaaad58000 rw-p 2aaaaad26000 00:00 0
2aaaaad58000-2aaaaae51000 r-xp 00000000 08:02 73685 /usr/lib64/librpmdb-4.4.so
2aaaaae51000-2aaaaaf50000 ---p 000f9000 08:02 73685 /usr/lib64/librpmdb-4.4.so
2aaaaaf50000-2aaaaaf57000 rw-p 000f8000 08:02 73685 /usr/lib64/librpmdb-4.4.so
2aaaaaf57000-2aaaaafd7000 r-xp 00000000 08:02 73686 /usr/lib64/librpmio-4.4.so
2aaaaafd7000-2aaaab0d6000 ---p 00080000 08:02 73686 /usr/lib64/librpmio-4.4.so
2aaaab0d6000-2aaaab0de000 rw-p 0007f000 08:02 73686 /usr/lib64/librpmio-4.4.so
2aaaab0de000-2aaaab102000 rw-p 2aaaab0de000 00:00 0
2aaaab102000-2aaaab109000 r-xp 00000000 08:02 17427 /usr/lib64/libpopt.so.0.0.0
2aaaab109000-2aaaab209000 ---p 00007000 08:02 17427 /usr/lib64/libpopt.so.0.0.0
2aaaab209000-2aaaab20a000 rw-p 00007000 08:02 17427 /usr/lib64/libpopt.so.0.0.0
2aaaab20a000-2aaaab25e000 r-xp 00000000 08:01 187 /lib64/libm-2.4.so
2aaaab25e000-2aaaab35d000 ---p 00054000 08:01 187 /lib64/libm-2.4.so
2aaaab35d000-2aaaab35f000 rw-p 00053000 08:01 187 /lib64/libm-2.4.so
2aaaab35f000-2aaaab361000 r-xp 00000000 08:01 185 /lib64/libdl-2.4.so
2aaaab361000-2aaaab461000 ---p 00002000 08:01 185 /lib64/libdl-2.4.so
2aaaab461000-2aaaab463000 rw-p 00002000 08:01 185 /lib64/libdl-2.4.so
2aaaab463000-2aaaab464000 rw-p 2aaaab463000 00:00 0
2aaaab464000-2aaaab46c000 r-xp 00000000 08:01 209 /lib64/librt-2.4.so
2aaaab46c000-2aaaab56b000 ---p 00008000 08:01 209 /lib64/librt-2.4.so
2aaaab56b000-2aaaab56d000 rw-p 00007000 08:01 209 /lib64/librt-2.4.so
2aaaab56d000-2aaaab57f000 r-xp 00000000 08:01 205 /lib64/libpthread-2.4.so
2aaaab57f000-2aaaab67e000 ---p 00012000 08:01 205 /lib64/libpthread-2.4.so
2aaaab67e000-2aaaab680000 rw-p 00011000 08:01 205 /lib64/libpthread-2.4.so
2aaaab680000-2aaaab684000 rw-p 2aaaab680000 00:00 0
2aaaab684000-2aaaab698000 r-xp 00000000 08:01 316 /lib64/libz.so.1.2.3
2aaaab698000-2aaaab797000 ---p 00014000 08:01 316 /lib64/libz.so.1.2.3
2aaaab797000-2aaaab798000 rw-p 00013000 08:01 316 /lib64/libz.so.1.2.3
2aaaab798000-2aaaab799000 rw-p 2aaaab798000 00:00 0
2aaaab799000-2aaaab7a8000 r-xp 00000000 08:01 515 /lib64/libbz2.so.1.0.0
2aaaab7a8000-2aaaab8a7000 ---p 0000f000 08:01 515 /lib64/libbz2.so.1.0.0
2aaaab8a7000-2aaaab8a9000 rw-p 0000e000 08:01 515 /lib64/libbz2.so.1.0.0
2aaaab8a9000-2aaaab9d0000 r-xp 00000000 08:01 179 /lib64/libc-2.4.so
2aaaab9d0000-2aaaabad0000 ---p 00127000 08:01 179 /lib64/libc-2.4.so
2aaaabad0000-2aaaabad3000 r--p 00127000 08:01 179 /lib64/libc-2.4.so
2aaaabad3000-2aaaabad5000 rw-p 0012a000 08:01 179 /lib64/libc-2.4.so
2aaaabad5000-2aaaabadc000 rw-p 2aaaabad5000 00:00 0
2aaaabadc000-2aaaabae9000 r-xp 00000000 08:01 379 /lib64/libgcc_s.so.1
2aaaabae9000-2aaaabbe8000 ---p 0000d000 08:01 379 /lib64/libgcc_s.so.1
2aaaabbe8000-2aaaabbe9000 rw-p 0000c000 08:01 379 /lib64/libgcc_s.so.1
7ffffffea000-7ffffffff000 rw-p 7ffffffea000 00:00 0 [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso]
Aborted
</CODE>


Thanks in advance;
-sun
 
Old 02-20-2009, 06:54 AM   #2
sunilvadranapu
Member
 
Registered: May 2006
Posts: 64

Original Poster
Rep: Reputation: 15
Thumbs up

HI, i found the solution. On my box rpm, rpm2cpio etc commands were not found. So i copied rpm2cpio and rpm-4.4.2-43.4.x86_64.rpm" and "rpm-devel-4.4.2-43.4.x86_64.rpm from another system of same version(kernel/OS) and extracted the files from the rpms and copied to respective dirs like /bin, /etc/init.d/, /usr/bin,/usr/include/, /usr/lib,/usr/lib64,/usr/sbin,/usr/share, /usr/src,/var/adm,/var/lib/rpm.

Now rpm command is working fine on my box.

Thanks every one.

-SUN
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: **** glibc detected **** nikekul Linux - Newbie 3 05-06-2008 02:01 AM
glibc detected : Invalid Pointer Error DragonM15 Linux - Software 3 06-01-2007 12:43 AM
*** glibc detected *** double free or corruption - ERROR bandwidthjunkie Programming 2 03-19-2007 09:36 AM
Error (IN NEW FORM) : *** glibc detected *** realloc() topworld Programming 6 04-29-2006 08:24 AM
Error::*** glibc detected *** realloc(): topworld Programming 2 04-26-2006 01:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration