Logog crashes in multi threaded app in debug build

56 views
Skip to first unread message

roxlu

unread,
Jun 25, 2015, 4:40:04 AM6/25/15
to lo...@googlegroups.com
Hi,

I'm using logog in an app with multiple threads.
When running the debug build (and debug logog lib, linked with /MDd) it's crashing 
for no apparent reason. The backtrace which visual studio gives me is: 

I couldn't get source code info into there so I don't know on what line logog crashes.

Any ideas?

Thanks
r

John Byrd

unread,
Jun 26, 2015, 2:34:23 AM6/26/15
to lo...@googlegroups.com
It seems to me that Allocate() may think you're out of memory. How
you managed to run out of memory in a 64-bit application is quite
unclear to me. It seems more likely that the heap has been corrupted.

It's possible to override logog's memory allocation routines with a
custom allocator. This would allow you to trap out of memory
conditions without using exception handlers, if you're allergic to
them.
> --
> You received this message because you are subscribed to the Google Groups
> "Logog" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to logog+un...@googlegroups.com.
> To post to this group, send email to lo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/logog.
> For more options, visit https://groups.google.com/d/optout.



--
---

John Byrd
Gigantic Software
2102 Business Center Drive
Suite 210-D
Irvine, CA 92612-1001
http://www.giganticsoftware.com
T: (949) 892-3526 F: (206) 309-0850
Reply all
Reply to author
Forward
0 new messages