taviso / 123elf

A native port of Lotus 1-2-3 to Linux.
1.18k stars 59 forks source link

Segmentation fault (core dumped) #106

Open rruhle opened 2 years ago

rruhle commented 2 years ago

123 crash returns to terminal with "Segmentation fault (core dumped)" at command line.

Fault repeats reliably when macro allowed to run without interruption.

Macro STEP function avoided crash by delaying steps, and macro finished normally.

Macro STEP not visible at status line with 123.elf, so exact macro call that triggers fault is unknown

taviso commented 2 years ago

Thank you, do you have a worksheet that demonstrates the crash?

If I can reproduce it I can probably fix it!

rruhle commented 2 years ago

After your worksheet copy renamed remote-file names to prevent over-writing newer records fault would not repeat.

Perhaps another app locked a file during 123 macro calls to remote files? Will keep monitoring.

Tried Ctrl-C to break macro STEP near fault location, but only found {FOR counter..} loop with no storage calls.

Fault won't replicate with original backup worksheet, after accounting records were updated later today.

rruhle commented 1 year ago

Using 123 v2 Maco function {For counter..} with {forbreak}, at end of long subroutine loop in 123.elf, may have fixed error.

My novice attempt at macros originally developed on Lotus 123 for DOS worked, but perhaps should have crashed long before 123.elf spit them out, with "Segmentation fault (core dumped)".

If original spreadsheet macro are replicated with this error, I will post the file here for examination.

rruhle commented 1 year ago

Spreadsheet file sent to Taviso

taviso commented 1 year ago

I don't see it, could you send it again? You can mail it to taviso@gmail.com