ZeroPain in SharedCLibrary from MakeModes
Jon Abbott (1421) 2651 posts |
MakeModes has just appeared on PackMan, but is unusable as it triggers a Page Zero write in CLib when you click the Generate button:
|
Rick Murray (539) 13840 posts |
The code appears to be strcpy() when called with a non-word-aligned address; thus:
What’s at R14 (&B838 in your dump)? That ought to shed some light on which part of MakeModes is causing the problem. At any rate, copying from &1E45C to &0 is not going to work – so there’s an strcpy() on an uninitialised string pointer happening here. |
Jon Abbott (1421) 2651 posts |
Here you go..
|
Mike Freestone (2564) 131 posts |
Version 0.31 working here using a zpp enabled pandaboard, clicking on generate with no monitor chosen, and with eizo f780 chosen at random from the popup menu |
David Pitt (102) 743 posts |
MakeModes 0.31 crashes within CLib as described above on attempting to make a new MDF, it is OK with an pre-existing MDF. |
Sprow (202) 1158 posts |
Unfortunately my long distance mind reading powers can’t make much of this, as there’s no mention of the version, a vague description of how to recreate (nothing happens if you just click the generate button). More words, less register dump, please.
and
Ah ha – Mike/David have the gems of information needed. I never knew MakeModes could make a new MDF from scratch (I always start out picking one from the menu then editing it into shape) otherwise I think I’d have tripped up on the bug when fixing the ZeroPain just before it appeared with the Bonus Binaries. The oldest MakeModes I could dig out on my Risc PC was 0.26 from 1994, and if you create a new MDF from scratch there – BANG! a type 5 error and it quits. Please try again tomorrow with MakeModes 0.32, hopefully it’s not unusable any longer. |
David Pitt (102) 743 posts |
MakeModes 0.32 can generate a new MDF.
21 years old bug fixed, bonus indeed! Many Thanks. |
Jon Abbott (1421) 2651 posts |
Apologies Sprow – I thought I’d provided enough information…download MakeModes from PackMan, click Generate. I’ll ensure I provide specific Repro steps next time – I usually do, not sure why I didn’t in this case. Although you don’t want the dumps, I’ll continue to provide them as more information is never a bad thing and in this case, if did quickly confirm the issue being in MakeModes itself. |