473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

What's the reason of error ""*** glibc detected *** munmap_chunk(): invalid pointer"

I have a C++ package which works very well in the 32-bit Linux-like
OS. However, it will lead to a "*** glibc detected *** ./ex2:
munmap_chunk(): invalid pointer" in 64-bit (Fedora 7-64), when it
delete a object generated by new operator. I really do not known
why?
And I need your help. Please tell me why and when this error should
happen? So that I can fix my problem. :)

Oct 15 '07 #1
3 18703
Renzr wrote:
I have a C++ package which works very well in the 32-bit Linux-like
OS. However, it will lead to a "*** glibc detected *** ./ex2:
munmap_chunk(): invalid pointer" in 64-bit (Fedora 7-64), when it
delete a object generated by new operator. I really do not known
why?
Me neither - mostly because I do not have access to your code.
Have you tried searching the net for that error?
And I need your help. Please tell me why and when this error should
happen? So that I can fix my problem. :)
Does
http://groups.google.com/group/comp....05430519af9b7d
help?
Oct 15 '07 #2
On 10 15 , 11 14 , anon <a...@no.nowrote:
Me neither - mostly because I do not have access to your code.
Have you tried searching the net for that error?
Sorry, I have did the google but the explicit reason is inavaiable.:)
A friend has told me this may be caused by heap error. And I am fixing
it by Valgrind tool. Very thanks for your reply.

Oct 15 '07 #3
On 10 15 , 11 14 , anon <a...@no.nowrote:
Renzr wrote:
I have a C++ package which works very well in the 32-bit Linux-like
OS. However, it will lead to a "*** glibc detected *** ./ex2:
munmap_chunk(): invalid pointer" in 64-bit (Fedora 7-64), when it
delete a object generated by new operator. I really do not known
why?

Me neither - mostly because I do not have access to your code.
Have you tried searching the net for that error?
And I need your help. Please tell me why and when this error should
happen? So that I can fix my problem. :)

Doeshttp://groups.google.com/group/comp.lang.c++.moderated/browse_thread/...
help?
:), Thanks for your reply. I am trying the Valgrind tool to memcheck.
Maybe it is a heap error.:)

Oct 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rob | last post by:
Hi I am getting the error *** glibc detected *** free(): invalid pointer: 0x083e20cc *** Aborted When I run the code <?php
32
by: Clunixchit | last post by:
How can i read lines of a file and place each line read in an array? for exemple; array=line1 array=line2 ...
3
by: Paminu | last post by:
I get this error after running my application for some time. What does it mean and what should I be looking for in my code?
2
by: zl2k | last post by:
hi, I have one program runs fine on my i386 linux box but get the "glibc detected *** corrupted double-linked list" error on the x86_64 linux box. Please help me to figure out if it is my...
1
by: mahiapkum | last post by:
hello all i have a code which looks fine when reviewed but when the application has a long run say for example of 2 days it gets exit, because of glibc error and the sample code is as follows: while...
0
by: shrik | last post by:
I have following error : Total giant files in replay configuration file are : File name : /new_file/prob1.rec Given file /new_file/prob1.rec is successfully verified. Splitting for giant file...
4
by: shrik | last post by:
I have following error : Total giant files in replay configuration file are : File name : /new_file/prob1.rec Given file /new_file/prob1.rec is successfully verified. Splitting for giant file...
1
by: shiznit | last post by:
I made a program that finds a minimum spanning tree. In my main I created kruskal k; and called k.findMST(); void kruskal :: findMST(){
1
by: itxharsh | last post by:
/* While running the program a runtime error occurs."glibc detected" followed by a lot of memory address/instruction errors. Please help rectify this error.*/ /*Header file:"nonpreemptive.h" is as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.