Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

CppUnit! AccessViolation on AutoRegisterSuite! Help
Grettings

I've been using CppUnit for 7 months and all was going very well! I've
reached more or less 130 text fixtures! One day I included a new unit to
my project (in Borland C++ Builder 5, cppunit was compiled under Borland
C++ Free Compiler) and I couln't run my tests any more!

I have an access violation and It's origin is in (99% sure of this)
AutoRegisterSuite!

Facts:

1) The AccessViolation appears even before the instruction pointer
reaches the WinMain function!
I've read on the docs that AutoRegisterSuite operates
with static variables! In C++ static variables are allocated before
program execution!

2) The stack trace is:

operator delete
basic_string<char, std::char_traits<char>, std::allocator<char>
>::__unLink(this)
std::basic_string<char, std::char_traits<char>,
std::allocator<char>>::~basic_string<char, std::char_traits<char>,
std::allocator<char> >
CppUnit::AutoRegisterSuite<MyTestFixture>::AutoRegisterSuite<MyTestFixture>
_STCON0_


3) The IDE shows me this line on memory.stl:
void deallocate(pointer p, size_type)
{
::operator delete(p); //<--- Error line where
}

4) this seams closelly related with bug #825717


I've reassembled the project! I've tryed to debug as far as I can! But
nothing!

I can't live anymore without my tests :o(! Please Help me

thanks

dex

Report this thread to moderator Post Follow-up to this message
Old Post
dexter
09-21-04 08:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Extreme Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:20 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.