I'm using Eclipse and I made a program that reads ID3 tags. The problem is that each time I run it, it stops in this line:

TagFrame * tmpFrame=new TagFrame(frameID,header.getFilename(),stream);
frames.push_back(tmpFrame); //This line!!!

Where the variable 'frames' is a std::list<TagFrame*>. This block of code is beeing called from a function placed in a class(HeaderStream). When I debugged the program it gived me this stack:

_fu6___ZNSs4_Rep20_S_empty_rep_storageE() at HeaderStream.cpp:63 0x401c77

... and gived me this warning:

Invalid parameter passed to C runtime function.

However, sometimes, when I debug my program, it works fine. Where could be the problem? Is it a compiler problem or windows?

Recommended Answers

All 2 Replies

What compiler are you using?


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.