This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
hash_map
- To: gcc-help at gcc dot gnu dot org
- Subject: hash_map
- From: thomas dot porschberg at osp-dd dot de
- Date: Thu, 11 Oct 2001 18:38:15 +0200
I have a problem in conjunction with hash_map from stdc++ library.
I wrote a class with multiple containers of type hash_map.
If I declare only one container more of this type in my class now:
"std::hash_map<const char*, char** ,std::hash<const char*>, eqstr> AddStringRecords;"
I will get a segmenation fault on a simple fclose function.
If I comment out the declaration in the header file all works fine again.
I think this is a program error of myself, but how can I catch this error?
I use ddd for debugging and I can go to this fclose function every time, but I have
no idea for solving this problem.
sorry in advance for this (may be) stupid question.
--
I found some dead inodes in your brain.
Please run humbrfsck manually to repair your head.