PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > What's the reason of error ""*** glibc detected *** munmap_chunk(): invalid pointer"
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
What's the reason of error ""*** glibc detected *** munmap_chunk(): invalid pointer"

Réponse
 
LinkBack Outils de la discussion
Vieux 15/10/2007, 15h42   #1 (permalink)
Renzr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 . Please tell me why and when this error should
happen? So that I can fix my problem.

  Réponse avec citation
Vieux 15/10/2007, 16h14   #2 (permalink)
anon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: What's the reason of error ""*** glibc detected *** munmap_chunk():invalid pointer"

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 . 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
?
  Réponse avec citation
Vieux 15/10/2007, 16h35   #3 (permalink)
Renzr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: What's the reason of error ""*** glibc detected *** munmap_chunk(): invalid pointer"

On 10 15 , 11 14 , anon <a...@no.no> wrote:
> 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.



  Réponse avec citation
Vieux 15/10/2007, 20h07   #4 (permalink)
Renzr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: What's the reason of error ""*** glibc detected *** munmap_chunk(): invalid pointer"

On 10 15 , 11 14 , anon <a...@no.no> wrote:
> 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 . 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/...
> ?


, Thanks for your reply. I am trying the Valgrind tool to memcheck.
Maybe it is a heap error.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h32.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10356 seconds with 12 queries