[LinuxCNC/linuxcnc Issue#131] LCD crashes system calling a page > availible pages

未分类 bolang 4个月前 (10-15) 23次浏览

Issue #131 | 状态: 已关闭 | 作者: gmoccapy | 创建时间: 2016-08-03


just tested lcd and I found a serious bug

loadrt lcd fmt_strings="Tool %2d ZO %7.3f\nX Pos = %8.3f\nY Pos = %8.3f\nZ Pos = %8.3f |Line = %5d\nLength = %5d\nProgress = %3.1f | \n Machine in ESTOP| \n Machine ON\n but not homed"

My fmt_strings has actually 4 pages, and I can call them with

setp lcd.00.page_num 0
setp lcd.00.page_num 1
setp lcd.00.page_num 2
setp lcd.00.page_num 3

But if you call setp lcd.00.page_num 4

you get

rtapi_app: caught signal 11 - dumping core

So all crashed, no more reaction etc.

Norbert


评论 (1)

#1 – SebKuzminsky 于 2016-08-14

@gmoccapy : I see that you manually inserted @jepler’s hal_ready() fix in lcd.c in master, even though he had put the fix in 2.6. That caused some minor headache when I merged the fix up.

We’re trying to use the https://github.com/LinuxCNC/linuxcnc/issues/131

喜欢 (0)