Magic Lantern Forum

Using Magic Lantern => General Help Q&A => Camera Emergency Department => Topic started by: lordmade on May 18, 2016, 08:22:25 PM

Title: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on May 18, 2016, 08:22:25 PM
canon 70d , getting error 70 & error 80 ,
shows memory error - underflow
Sub menu shows -

allocated ram - 684kb, peak 684kb - values change
malloc -227kb,77kb used
allocate memory 1.9mb,506kb used
shoot_malloc - 32mb,101kb used - values change
stack space - 525kb - values change
shoot contig 0
shoot total 0
srm job total 0x0
autoexec.bin 449kb of 640kb


image buffers -720x480,720x480
internal temp - 166 raw - help need

after some time , sd card light will turn on and camera will freeze , will have to remove battery , turn off and on couple of times , sometimes camera screen will turn on most times it stays black

Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: dmilligan on May 20, 2016, 01:30:39 AM
Do you have lua.mo loaded? If you don't need it, turn it off.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on May 20, 2016, 03:40:06 AM
loaned my cam out and it came back with a error 70 after a magic lantern install , guessed i should reload magic lantern to troubleshoot it as i cant seem to find a stock canon 70d firmware anywhere , guess whatever image setting was changed was recorded in the nvram , i have cleared settings in all modes both through the canon menu and in magic lantern , no luck till now
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 20, 2016, 09:32:57 AM
How about the CFn settings? Did you clear them, too?
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 20, 2016, 09:50:32 AM
Some more info regarding this issue:

Quote from: lordmade
no, rom wasnt backed up , i had loaned the cam out to a friend who loaded magic lantern , cam was returned with error code 70 ,
i used eos utility to test it, generates error 80
camera generates a error 70 in m mode without  card
camera generates a error 70 in c mode without card

Quote from: lordmadecamera starts up in all modes , if i switch on liveview , it generates a junk display , if i click the shutter it generates a error 70 ,if i load magic lantern to troubleshoot the camera hang after a few minutes , sd card light will turn on and stay on , while browsing through the debug menu i saw the memory underflow and cpu temperature

