1. Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Oct 17, 2017
- 2702 views
I'm experiencing a crash during the running of a program. It's a wxEuphoria project.
The dialog pops up after I click a button.
Title: Microsoft C++ Runtime Library Body: Assertion failed! Program: ... File: be_alloc.c Line: 818 Expression: size >= 0
Does anybody know how to fix this?
Thank you!
Edit: I've got a hint that it might have something to do with a proxy server. My program reaches out over the 'net, so when it hits something it doesn't understand, it's apparently crashing. There has to be something I can do about this in my Euphoria code.
2. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Oct 18, 2017
- 2699 views
I'm experiencing a crash during the running of a program. It's a wxEuphoria project.
The dialog pops up after I click a button.
Title: Microsoft C++ Runtime Library Body: Assertion failed! Program: ... File: be_alloc.c Line: 818 Expression: size >= 0
Does anybody know how to fix this?
Thank you!
Edit: I've got a hint that it might have something to do with a proxy server. My program reaches out over the 'net, so when it hits something it doesn't understand, it's apparently crashing. There has to be something I can do about this in my Euphoria code.
Interesting. Can you isolate the code at all to determine which function is throwing the exception? I might be able patch it and get you another custom build.
Edit: looks like it's this call to NewS1() in the interpreter that's crashing. Note the size >= 0 assertion on line 825 which is approximately where your exception is reporting.
So, this may be a Euphoria bug instead. Which version of Euphoria are you using? interpreted? bound? compiled?
BTW, I'm still working on the new version of wxEuphoria. I just haven't committed anything to Github in a while. I'm hoping to have beta release out by the one-year mark.
-Greg
3. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Oct 18, 2017
- 2634 views
Interesting. Can you isolate the code at all to determine which function is throwing the exception? I might be able patch it and get you another custom build.
Edit: looks like it's this call to NewS1() in the interpreter that's crashing. Note the size >= 0 assertion on line 825 which is approximately where your exception is reporting.
So, this may be a Euphoria bug instead. Which version of Euphoria are you using? interpreted? bound? compiled?
BTW, I'm still working on the new version of wxEuphoria. I just haven't committed anything to Github in a while. I'm hoping to have beta release out by the one-year mark.
With that particular error, I haven't been able to pinpoint where it's crashing. I'm not as skilled in that regard as some of you guys!
The weird thing is, it works on MOST of the PCs that run it, but some (recently) are starting to have this problem. I'm wondering if something changed in Windows since the last time I compiled this code.
I can make all the code available to you, if you think that would help, but it would have to be off-site.
Looks like I'm using Euphoria 4.0.5, revision date 2012-10-11.
Should I update?!
4. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Oct 19, 2017
- 2575 views
With that particular error, I haven't been able to pinpoint where it's crashing. I'm not as skilled in that regard as some of you guys!
I think the first step is to see if you can reliably reproduce the problem. Which button press triggers the problem? How are you performing the networking parts? (raw Eu sockets, Eu HTTP, wxNet calls?) There's going to be a point at which your code leaves off an the internals of the interpreter take over, which then crashes. I'd just like to know what the last call in your code is before that happens.
The weird thing is, it works on MOST of the PCs that run it, but some (recently) are starting to have this problem. I'm wondering if something changed in Windows since the last time I compiled this code.
It's entirely possible that the version of the C++ Runtime Library has changed on some of these machines via Automatic Updates. I would cross-check them against each other to eliminate that as a possible cause.
I can make all the code available to you, if you think that would help, but it would have to be off-site.
Let's cross that bridge if we get to it.
Looks like I'm using Euphoria 4.0.5, revision date 2012-10-11.
Should I update?!
I would maybe try using a build of 4.1.0 to see if that helps, but only if you can actively reproduce the problem.
http://openeuphoria.org/news/332.wc
-Greg
5. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Oct 25, 2017
- 2429 views
I would maybe try using a build of 4.1.0 to see if that helps, but only if you can actively reproduce the problem.
Greg, why did you link me to that source for 4.1.0, instead of the downloads tab? (I just don't know what the difference is.)
6. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Oct 26, 2017
- 2447 views
Greg, why did you link me to that source for 4.1.0, instead of the downloads tab? (I just don't know what the difference is.)
Because it claimed to be a recent build of 4.1.0 but after testing it I realized that it's using the same revision id so it's probably the same thing. Just use the version from the Downloads page.
$ /usr/local/euphoria-4.1.0-Linux-x64/bin/eui -v Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed
$ /home/greg/Downloads/ubins-4.1.0-Linux-x64/bin/eui -v Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed
-Greg
7. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Nov 29, 2017
- 2287 views
OK, thanks for the info.
I was using Euphoria v4.0.5 on this older machine, and my current machine (the one to which I'm moving all my code) is running v4.1.0 (2015-02-02). So... we shall see!
Thank you so much for the help, Greg!
8. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Nov 29, 2017
- 2288 views
Dang it! Greg, got this error output after "euc myfile.exw -gcc":
Linking 100% ..\wxFormsManager.exe c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1d0): undefined referen ce to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1db9): undefined refere nce to `_time32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1dc9): undefined refere nce to `_localtime32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x23f2): undefined refere nce to `_time32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x2402): undefined refere nce to `_localtime32' C:/TDM-GCC-32/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: c:/Eu phoria/bin/eu.a(be_runtime.o): bad reloc address 0x4 in section `.data' C:/TDM-GCC-32/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: final link failed: Invalid operation collect2.exe: error: ld returned 1 exit status Unable to link C:\Users\FOADDEV\Programs\wxformsmanager\wxFormsManager\wxFormsMa nager.exe Status: 1 Command: gcc -o C:/Users/FOADDEV/Programs/WXFORM~1/WXFORM~1/wxFormsMan ager.exe init-.o wxFormsManager.o main-.o debug_printing.o datetime.o dll.o err or.o machine.o memory.o types.o get.o io.o text.o convert.o search.o filesys.o m ath.o sequence.o sort.o pretty.o scinot.o wxeud.o console.o map.o eumem.o info.o installing.o filesysx.o diskser.o reg.o msgbox.o icons.o foadman.o http.o socke t.o common.o regex.o dns.o url.o winver.o available_templates.o urlmon.o license _file.o inifile-en.o inifile.o dlla2.o 0ll.o aku.o misc.o 0et.o 0achine.o wildca rd.o 0ort.o zipping.o unzip.o inflate.o huftree.o crc32.o init-0.o c:/Euphoria /bin/eu.a -m32
What have I done?
9. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Nov 30, 2017
- 2287 views
What have I done?
I've run into this. There seems to be a problem with that release of the static library (bin\eu.a) that the compiler is trying to link to.
Try replacing your bin\eu.a file with one from the previous release of 4.1 from here: https://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/
Edit: I think this is a bug in that particular release from February 2015, so a later build should work as well: https://github.com/EuphoriaLanguages/Friendly_Flexible_Fast/tree/OpenEuphoria/
-Greg
10. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Nov 30, 2017
- 2232 views
OK, I tried replacing with a different (later) eu.a, and it didn't work. Not sure what's relevant in the output, so posting it all. This came out:
Linking 100% ..\wxFormsManager.exe init-.o:init-.c:(.text+0x4): undefined reference to `setran' init-.o:init-.c:(.text+0x10): undefined reference to `NewString' init-.o:init-.c:(.text+0x21): undefined reference to `NewString' init-.o:init-.c:(.text+0x32): undefined reference to `NewString' init-.o:init-.c:(.text+0x43): undefined reference to `NewString' init-.o:init-.c:(.text+0x54): undefined reference to `NewString' init-.o:init-.c:(.text+0x65): more undefined references to `NewString' follow init-.o:init-.c:(.text+0xf8b): undefined reference to `NewDouble' init-.o:init-.c:(.text+0xf9e): undefined reference to `NewDouble' init-.o:init-.c:(.text+0xfb1): undefined reference to `NewDouble' init-.o:init-.c:(.text+0xfc4): undefined reference to `NewDouble' init-.o:init-.c:(.text+0xfd7): undefined reference to `NewDouble' init-.o:init-.c:(.text+0xfea): more undefined references to `NewDouble' follow init-.o:init-.c:(.text+0x1ddc): undefined reference to `NewString' init-.o:init-.c:(.text+0x1ded): undefined reference to `NewString' init-.o:init-.c:(.text+0x1dfe): undefined reference to `NewString' init-.o:init-.c:(.text+0x1e0f): undefined reference to `NewString' init-.o:init-.c:(.text+0x1e20): undefined reference to `NewString' init-.o:init-.c:(.text+0x1e31): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x1eaa): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x1ebd): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x1ece): undefined reference to `NewString' init-.o:init-.c:(.text+0x1edf): undefined reference to `NewString' init-.o:init-.c:(.text+0x1ef0): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f01): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f14): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x1f25): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f36): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f47): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f58): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f69): undefined reference to `NewString' init-.o:init-.c:(.text+0x1f7a): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x2125): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x2136): undefined reference to `NewString' init-.o:init-.c:(.text+0x2147): undefined reference to `NewString' init-.o:init-.c:(.text+0x2158): undefined reference to `NewString' init-.o:init-.c:(.text+0x2169): undefined reference to `NewString' init-.o:init-.c:(.text+0x217a): undefined reference to `NewString' init-.o:init-.c:(.text+0x218b): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x21ab): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x21be): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x21d1): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x21e2): undefined reference to `NewString' init-.o:init-.c:(.text+0x21f3): undefined reference to `NewString' init-.o:init-.c:(.text+0x2204): undefined reference to `NewString' init-.o:init-.c:(.text+0x2215): undefined reference to `NewString' init-.o:init-.c:(.text+0x2226): undefined reference to `NewString' init-.o:init-.c:(.text+0x2237): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x3416): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3427): undefined reference to `NewString' init-.o:init-.c:(.text+0x3438): undefined reference to `NewString' init-.o:init-.c:(.text+0x344b): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x345e): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3471): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3484): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3497): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x34aa): more undefined references to `NewDouble' follow init-.o:init-.c:(.text+0x3507): undefined reference to `NewString' init-.o:init-.c:(.text+0x3518): undefined reference to `NewString' init-.o:init-.c:(.text+0x3529): undefined reference to `NewString' init-.o:init-.c:(.text+0x353a): undefined reference to `NewString' init-.o:init-.c:(.text+0x354b): undefined reference to `NewString' init-.o:init-.c:(.text+0x355c): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x374a): undefined reference to `string_ptr' init-.o:init-.c:(.text+0x3753): undefined reference to `decompress' init-.o:init-.c:(.text+0x3764): undefined reference to `NewString' init-.o:init-.c:(.text+0x3775): undefined reference to `NewString' init-.o:init-.c:(.text+0x3786): undefined reference to `NewString' init-.o:init-.c:(.text+0x3797): undefined reference to `NewString' init-.o:init-.c:(.text+0x37a8): undefined reference to `NewString' init-.o:init-.c:(.text+0x37b9): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x3854): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3865): undefined reference to `NewString' init-.o:init-.c:(.text+0x3876): undefined reference to `NewString' init-.o:init-.c:(.text+0x3887): undefined reference to `NewString' init-.o:init-.c:(.text+0x3898): undefined reference to `NewString' init-.o:init-.c:(.text+0x38a9): undefined reference to `NewString' init-.o:init-.c:(.text+0x38ba): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x3922): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3933): undefined reference to `NewString' init-.o:init-.c:(.text+0x3944): undefined reference to `NewString' init-.o:init-.c:(.text+0x3955): undefined reference to `NewString' init-.o:init-.c:(.text+0x3966): undefined reference to `NewString' init-.o:init-.c:(.text+0x3977): undefined reference to `NewString' init-.o:init-.c:(.text+0x3988): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x3d0f): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x3d20): undefined reference to `NewString' init-.o:init-.c:(.text+0x3d31): undefined reference to `NewString' init-.o:init-.c:(.text+0x3d42): undefined reference to `NewString' init-.o:init-.c:(.text+0x3d53): undefined reference to `NewString' init-.o:init-.c:(.text+0x3d64): undefined reference to `NewString' init-.o:init-.c:(.text+0x3d75): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x46e5): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x46f8): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x470b): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x471e): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x4731): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x4742): undefined reference to `NewString' init-.o:init-.c:(.text+0x4753): undefined reference to `NewString' init-.o:init-.c:(.text+0x4764): undefined reference to `NewString' init-.o:init-.c:(.text+0x4775): undefined reference to `NewString' init-.o:init-.c:(.text+0x4786): undefined reference to `NewString' init-.o:init-.c:(.text+0x4797): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x51e3): undefined reference to `string_ptr' init-.o:init-.c:(.text+0x51ec): undefined reference to `decompress' init-.o:init-.c:(.text+0x51fe): undefined reference to `string_ptr' init-.o:init-.c:(.text+0x5207): undefined reference to `decompress' init-.o:init-.c:(.text+0x521a): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x522b): undefined reference to `NewString' init-.o:init-.c:(.text+0x523c): undefined reference to `NewString' init-.o:init-.c:(.text+0x524d): undefined reference to `NewString' init-.o:init-.c:(.text+0x525e): undefined reference to `NewString' init-.o:init-.c:(.text+0x526f): undefined reference to `NewString' init-.o:init-.c:(.text+0x5280): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x5391): undefined reference to `string_ptr' init-.o:init-.c:(.text+0x539a): undefined reference to `decompress' init-.o:init-.c:(.text+0x53ab): undefined reference to `NewString' init-.o:init-.c:(.text+0x53bc): undefined reference to `NewString' init-.o:init-.c:(.text+0x53cd): undefined reference to `NewString' init-.o:init-.c:(.text+0x53e0): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x53f3): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x5405): undefined reference to `string_ptr' init-.o:init-.c:(.text+0x540e): undefined reference to `decompress' init-.o:init-.c:(.text+0x541f): undefined reference to `NewString' init-.o:init-.c:(.text+0x5430): undefined reference to `NewString' init-.o:init-.c:(.text+0x5441): undefined reference to `NewString' init-.o:init-.c:(.text+0x5452): undefined reference to `NewString' init-.o:init-.c:(.text+0x5463): undefined reference to `NewString' init-.o:init-.c:(.text+0x5474): more undefined references to `NewString' follow init-.o:init-.c:(.text+0x554f): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x5562): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x5573): undefined reference to `NewString' init-.o:init-.c:(.text+0x5584): undefined reference to `NewString' init-.o:init-.c:(.text+0x5595): undefined reference to `NewString' init-.o:init-.c:(.text+0x55a8): undefined reference to `NewDouble' init-.o:init-.c:(.text+0x55b9): undefined reference to `NewString' init-.o:init-.c:(.text+0x55ca): undefined reference to `NewString' init-.o:init-.c:(.text+0x55db): undefined reference to `NewString' init-.o:init-.c:(.text+0x55ec): undefined reference to `NewString' init-.o:init-.c:(.text+0x55fd): undefined reference to `NewString' init-.o:init-.c:(.text+0x560e): more undefined references to `NewString' follow C:/TDM-GCC-32/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: init- .o: bad reloc address 0x0 in section `.data' C:/TDM-GCC-32/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: final link failed: Invalid operation collect2.exe: error: ld returned 1 exit status Unable to link C:\Users\FOADDEV\Programs\wxformsmanager\wxFormsManager\wxFormsMa nager.exe Status: 1 Command: gcc -o C:/Users/FOADDEV/Programs/WXFORM~1/WXFORM~1/wxFormsMan ager.exe init-.o wxFormsManager.o main-.o debug_printing.o datetime.o dll.o err or.o machine.o memory.o types.o get.o io.o text.o convert.o search.o filesys.o m ath.o sequence.o sort.o pretty.o scinot.o wxeud.o console.o map.o eumem.o info.o installing.o filesysx.o diskser.o reg.o msgbox.o icons.o foadman.o http.o socke t.o common.o regex.o dns.o url.o winver.o available_templates.o urlmon.o license _file.o inifile-en.o inifile.o dlla2.o 0ll.o aku.o misc.o 0et.o 0achine.o wildca rd.o 0ort.o zipping.o unzip.o inflate.o huftree.o crc32.o init-0.o c:/Euphoria /bin/eu.a -m32
11. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Nov 30, 2017
- 2231 views
OK, I tried replacing with a different (later) eu.a, and it didn't work. Not sure what's relevant in the output, so posting it all. This came out:
Wow, yeah, that made the problem worse. Try the one from February 2014 that I posted. I am running MinGW-4.8.1.
This is what I have on my machine. TBH I'm not sure where I got this version from. It was in a folder named "12-01-2014".
Name | Last modified |
---|---|
eu.a | 5/27/2014 10:09 AM |
eu.a.bak | 5/20/2015 7:55 AM |
euc.exe | 5/20/2015 7:55 AM |
gcc.exe | 10/5/2013 1:17 PM |
Pro tip: you can specify a translator library with the -lib parameter, e.g. euc.exe -lib C:\Euphoria\bin\eu-2014.a program.ex
-Greg
12. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Nov 30, 2017
- 2244 views
Try the one from February 2014 that I posted. I am running MinGW-4.8.1.
When you say that, do you mean try just the eu.a file from that package, or do you mean the entire install package?
Using just the eu.a file from that, I get the same error of
Linking 100% ..\wxFormsManager.exe init-.o:init-.c:(.text+0x4): undefined reference to `setran' init-.o:init-.c:(.text+0x10): undefined reference to `NewString' ...
13. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Nov 30, 2017
- 2211 views
I am running MinGW-4.8.1.
I am doing euc myapp.exw -gcc with the following:
C:\Users\FOADDEV\Programs\wxformsmanager\wxFormsManager>gcc --version gcc (tdm-1) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Do I need to change anything?
14. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Dec 01, 2017
- 2182 views
When you say that, do you mean try just the eu.a file from that package, or do you mean the entire install package?
Yeah I meant just grab the eu.a file from that package.
I am doing euc myapp.exw -gcc with the following:
gcc (tdm-1) 4.9.2
Do I need to change anything?
I don't think so. But when you start mixing various versions of compilers things can get hairy.
Maybe try using a complete newer build of 4.1 then? Either a later eubins or this release.
-Greg
15. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Dec 04, 2017
- 2125 views
Well, I did a complete refresh install of Euphoria from downloads using Windows 32-bit, and I'm getting the following error (below) when trying to compile. This was not happening with 4.0.5. I have no idea what to do about this.
I'd really like to upgrade my apps to utilize Eu4.x! Halp Thank you!
Linking 100% ..\wxFormsManager.exe c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1d0): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1db9): undefined reference to `_time32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1dc9): undefined reference to `_localtime32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x23f2): undefined reference to `_time32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x2402): undefined reference to `_localtime32' c:/Euphoria/bin/eu.a(be_machine.o):be_machine.c:(.text+0x94): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_w.o):be_w.c:(.text+0xbc3): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_w.o):be_w.c:(.text+0xbe4): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_callc.o):be_callc.c:(.text.unlikely+0x24): undefined reference to `__ms_vsnprintf' collect2: ld returned 1 exit status Unable to link C:\Users\Owner\My Programs\_FOAD Programs\wxFormsManager\wxFormsManager\wxFormsManager.exe Status: 1 Command: gcc -o C:/Users/Owner/MYPROG~1/_FOADP~1/WXFORM~1/WXFORM~1/wxFormsManager.exe init-.o wxFormsManager.o main-.o debug_printing.o datetime.o dll.o error.o machine.o memory.o types.o get.o io.o text.o convert.o search.o filesys.o math.o sequence.o sort.o pretty.o scinot.o wxeud.o console.o map.o eumem.o info.o installing.o filesysx.o diskser.o reg.o msgbox.o icons.o foadman.o http.o socket.o common.o regex.o dns.o url.o winver.o available_templates.o urlmon.o license_file.o inifile-en.o inifile.o dlla2.o 0ll.o aku.o misc.o 0et.o 0achine.o wildcard.o 0ort.o zipping.o unzip.o inflate.o huftree.o crc32.o init-0.o c:/Euphoria/bin/eu.a -m32
16. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by ghaberek (admin) Dec 04, 2017
- 2151 views
Well, I did a complete refresh install of Euphoria from downloads using Windows 32-bit, and I'm getting the following error (below) when trying to compile. This was not happening with 4.0.5. I have no idea what to do about this.
I'd really like to upgrade my apps to utilize Eu4.x! Halp Thank you!
Linking 100% ..\wxFormsManager.exe c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1d0): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1db9): undefined reference to `_time32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x1dc9): undefined reference to `_localtime32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x23f2): undefined reference to `_time32' c:/Euphoria/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x2402): undefined reference to `_localtime32' c:/Euphoria/bin/eu.a(be_machine.o):be_machine.c:(.text+0x94): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_w.o):be_w.c:(.text+0xbc3): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_w.o):be_w.c:(.text+0xbe4): undefined reference to `__ms_vsnprintf' c:/Euphoria/bin/eu.a(be_callc.o):be_callc.c:(.text.unlikely+0x24): undefined reference to `__ms_vsnprintf' collect2: ld returned 1 exit status Unable to link C:\Users\Owner\My Programs\_FOAD Programs\wxFormsManager\wxFormsManager\wxFormsManager.exe Status: 1 Command: gcc -o C:/Users/Owner/MYPROG~1/_FOADP~1/WXFORM~1/WXFORM~1/wxFormsManager.exe init-.o wxFormsManager.o main-.o debug_printing.o datetime.o dll.o error.o machine.o memory.o types.o get.o io.o text.o convert.o search.o filesys.o math.o sequence.o sort.o pretty.o scinot.o wxeud.o console.o map.o eumem.o info.o installing.o filesysx.o diskser.o reg.o msgbox.o icons.o foadman.o http.o socket.o common.o regex.o dns.o url.o winver.o available_templates.o urlmon.o license_file.o inifile-en.o inifile.o dlla2.o 0ll.o aku.o misc.o 0et.o 0achine.o wildcard.o 0ort.o zipping.o unzip.o inflate.o huftree.o crc32.o init-0.o c:/Euphoria/bin/eu.a -m32
Hmm. What version of TDM-GCC did you install? Everything thing seems to be working for irv over in this thread.
Maybe you two should compare notes?
-Greg
17. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by irv Dec 04, 2017
- 2107 views
See the previous posting with all the "undefined reference to "NewString" stuff?
I got that when I accidentally tried euc -arch x86 hello Just not thinking, and added the -arch x86 part.
Plain ole euc hello works fine, as does compiling the EuGTK demos: euc test(n)
18. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Dec 04, 2017
- 2106 views
See the previous posting with all the "undefined reference to "NewString" stuff?
In this thread or elsewhere?
I got that when I accidentally tried euc -arch x86 hello Just not thinking, and added the -arch x86 part.
Plain ole euc hello works fine, as does compiling the EuGTK demos: euc test(n)
Both "euc myapp.exw" and "euc myapp.exw -gcc" fail for me (and they both use GCC anyway).
Not sure where to go from here.
19. Re: Assertion failed! Microsoft C++ Runtime Library
- Posted by euphoric (admin) Dec 04, 2017
- 2098 views
Hmm. What version of TDM-GCC did you install? Everything thing seems to be working for irv over in this thread.
OK, so on my old dev PC, I didn't have TDM-GCC. I had GCC:
C:\Users\Owner\My Programs\_FOAD Programs\wxFormsManager\wxFormsManager>gcc --ve rsion gcc (GCC) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So, I'm installing TDM-GCC now. CROSSING FINGERS!