Error when going live with the patching


#1

hi, i did mention this in another post, now i am at home i got a problem going live with whatever tutorial or demo program or somethin i patch my own:

i will paste the red error message, i got no clue what this could be, maybe someone already had an issue like that:

! C:\Users\xxxxx\DOCUME~1\axoloti/build/xpatch.h.gch
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:190: MapViewOfFileEx: Attempt to access invalid address.

Did I delete a file , not on purpose.

Next thing maybe i reinstall the whole software and flash the st32 on the board...

Help appreciated :smile: thanks


#2

looks like you have some how corrupted the mingw install that is included with axoloti... or perhaps its using a different version, that is somehow incompatible.
cant remember if mingw is part of axoloti_runtime or axoloti installed @johannes can confirm


#3

hm ok, flashing did nothing, i just uninstall the patcher software, download it again and reinstall it, and update here if it worked


#4

yeah, I think its actually the axoloti_runtime that is corrupted... so delete that and install that again too.


#5

internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:190: MapViewOfFileEx: Attempt to access invalid address.

make: *** [C:\Users\xxxxxx\DOCUME~1\axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 1

shit, sorry for swearing but when uninstall and delete does not work anymore i am kind of confused :smiley:

Did delete it and did reinstall everything, but that did not quite do the trick, well im off playing basketball now, tomorrow i simply try it on my other pc, but just htat you know I had this running perfectly with the same configuration like 2 month ago.

I am a bit sad now, but glady i got real sintruments too, which work without electronics :smile:

If you got any more ideas feel free to post, Ill soak them up like a sponge.

Bye for now.


#6

did you reinstall the runtime?

other than that no ideas.. I'm not really a windows users... and certainly never use mingw
think @johannes will have to jump in on this.


#7

Good morning.

I did delete the axoloti and the acoloti_runtime folders ( or did uninstall the software) form my program folders.

Then unpackaged the runtime again..

I might have a clue, sinc eI didnt change anything since 2 month ( remember back then it all worked out of the box) but windows did probably some updates and it also informed me during delete process andthe new unzip that i need admin rights, which I probably some day had , but now with some new windows shenenigangs in their updates I think they did stop any user from just being admin.

So tonight I am going to try to install in another partition of my harddrive and hope axoloti can deal with it.

This is kind of annoying, but of course has nothing to do with anything but microsoft.


#8

Same error for me ...suddenly yesterday everything was working fine
nternal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:190: MapViewOfFileEx: Es wurde versucht, auf eine unzulässige Adresse zuzugreifen.

can not load any patch....


#9

i dont think u can install somewhere else than C


#10

@mexakin & @philoop
can you please tell us :

  • Windows version , including any service pack installed
  • anything that has changed since it was working

@philoop given you had it working yesterday, I think its probably easiest for you to determine what has changed.

basically we use MinGW (http://www.mingw.org) to provide a unix type environment on windows to do the compiling,
it looks like this is now crashing... but its unclear why this should suddenly stop working.... assuming you have not change anything on your axoloti setup (e.g. runtime directory) then I cant see this changing/corrupting

my guess.. and it is random, is its some kind of software or update you have installed... new windows update, new version of java?

Note: this step has nothing to do with the axoloti hardware.... its only the compiling which we use tools that are in common use, so its a bit odd that two of you have the issue.

Im going to raise it with @johannes perhaps he may have seen something like it.

@philoop, axoloti can be installed on other drivers, BUT then you have to be careful to change the file locations in axoloti preferences, so I would NOT recommend it, unless you have to.


#11

Hi, ok for me it seemed like windows problem too, of course there is nothing wrong with the axoloti hardware.

I got no time right now to play around with other install paths and dont know anything about java and the software and toolbox behind the axoloti pc software, i am more into embedded hardware and c programming, i am actually pretty much an expert in that😃

But i will reply here probably on sunday when i got a bit more time with the board again.

Thanks and cheers


#12

yes Technobear I updated Java.(i think so i got 3 pcs so im not really sure but i think so)
...so what to do now?
i downgraded java to 8 45 still not working......
accute axo withdrawal symptoms......


#13

the issue is I cannot reproduce this, and you are the only 2 that have reported the issue... and most users run windows.

as far as I can tell the only facts I have so far are:

  • you both had axoloti running ok, then it 'stopped'
  • the error just tells use there is a memory fault in mingw, but this if I search I cannot see this as a common issue.
  • other users do not appear (yet?) to be affected.
  • reinstalling the axoloti software (including runtime) does not help, so the axoloti installation is 'clean'

it seems that the cause must be some new software/update that has been installed that conflicts

to progress we really need to find out that has changed...
so we need:

  • details of your windows OS (version 32/64 bit) ... Ive already asked for this
  • version of java you have installed... make sure you know which one axoloti is actually using.
  • check your windows system, see what has changed since it was working

fundamentally the issue is... we need information from you guys, as we don't get the issue, so therefore there is almost impossible for us to fix something 'that is not broken'

on my side Ive emailed Johannes... but I dont know if he has time, we was at the rome maker fair, but I don't know if he is back etc.
(I've also updated my Windows 10 install with all latest updates, and I still don't get the issue, and i don't have any other versions to test with)


#14

Win8.1 64bit java 8.65.....
error first time:

Datum: 22.10.2015 18:44:58

Name des fehlerhaften Moduls: cc1plus.exe, Version: 0.0.0.0, Zeitstempel: 0x55772e0b
Ausnahmecode: 0xc0000005
Fehleroffset: 0x008bbe56
ID des fehlerhaften Prozesses: 0x1380
Startzeit der fehlerhaften Anwendung: 0x01d10ce8fb1fb4c1
Pfad der fehlerhaften Anwendung: c:\program files (x86)\axoloti_runtime\platform_win\bin..\lib\gcc\arm-none-eabi\4.9.3\cc1plus.exe
Pfad des fehlerhaften Moduls: c:\program files (x86)\axoloti_runtime\platform_win\bin..\lib\gcc\arm-none-eabi\4.9.3\cc1plus.exe
Berichtskennung: 3a6317d3-78dc-11e5-8332-448a5ba4fd59

couldnt find any changes only flashplayer update...


#15

Java version is irrelevant.

It is the compiler that is failing, which is a native executable.

Hmm I'd expect this to be
c:\program files (x86)\axoloti_runtime\platform_win\bin..\lib\gcc\arm-none-eabi\4.9.3\cc1plus.exe
(backslash after bin)
but since that's the program reported crashing, probably irrelevant.

There is little chance of interference with other executables, the toolchain runs in an environment with a PATH containing only axoloti-related directories.

Maybe a too aggressive anti-virus or anti-malware program mis-classified Axoloti? Could you check the logs of your anti-virus/anti-malware?


#16

might also be worth trying to run gcc from the command line to see if it crashes, all the time...

e.g.


#17

yes it crashes.....also with deaktivated antivirus
also if i try to reinstall runtime it crashes..
i wonder why it tries to load mingw...


#18

it = running gcc from command line as @thetechnobear shows?
What's the error reported?
I'm running Win 8.1 x64 too, haven't seen this, installing latest windows patches now to test if it affects my system.


#19

soorry to stupid to run the command line ..dont get it


#20

Start "command prompt", it is in the start menu. Or press windows-R and enter cmd
In the black window, you type

cd "c:\Program Files (x86)\axoloti_runtime\platform_win"

(followed by enter)
then type

path.bat

(followed by enter)
and then you type

arm-none-eabi-gcc -v

(followed by enter)

this should give

and no error messages...