Author Topic: Codecompletions relatively-new crash fixed! :D  (Read 7016 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Codecompletions relatively-new crash fixed! :D
« on: January 30, 2006, 04:38:30 am »
It was something stupid. I had placed the critical sections in the heap (each with one tokens store). IN THEORY this shouldn't be any problem because the usage would keep the critical section in memory, but hey, this is Windows(TM).

I put back the critical section to where it belonged, and voila.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Codecompletions relatively-new crash fixed! :D
« Reply #1 on: January 30, 2006, 01:24:36 pm »
I have my doubts...

Maybe what you had before was a bunch of critical sections and now you're just replacing it by a single one.

Anyway, if that makes the crashes go away... it's good then :)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Codecompletions relatively-new crash fixed! :D
« Reply #2 on: January 30, 2006, 01:40:55 pm »
... and it still deadlocks in the case of an exception being thrown.

I still think that using automatic lockers is a really good idea, it avoids that problem alltogether, and it is faster, too.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Codecompletions relatively-new crash fixed! :D
« Reply #3 on: January 30, 2006, 04:55:39 pm »
exceptions? :( What exceptions?