[developers] ACE crashing with ZHONG

Luis Morgado da Costa luis.passos.morgado at gmail.com
Wed May 6 06:09:49 CEST 2020


Dear Woodley (or anyone else who can help),

Ace is crashing unexpectedly with at least two sentences in a large
regression test for ZHONG:
能 不 能 借给 我 一 枝 笔 ?  (can-not-can lend me 1 CL pen?)
要 不 要 借 书 ?  (want-not-want borrow book?)

Our suspicion is that the problem arises from the interaction of this
V-not-V question form in Mandarin, and the fact that in these examples the
verbs are auxiliaries.
The same error does not happen, for example, for the sentence:

你 吃 不 吃 肉 ? (you eat-not-eat mean?)

We repeatedly get the same error for these (and similar) sentences:
*ace: type.c:625: type_to_string: Assertion `ty->name[0]=='"'' failed.*
*Aborted (core dumped)*

=========================================================
$ ./ace -g zhong.dat
能 不 能 借给 我 一 枝 笔 ?
ace: type.c:625: type_to_string: Assertion `ty->name[0]=='"'' failed.
Aborted (core dumped)

./ace -g zhong.dat
要 不 要 借 书 ?
ace: type.c:625: type_to_string: Assertion `ty->name[0]=='"'' failed.
Aborted (core dumped)
==========================================================

This happens both in ACE 0.9.30 and 0.9.31; However, it does not happen
with LKB FOS (we get parses for both sentences above, see below).


[image: Screenshot from 2020-05-06 11-28-01.png]

[image: Screenshot from 2020-05-06 11-30-49.png]


Is there anything we might be missing? We would much appreciate if you
could help us solve this.

For testing, you might want to download the current (uncommitted) version
of ZHONG: https://drive.google.com/open?id=1p7lPA06sD2v6Xq0qG0TslGF0x6n5uIqV



Cheers,
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20200506/ca1518e3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2020-05-06 11-28-01.png
Type: image/png
Size: 234949 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20200506/ca1518e3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2020-05-06 11-30-49.png
Type: image/png
Size: 210808 bytes
Desc: not available
URL: <http://lists.delph-in.net/archives/developers/attachments/20200506/ca1518e3/attachment-0003.png>


More information about the developers mailing list