Thread: [Opentnl-general] Abnormal Program Termination Error
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark P N. <ne...@cs...> - 2004-05-11 20:43:37
|
Hi, I downloaded OpenTNL, and I have sucessfully compiled all of the included programs, and they work fine. My problem is that when I try to compile an example program, it compiles just fine, but then I get 'abnormal program termination' errors. I am compiling with MSVC.NET 2003. For example, in the 'Hello World' program, the program starts and runs fine untill it hits either of these two lines: theNetInterface->processConnections(); Platform::sleep(1); If I conment them both out, then there is no problem. I don't run into this issue when I compile the example projects. What do you think would cause this problem ? If this isn't the right place to send this message, where is? Mark P Neyer |
From: Mark F. <ma...@ga...> - 2004-05-11 20:58:03
|
Have you tried running in the debugger? Make sure that in your C++ compiler options you enable RTTI - this may be causing the crash. - Mark Mark P Neyer wrote: > Hi, > I downloaded OpenTNL, and I have sucessfully compiled all of the > included programs, and they work fine. My problem is that when I try > to compile an example program, it compiles just fine, but then I get > 'abnormal program termination' errors. I am compiling with MSVC.NET > 2003. For example, in the 'Hello World' program, the program starts > and runs fine untill it hits either of these two lines: > > theNetInterface->processConnections(); > Platform::sleep(1); > > If I conment them both out, then there is no problem. I don't run > into this issue when I compile the example projects. What do you think > would cause this problem ? If this isn't the right place to send this > message, where is? > Mark P Neyer > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general |
From: Mark P N. <Mark@Neyersoftware.com> - 2004-05-12 00:55:58
|
That did it! Thanks for your help. Mark Frohnmayer wrote: > Have you tried running in the debugger? > > Make sure that in your C++ compiler options you enable RTTI - this may > be causing the crash. > > - Mark > > Mark P Neyer wrote: > >> Hi, >> I downloaded OpenTNL, and I have sucessfully compiled all of the >> included programs, and they work fine. My problem is that when I try >> to compile an example program, it compiles just fine, but then I get >> 'abnormal program termination' errors. I am compiling with MSVC.NET >> 2003. For example, in the 'Hello World' program, the program starts >> and runs fine untill it hits either of these two lines: >> >> theNetInterface->processConnections(); >> Platform::sleep(1); >> >> If I conment them both out, then there is no problem. I don't run >> into this issue when I compile the example projects. What do you >> think would cause this problem ? If this isn't the right place to >> send this message, where is? >> Mark P Neyer >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Sleepycat Software >> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to >> deliver >> higher performing products faster, at low TCO. >> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >> _______________________________________________ >> Opentnl-general mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opentnl-general > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |
From: Lucas M. <lu...@ma...> - 2004-05-12 08:38:24
|
Funny, I didn't turn on RTTI on my first try either, but got a compile error using the same compiler. strange, Lucas > That did it! Thanks for your help. > > Mark Frohnmayer wrote: > >> Have you tried running in the debugger? >> >> Make sure that in your C++ compiler options you enable RTTI - this may >> be causing the crash. |
From: Stuart <omi...@mi...> - 2004-05-12 18:34:08
|
On Tuesday, 11 May 2004 22:57, Mark Frohnmayer wrote: > Make sure that in your C++ compiler options you enable RTTI - this may > be causing the crash. Unrelated to this thread, but is RTTI a critical part of OpenTNL? Basically, is there no way to build OpenTNL without RTTI? This is not a major issue for me, I'm just curious about it :-) Cheers, - Stuart |
From: Ben G. <be...@ga...> - 2004-05-12 18:43:45
|
Stuart, Isn't so much RTTI as the ability to dynamic_cast, but yes, you're=20 correct. :) Ben Stuart Bing=EB wrote: >On Tuesday, 11 May 2004 22:57, Mark Frohnmayer wrote: > =20 > >>Make sure that in your C++ compiler options you enable RTTI - this may >>be causing the crash. >> =20 >> > >Unrelated to this thread, but is RTTI a critical part of OpenTNL? Basica= lly,=20 >is there no way to build OpenTNL without RTTI? > >This is not a major issue for me, I'm just curious about it :-) > >Cheers, >- Stuart > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to del= iver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=3Dosdnemail3 >_______________________________________________ >Opentnl-general mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opentnl-general > > > =20 > |
From: Mark F. <ma...@ga...> - 2004-05-12 18:45:52
|
I wouldn't say it's critical - the base TNL uses dynamic_cast in 3 places and it would be possible to work around these. Stuart Bingë wrote: >On Tuesday, 11 May 2004 22:57, Mark Frohnmayer wrote: > > >>Make sure that in your C++ compiler options you enable RTTI - this may >>be causing the crash. >> >> > >Unrelated to this thread, but is RTTI a critical part of OpenTNL? Basically, >is there no way to build OpenTNL without RTTI? > >This is not a major issue for me, I'm just curious about it :-) > >Cheers, >- Stuart > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Opentnl-general mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |