Bug? Unresolved reference or dangling pointer (so to say)

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Bug? Unresolved reference or dangling pointer (so to say)

Post by mcc »

Hi,

I found this:

Load a program from eeprom twice, which creates two entries in the program menu, which is exspected.
ASSIGN one entry on from the program menu to the CUSTOM MENU.
Delete one program with CLP from the program menu, which deletes both entries, which is NOT exspected.
Go to the CUSTOM menu. There is still the ASSIGNed entry, which is NOT exspected.
"Clicking" this entry produces the error message "not excistent" (or similiar).

This entry in the CUSTOM menu can only be removed by removing all entries from the CUSTOM menu.

Exspected behaviour.
Loading two programs, even if they are identical, should result in two idenpendant program instances in memory.
Removing one of it should not delete the other one.
Deleting a program from the program menu, which is assigned to the custom menu, should also delete that entry.

I did a CLALL after that to clean up the whole memory of my DM42.

Cheers! :)
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
Thomas Okken
Posts: 1100
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Bug? Unresolved reference or dangling pointer (so to say)

Post by Thomas Okken »

mcc wrote:
Fri Jan 26, 2018 5:44 am
Hi,

I found this:

Load a program from eeprom twice, which creates two entries in the program menu, which is exspected.
ASSIGN one entry on from the program menu to the CUSTOM MENU.
Delete one program with CLP from the program menu, which deletes both entries, which is NOT exspected.
I can't reproduce that.
mcc wrote:
Fri Jan 26, 2018 5:44 am
Go to the CUSTOM menu. There is still the ASSIGNed entry, which is NOT exspected.
"Clicking" this entry produces the error message "not excistent" (or similiar).
The fact that you didn't expect a CUSTOM menu assignment to remain in place, after deleting the program it points to, does not make it a bug. That assignment is basically just a global XEQ. Note that you can do ASSIGN "ABC" TO 01 even when ABC doesn't exist when you do the assignment.
mcc wrote:
Fri Jan 26, 2018 5:44 am
This entry in the CUSTOM menu can only be removed by removing all entries from the CUSTOM menu.
Are you saying that ASSIGN "" TO <key> doesn't work? I can't reproduce that.
mcc wrote:
Fri Jan 26, 2018 5:44 am
Exspected behaviour.
Loading two programs, even if they are identical, should result in two idenpendant program instances in memory.
And that is, in fact, how it works.
mcc wrote:
Fri Jan 26, 2018 5:44 am
Removing one of it should not delete the other one.
Correct. And that does not, in fact, happen, at least not when I try it.
mcc wrote:
Fri Jan 26, 2018 5:44 am
Deleting a program from the program menu, which is assigned to the custom menu, should also delete that entry.
Wrong.

By the way, are you going to post those HP-42S programs you said you have, which don't work in Free42, or even "kill" it? It's a bit hard for me to deal with bug reports when I don't even have the chance to even try to reproduce them.
whuyse
Posts: 198
Joined: Thu Dec 21, 2017 1:23 pm

Re: Bug? Unresolved reference or dangling pointer (so to say)

Post by whuyse »

Can't reproduce it either.
Tried on a 42S, on Free42 iOS 2.0.11, and DM42 3.1, all behave exactly the same.
Werner
41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE, DM15L
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Bug? Unresolved reference or dangling pointer (so to say)

Post by mcc »

Hi,

hmmm, can't reproduce it anymore here, too...
What may had produces this one-time-hickup on my DM42?

Cheers
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: Bug? Unresolved reference or dangling pointer (so to say)

Post by Walter »

mcc wrote:
Fri Jan 26, 2018 10:16 am
hmmm, can't reproduce it anymore here, too...
What may had produces this one-time-hickup on my DM42?
Let me guess ... the user?? ;)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Bug? Unresolved reference or dangling pointer (so to say)

Post by mcc »

Hi,

yes, of course!
But how have I managed to produce this effect?

Cheers
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: Bug? Unresolved reference or dangling pointer (so to say)

Post by Walter »

IIRC, there once was a "Journal of Irreproducible Effects". Please submit.

Just checked: it's called "Journal of Irreproducible Results" - anyway!
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
Post Reply