Home » Developing U++ » U++ Developers corner » MSC15 and 2014 sources - problem with Stream
Re: MSC15 and 2014 sources - problem with Stream [message #46753 is a reply to message #46750] |
Tue, 26 July 2016 10:33 |
NilaT
Messages: 70 Registered: November 2011 Location: Austria
|
Member |
|
|
Well, it seems like there are more and more problems coming up with MSC15, this time with 2010 sources (in another project).
A simple Format("%s %d", "bla", 1); results in a crash in optimal mode, debug works fine though.
Exception: C0000005 at 150C170
EXCEPTION_ACCESS_VIOLATION
reading at 0000001C
Callstack is in the picture.
Thanks for help.
//edit: Same fix seems to work. I changed Single to:
template <class T>
T& Single() {
#ifndef flagMSC15
static T *p;
ONCELOCK {
static T o;
p = &o;
}
return *p;
#else
static T x;
return x;
#endif
}
-
Attachment: crash.png
(Size: 149.59KB, Downloaded 247 times)
[Updated on: Tue, 26 July 2016 11:33] Report message to a moderator
|
|
|
|
|
MSC15 and 2014 sources - problem with Stream
By: NilaT on Fri, 22 July 2016 08:26
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: mirek on Fri, 22 July 2016 10:15
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: NilaT on Fri, 22 July 2016 10:23
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: mirek on Fri, 22 July 2016 11:18
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: NilaT on Fri, 22 July 2016 11:51
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: mirek on Fri, 22 July 2016 15:57
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: mirek on Fri, 22 July 2016 16:00
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: NilaT on Mon, 25 July 2016 09:13
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: mirek on Mon, 25 July 2016 15:50
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: NilaT on Tue, 26 July 2016 10:33
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: mirek on Wed, 27 July 2016 06:29
|
|
|
Re: MSC15 and 2014 sources - problem with Stream
By: NilaT on Wed, 27 July 2016 08:38
|
Goto Forum:
Current Time: Fri Jun 14 09:08:28 CEST 2024
Total time taken to generate the page: 0.02107 seconds
|