[LinuxCNC/linuxcnc PR#147] M30 remap interaction lcnc26

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

Issue #147 | 状态: 已关闭 | 作者: zultron | 创建时间: 2016-08-19


From emc-developers:

> I found a buglet where an M30 or M02 in the same block as a remapped
> command triggers the error ‘BUG: remap_level < 0 : -1'. This bug must > have previously escaped attention because this is a rarely-encountered
> corner case.
>
> I discovered it while cutting parts on a PCNC 1100, where M06 is
> remapped, with a program generated by the HeeksCNC ’emc2b’ post
> processor, which terminates programs with ‘T0 M06 M02’.
> —
>
> A buildbot job with just the unit test demonstrates the bug:
>
> http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/4447
>
> Search for the string ‘remap/m30-interaction’ in a failed ‘runtests’
> build step, as here:
>
>

> http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/2591/steps/runtests/logs/stdio
> 

>
> The one-liner fix is applied against the 2.6 branch:
>
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/zultron/m30-remap-interaction-lcnc26
>
> Another buildbot job is currently running to test the fix:
>
> http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/4448


评论 (2)

#1 – cradek 于 2016-08-23

Thanks for this bugfix and the test; I put it in 2.6.


#2 – zultron 于 2016-08-23

Thanks, @cradek. I see commits 8b97e39c019233042e09c252d9120415397fc6ad and ca7c2de2997f4928774e101f94d43296539ff7fc in the 2.6 branch.


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/147

喜欢 (0)