我已经编译了一个支持 Gtk3的 Red 控制台。当我运行 View 测试时,例如包含在 repo 中tests/react-test.red
,我得到一个错误:
$ ./console tests/react-test.red
*** Runtime Error 32: segmentation fault
*** at: F6B4E33Eh
ldd console
不报告丢失的库。相同的二进制文件在 32 位 Debian 中工作正常。
可能是什么问题?
当我添加system/view/debug?: yes
行时,有一些关于在段错误之前查看事件tests/react-test.red
的调试信息:
$ ./console tests/react-test.red
-- on-change event --
face : window
word : type
old : word
new : word
-- on-change event --
face : window
word : size
old : none
new : pair
-- on-change event --
face : window
word : pane
old : none
new : block
-- on-change event --
face : text
word : type
old : word
new : word
-- on-change event --
face : text
word : size
old : none
new : pair
-- on-deep-change event --
owner : text
action : set-path
word : size
target type: pair!
new value : none!
index : -1
part : -1
auto-sync? : true
forced? : false
-- para on-change event --
word : align
old : none
new : word
-- on-change event --
face : text
word : size
old : pair
new : pair
-- on-change event --
face : text
word : para
old : none
new : object
-- para on-change event --
word : parent
old : none
new : block
-- on-change event --
face : text
word : size
old : pair
new : pair
-- para on-change event --
word : parent
old : block
new : none
-- on-change event --
face : text
word : type
old : word
new : word
-- on-change event --
face : text
word : size
old : none
new : pair
-- on-deep-change event --
owner : text
action : set-path
word : size
target type: pair!
new value : none!
index : -1
part : -1
auto-sync? : true
forced? : false
-- para on-change event --
word : align
old : none
new : word
-- font on-change event --
word : style
old : none
new : word
-- font on-change event --
word : name
old : none
new : none
-- font on-change event --
word : size
old : none
new : none
-- on-change event --
face : text
word : size
old : pair
new : pair
-- on-change event --
face : text
word : text
old : none
new : string
-- on-change event --
face : text
word : para
old : none
new : object
-- para on-change event --
word : parent
old : none
new : block
-- on-change event --
face : text
word : font
old : none
new : object
-- font on-change event --
word : parent
old : none
new : block
*** Runtime Error 32: segmentation fault
*** at: F6B5E33Eh