dm-spy log for this code (don't click me on current dm-spy-experiments branch):

    void* job = (void*) call("FA_CreateTestImage");
    call("FA_CaptureTestImage", job);
    call("FA_DeleteTestImage", job);


http://pastebin.com/pGPG9KeT

The message that may indicate an error:

ShootCaptu:ff155d90:93:16: ->FactoryMode AbortCaptureImagePath!!


Also, the crash log OP is experiencing:

ASSERT: 0
at ./Memory/Memory.c:575, task RscMgr
lv:0 mode:4


Magic Lantern version : Nightly.2016Apr23.70D111A
Mercurial changeset   : 591ba5bf7c75 (70D-merge) tip
Built on 2016-04-23 19:23:06 UTC by ml@ml-VirtualBox.
Free Memory  : 227K + 1951K


matches these lines from the capture test log:

    RscMgr:ff0c308c:8b:06: ASSERT : ./Memory/Memory.c, Task = RscMgr
    RscMgr:ff0c30a0:8b:06: ASSERT : Line 575
    RscMgr:ff0c30b4:8b:06: ASSERT : 0


so it seems to be an error message generated by Canon code (probably one of the error handling paths doesn't do proper cleanup).

@nikfreak: can you upload a dm.log from your 70D taken in the same conditions? (M mode, ISO 100, 1/125, f/5.6, don't click me on 1166ef2d from your repo).
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 20, 2016, 11:16:36 AM
No problem after work in late evening.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 21, 2016, 08:46:51 AM
Here you go:

http://pastebin.com/HyDDHgzc
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 21, 2016, 09:27:17 AM
The only significant differences I could find:


-**INTERRUP:ff153db8:93:03: Dummy ReadoutDone(3131)
+**INTERRUP:ff153db8:93:03: Dummy ReadoutDone(173648)

-ShootCaptu:ff1538b4:93:03: CapReady(3131)[40][1]
+ShootCaptu:ff1538b4:93:03: CapReady(173648)[40][1]

-**INTERRUP:ff155804:93:03: CapEnd(3131)
+**INTERRUP:ff155804:93:03: CapEnd(173648)

-**INTERRUP:ff155bd4:93:03: ReadoutDone(3131)
+**INTERRUP:ff155bd4:93:03: ReadoutDone(173648)

-ShootCaptu:ff21e478:8f:03: PostNextStage (ID = 3131[0], Class = 147, Pos = 0)
+ShootCaptu:ff21e478:8f:03: PostNextStage (ID = 173648[0], Class = 147, Pos = 0)


so, this one looks like an internal ID, not relevant;


-ShootCaptu:ff4001e8:92:03:  PWRCNT (res:4040a447)(clk:lx)(0x40402447)
+ShootCaptu:ff4001e8:92:03:  PWRCNT (res:4040a047)(clk:lx)(0x40402047)


This one appears to be some status bitfield, and could indicate a problem on the hardware side.

And, the obvious assert that appears when de-allocating the test image object:

RscMgr:ff208444:80:01: ###### FreeMemoryToShootMemoryObject 0x124328
RscMgr:ff0c308c:8b:06: ASSERT : ./Memory/Memory.c, Task = RscMgr
RscMgr:ff0c30a0:8b:06: ASSERT : Line 575
RscMgr:ff0c30b4:8b:06: ASSERT : 0


Didn't check the output data yet, but OB values look fine.

I'll ask OP to run a few more tests by PM: FA_CreateTestImage/FA_DeleteTestImage without capture, checking the output image, and checking for overflow.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: panicbutton on May 24, 2016, 02:11:24 AM
This is my first post. Hoping for some help. I'm having the same problems...

QuoteQuote from: lordmade
camera starts up in all modes , if i switch on liveview , it generates a junk display , if i click the shutter it generates a error 70 ,if i load magic lantern to troubleshoot the camera hang after a few minutes , sd card light will turn on and stay on , while browsing through the debug menu i saw the memory underflow and cpu temperature

Quoteafter some time , sd card light will turn on and camera will freeze , will have to remove battery , turn off and on couple of times , sometimes camera screen will turn on most times it stays black

I've tried different cards, batteries, with and without battery grip, changed lens, restarted in every mode and nothing is helping. Problem seemed to start last week and I thought it might just be from camera getting too warm from video use, but it worked fine for 4 days, had another quick issue Friday and now today will not come back full function. It stated out as "junk displayed" during live view. Then ERR 70 and today it's ERR 80. Any help would be great. Just let me know what I need to do.

Magic Lantern version : Nightly.2015May31.70D111A
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 24, 2016, 07:36:17 AM
Quote from: panicbutton on May 24, 2016, 02:11:24 AM

Magic Lantern version : Nightly.2015May31.70D111A
Examining the build date the error has nothing to do with recent builds. Interesting!
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 24, 2016, 07:39:23 AM
@nikfreak: can you ask @panicbutton run the same tests as OP?

First was the one you already ran on your camera, second was:

    void* job = (void*) call("FA_CreateTestImage");
    call("FA_DeleteTestImage", job);


This second test was successful on lordmade's camera; will post the log later, as I'm a little busy this week.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 24, 2016, 04:23:18 PM
Yeah no problem, I'll take care by sending him a PM later.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: panicbutton on May 25, 2016, 07:23:36 PM
@nikfreak & @a1ex I more than willing to run any test, just need some instructions. I'm in a pretty big bind, needing this camera to finish a catalog job this week. Looking for a loaner now.

Crash Log from yesterday—
ASSERT: 0
at ./Memory/Memory.c:575, task RscMgr
lv:0 mode:3


Magic Lantern version : Nightly.2015May31.70D111A
Mercurial changeset   : 8a4bc95af250+ (70D-merge) tip
Built on 2015-05-31 07:23:14 UTC by ml@ml-pc.
Free Memory  : 233K + 1951K
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 26, 2016, 01:05:15 PM
Pm sent with instructions.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on May 26, 2016, 03:32:45 PM
Any Instructions for me ?
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: panicbutton on May 26, 2016, 06:07:40 PM
@a1ex I ran the tests per @nikfreak instructions. Uploaded both log files for you.

https://drive.google.com/open?id=0B89xYVPCKqWvZDBPNHZCMFN4Nlk

thanks!
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 26, 2016, 07:04:05 PM
These are Canon logs (not good).
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: panicbutton on May 26, 2016, 07:22:08 PM
Well. Not what I wanted to hear obviously. What's my next step? Anything else to be done here? Should I try to uninstall ML and send to Canon, or is it toast?
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 26, 2016, 08:09:36 PM
Well, I guess both you and nikfreak should check the instructions...
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 26, 2016, 08:42:00 PM
Quote from: nikfreak on May 26, 2016, 01:04:51 PM
Please run "Don't click me" for both zip files.
Each run will create a dm.log on your sdcard which you need to save to your pc before running the next zip.

https://drive.google.com/folderview?id=0B9Mu66yg5QzRc1Vpb1AwT3JQMTA&usp=sharing

Afterwards rename the files to e.g. dm1.log and dm2.log and post the link to that files on your err70/err80 thread for a1ex.

These were my instructions. panicbutton you didn't follow what I've written.You used the debug menu item "Debugmsg log" but not "Don't click me". Do what I've instructed.

Btw the output for "Don't click me" on my camera for both cases from quoted link:
http://pastebin.com/RCxgLx3J
http://pastebin.com/uFf1072M
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: panicbutton on May 26, 2016, 09:56:30 PM
Yea I'll be the first to admit my ignorance when it comes to trouble shooting. I'm sure nikfreak's instructions are on point, I just didn't follow them. However, now for some reason I am unable to access the ML menu options to select "Dont click me".
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: nikfreak on May 26, 2016, 10:34:23 PM
sounds like the camera behaves even worse. is the camera under warranty?
@panicbutton read this post (http://magiclantern.fm/forum/index.php?topic=14309.msg167154#msg167154) and also the wiki (http://magiclantern.wikia.com/wiki/Unbricking). do you got the ROM dumps from ML/LOGS folder?
@a1ex: "FA_SetDefaultSetting"?
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on May 27, 2016, 12:37:00 AM
is there any chance anyone has the stock firmware to reflash so i can get it back to stock and use it , currently its a expensive paperweight
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: panicbutton on May 27, 2016, 01:30:03 AM
@nikfreak got this camera in March 2015 not under warranty. Looks like I have a lot of reading to do, from your 2 links.
Here is a link to the ML/LOGS folder. https://drive.google.com/open?id=0B89xYVPCKqWvMzZXRVgwMkJnSlk

and here is a link to some other logs on the root of the card
https://drive.google.com/folderview?id=0B89xYVPCKqWvYV8yM3BETWx0LTg&usp=sharing

I'm wondering if I've done something to make my ML sd card non-bootable. ??? I only have ML loaded on one card.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 27, 2016, 06:48:39 AM
@lordmade: I don't think your problem can be solved by reflashing (the firmware looks OK, ML does a checksum at startup, and the logs do not indicate any setting issues). To me, it looks more likely a hardware issue; I just didn't have time to finish the investigation in order to draw a conclusion.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on May 27, 2016, 04:14:00 PM
would anyone be able to send me a stock firmware so i can confirm its a hardware issue before i write it off and send it to ebay for parts , the thing is it was working fine before the bad load of magic lantern , i have used lantern before on my 600d and 7d,never faced anything so drastic , cams out of warranty and from what i read online canon will suggest a main board replacement
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: Walter Schulz on May 27, 2016, 04:32:03 PM
No offense but please read a1ex' post again.
He is *the* authority when it comes to un-bricking and his help and advice fixed more issues than you might be able to imagine.

And you cannot ask for stock firmware in a forum and expect a link. Canon never made the very first firmware version for a cam available for download. It simply doesn't happen.
There are ways to do it anyway but it's considered to be grey area legally and it needs a dev to make it happen (not a simple FIR file AFAIK).

And please read FAQ about warranty. It's a non-issue until now. Never heard any complaints about Canon charging extra for cams with bootflag set.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: a1ex on May 27, 2016, 04:53:54 PM
Will continue troubleshooting in about 2 weeks, sorry for delay.
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on May 27, 2016, 06:57:55 PM
No offense was intended and no inference made about A1ex skills or honestly i wouldn't be asking on the forum , i dont know where that came from , about asking for the firmware , just want to cross my t's and dot my i's before i give up on the cam , been given the run around earlier by canon for a out of warranty cam , finally had to get it fixed locally
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: lordmade on June 14, 2016, 03:01:15 PM
Are there any updates ?
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: diego163 on March 08, 2017, 11:59:22 AM
no, rom wasnt backed up , i had loaned the cam out to a friend who loaded magic lantern , cam was returned with error code 70 , i used eos utility to test it, generates error 80 camera generates a error 70 in m mode without  card camera generates a error 70 in c mode without card
camera starts up in all modes , if i switch on liveview , it generates a junk display , if i click the shutter it generates a error 70 ,if i load magic lantern to troubleshoot the camera hang after a few minutes , sd card light will turn on and stay on , while browsing through the debug menu i saw the memory underflow and cpu temperature
dm-spy log for this code (don't click me on current dm-spy-experiments branch): Code:

    void* job = (void*) call("FA_CreateTestImage");

    call("FA_CaptureTestImage", job);

    call("FA_DeleteTestImage", job);

http://pastebin.com/pGPG9KeT

The message that may indicate an error: Code:

ShootCaptu:ff155d90:93:16: ->FactoryMode AbortCaptureImagePath!!

Also, the crash log OP is experiencing: Code:

ASSERT: 0

at ./Memory/Memory.c:575, task RscMgr

lv:0 mode:4

Magic Lantern version : Nightly.2016Apr23.70D111A

Mercurial changeset   : 591ba5bf7c75 (70D-merge) tip

Built on 2016-04-23 19:23:06 UTC by ml@ml-VirtualBox.

Free Memory  : 227K + 1951K

matches these lines from the capture test log: Code:

    RscMgr:ff0c308c:8b:06: ASSERT : ./Memory/Memory.c, Task = RscMgr

    RscMgr:ff0c30a0:8b:06: ASSERT : Line 575

    RscMgr:ff0c30b4:8b:06: ASSERT : 0

so it seems to be an error message generated by Canon code (probably one of the error handling paths doesn't do proper cleanup).

@nikfreak: can you upload a dm.log from your 70D taken in the same conditions? (M mode, ISO 100, 1/125, f/5.6, don't click me on 1166ef2d from your repo).
FOR MORE cANNON 7D ERROR, FOLLOW http://www.carddata-recovery.com/blog/fix-canon-7d-error-card-cannot-accessed-reinsertchange-card-format-card-camera-recover-photos-videos (http://www.carddata-recovery.com/blog/fix-canon-7d-error-card-cannot-accessed-reinsertchange-card-format-card-camera-recover-photos-videos).
Title: Re: canon 70d error 80/error 70 memory error- underflow
Post by: AndkNorway on July 30, 2017, 03:54:56 PM
Hi there

I have a problem with my Canon 60D, I am a begynner with cameras and I wonder if I can get any help here.
My camera shows error 70! Where should I start? Any help is very much appreciated.

greetings from Norway :)