Author Topic: Memory Access Violation  (Read 5890 times)

Offline mb@bs

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 5
  • BeerSmith 2 Rocks!
Memory Access Violation
« on: November 29, 2013, 10:38:47 PM »



Saved recipe, then on the design tab I double clicked one of the ingredients.  Only happened once and wasn't able to reproduce it after.

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5568
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Memory Access Violation
« Reply #1 on: November 30, 2013, 09:12:21 AM »
Thanks
 If you find any other details or are able to duplicate it please let me know.  Also which version of OS are you running (Windows, Mac,  Linux and version)?

Brad

Get a free trial of BeerSmith 3 here

Offline mb@bs

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 5
  • BeerSmith 2 Rocks!
Re: Memory Access Violation
« Reply #2 on: November 30, 2013, 11:17:19 AM »
Thanks
 If you find any other details or are able to duplicate it please let me know.  Also which version of OS are you running (Windows, Mac,  Linux and version)?

Brad

Sorry, I should have mentioned those details.  Windows 7 Ultimate, Service Pack 1, all updates current.  BeerSmith 2.2 Trial Version, downloaded yesterday.

Windows Application Log for what it's worth:

Faulting application name: BeerSmith2.exe, version: 0.0.0.0, time stamp: 0x5298c121
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0x8148
Faulting application start time: 0x01ceed896c693620
Faulting application path: C:\Program Files (x86)\BeerSmith2\BeerSmith2.exe
Faulting module path: unknown
Report Id: af12d5e0-5980-11e3-80d2-415645000030


Offline Toy4Rick

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 285
  • BeerSmith 2 Rocks!
Re: Memory Access Violation
« Reply #3 on: December 01, 2013, 02:13:12 PM »
I just received the same error.

Windows 8, all patched.  BS 2.2.10 installed this morning

I had about 12 tabs open and was closing each one using the touchpad/mouse and when they were all closed except for the current recipe and the default recipe and brew log folder, there it popped up

« Last Edit: December 01, 2013, 02:17:03 PM by Toy4Rick »

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5568
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Memory Access Violation
« Reply #4 on: December 01, 2013, 03:13:58 PM »
Thanks,
  I'm trying to get this to happen in the debugger but no joy so far...I'll keep trying.  From the error message it is trying to access a piece of memory it should not but unfortunately I don't have a stack trace to figure out where it is going.

  If you get any more information please pass it along.  I'll continue to work it here as well.

Brad
Get a free trial of BeerSmith 3 here

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5568
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Memory Access Violation
« Reply #5 on: December 02, 2013, 06:33:30 AM »
Made some progress on this today - I may have found the source of the crash.  I'm working on a fix and will post a link later today here on a version for you to try out.

It appears it is trying to access some information from a closed view (for certain commands, and certain views), resulting in the error.  I hope to have a fix here later today.

Brad
Get a free trial of BeerSmith 3 here

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5568
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Memory Access Violation
« Reply #6 on: December 02, 2013, 08:15:47 PM »
Posted a "potential" fix candidate here.  Let me know how it goes as I may publish it with some other changes later this week.

   https://s3.amazonaws.com/BeerSmith2-2/BeerSmith2_2_11.exe

Brad
« Last Edit: December 03, 2013, 03:45:02 PM by BeerSmith »
Get a free trial of BeerSmith 3 here