New topic: IDE Crashes during Run Debug
<http://forums.realsoftware.com/viewtopic.php?t=47781> Page 1 of 1 [ 5 posts ] Previous topic | Next topic Author Message willgonz Post subject: IDE Crashes during Run DebugPosted: Fri May 03, 2013 4:21 pm Joined: Thu May 13, 2010 7:27 pm Posts: 337 RealStudio 2012 R2.1 Windows XP SP3 All Plugins Removed. I take any application either written by me or from the Examples section. I can run it once. When I run it again I get a: Application popup: Real Studio - [DialogsExample]: Real Studio.exe - Application Error : The instruction at "0x7c911129" referenced memory at "0x12f9df9d". The memory could not be "read". When I debug it, it says it is happening in the HeapFree section. Any ideas on how to fix this? Thanks Top npalardy Post subject: Re: IDE Crashes during Run DebugPosted: Fri May 03, 2013 5:01 pm Real Software Engineer Joined: Sat Dec 24, 2005 8:18 pm Posts: 7821 Location: Canada, Alberta, Near Red Deer HeapFree ? Thats in the OS process management where it tears down the running app (I think) How much memory has this machine got ? I'm only running XP SP2 in a VM and I'm not getting this error so I'm at a bit of a disadvantage _________________ Norman Palardy (Real Software) Top willgonz Post subject: Re: IDE Crashes during Run DebugPosted: Fri May 03, 2013 5:10 pm Joined: Thu May 13, 2010 7:27 pm Posts: 337 I have 3 Gigs of Ram. Here is what the Debugger says: /*** *free.c - free an entry in the heap * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Defines the following functions: * free() - free a memory block in the heap * *******************************************************************************/ #include <cruntime.h> #include <malloc.h> #include <winheap.h> #include <windows.h> #include <internal.h> #include <mtdll.h> #include <dbgint.h> #include <rtcsup.h> /*** *void free(pblock) - free a block in the heap * *Purpose: * Free a memory block in the heap. * * Special ANSI Requirements: * * (1) free(NULL) is benign. * *Entry: * void *pblock - pointer to a memory block in the heap * *Return: * <void> * *******************************************************************************/ void __cdecl _free_base (void * pBlock) { int retval = 0; if (pBlock == NULL) return; RTCCALLBACK(_RTC_Free_hook, (pBlock, 0)); retval = HeapFree(_crtheap, 0, pBlock); Crash is here ---> if (retval == 0) { errno = _get_errno_from_oserr(GetLastError()); } } Top William Yu Post subject: Re: IDE Crashes during Run DebugPosted: Mon May 06, 2013 9:45 am Real Software Engineer Joined: Fri Sep 30, 2005 8:28 am Posts: 241 Location: Unfortunately not Canada This may be related to a bug we discovered late in 2012r2.1 cycle that affected debugging. It could also be that we're eating up too much memory. If you're running on a 64-bit machine (doesn't matter if you're running 32-bit XP), you can enable PAE http://msdn.microsoft.com/en-us/library/windows/desktop/aa366796(v=vs.85).aspx Otherwise if it's that bug we discovered too late, then you will have to wait until 2013r1 to see that fixed. However, since that bug only affects debugging you could always build and run instead as a sad workaround. Top willgonz Post subject: Re: IDE Crashes during Run DebugPosted: Mon May 06, 2013 11:23 am Joined: Thu May 13, 2010 7:27 pm Posts: 337 It is running on a 64-Bit machine but Windows XP 32-Bit. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 5 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
