Menu

The distributed test prg crashes

2004-11-29
2013-05-20
  • Jorgen Bodde

    Jorgen Bodde - 2004-11-29

    Hi, I recently downloaded TinyXML and I was pleased it would compile without any problems, thanks for that :-)

    Anyway, these are the exact steps that lead to a crashing test app. I am wondering if it is a problem with my environment or not:

    1) Downloaded latest TinyXML
    2) Opened the project file
    3) Selected Tiny XML builds in "Batch Build", all but STL
    so I selected normal Debug, Release for tinyxml and the sample
    4) I ran the sample, console window opens, but somewhere when it's printing it crashes with a XP notification (e.g. the "Don't send message")

    I am running: Win XP Home, VS7.NET

    Thanks if someone can shine any light on this.

    - Jorgen

     
    • jfath

      jfath - 2005-01-20

      Same problem here.

      It crashes in the UTF-8 tests at this line:
      XmlTest( "UTF-8: Russian value.", correctValue, element->Attribute( "value" ), true );

      It's the 'element->Attribute( "value" )' call that faults.

      I'm running 2.3.2 on XP Pro SP2 and compiling with VC6.  All versions (debug, release, STL, noSTL) crash.  Oddly, if I debug from inside the IDE, it does not crash, but executing from outside the IDE always crashes.

      Am I missing something or is this a known problem?  Any suggestions?

      Thanks.

      Jerry

       
    • Lee Thomason

      Lee Thomason - 2005-01-26

      I'll look at this within the next 2 weeks. That's very very strange.

      thanks,
      lee

       
    • Lee Thomason

      Lee Thomason - 2005-01-30

      Nice info! Thanks both - the running it outside of the IDE was the critical point. I get the crash as well in VC 7.1. I'm looking into it now.

      lee

       
    • Lee Thomason

      Lee Thomason - 2005-01-30

      Ack. Trivial error, oddly expressed. The test program isn't checking error code returns from loading a file.

      When running from the command line, the paths to the XML file are different. If you are in the "tinyxml" directory, the following will work fine:

      .\tinyXmlTest___Win32_Debug\tinyXmlTest.exe

      I'll change the test program to print warnings that files weren't found, rather than crash. Thanks again!

      lee

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.