[developers] ACE killed while loading MAX Ent model

Alexandre Rademaker arademaker at gmail.com
Sat Jul 17 16:25:02 UTC 2021


Hi Woodley,

Thank you for your attention on this issue.

% git clone git at github.com:LR-POR/delphin-docker.git
Cloning into 'delphin-docker'...
remote: Enumerating objects: 78, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 78 (delta 0), reused 2 (delta 0), pack-reused 74
Receiving objects: 100% (78/78), 28.76 KiB | 262.00 KiB/s, done.
Resolving deltas: 100% (27/27), done.

This is weird! Works for me and the repo is public!  But this is the output I got following your instructions:


$ gdb ace
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ace...
(gdb) run -G erg.dat -g ../terg/ace/config.tdl
Starting program: /usr/local/bin/ace -G erg.dat -g ../terg/ace/config.tdl
warning: Error disabling address space randomization: Operation not permitted
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
reading configuration       from `../terg/ace/config.tdl'
reading types               from `../terg/ace/../mtr.tdl'
grammar version             ERG (2020)
reading grammar             from `../terg/ace/../english.tdl'
reading types               from `../terg/ace/../fundamentals.tdl'
reading types               from `../terg/ace/../lextypes.tdl'
reading types               from `../terg/ace/../tmt.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/gml.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/ptb.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/spelling.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/ne1.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/split.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/ne2.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/class.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/ne3.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/punctuation.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/pos.tdl'
reading token-mapping-rule  from `../terg/ace/../tmr/finis.tdl'
reading post-generation-mapping-rulefrom `../terg/ace/../tmr/post-generation.tdl'
reading lexical-filtering-rulefrom `../terg/ace/../lfr.tdl'
reading types               from `../terg/ace/../syntax.tdl'
reading types               from `../terg/ace/../ctype.tdl'
reading types               from `../terg/ace/../lexrules.tdl'
reading types               from `../terg/ace/../delims.tdl'
reading types               from `../terg/ace/../auxverbs.tdl'
reading types               from `../terg/ace/../letypes.tdl'
reading lexical entries     from `../terg/ace/../lexicon.tdl'
reading lexical entries     from `../terg/ace/../lexicon-rbst.tdl'
reading lexical entries     from `../terg/ace/../ple.tdl'
reading generic-lex-entry   from `../terg/ace/../gle.tdl'
reading generic-lex-entry   from `../terg/ace/../gle-gen.tdl'
reading rules               from `../terg/ace/../constructions.tdl'
reading lexical rules       from `../terg/ace/../inflr.tdl'
reading lexical rules       from `../terg/ace/../lexrinst.tdl'
reading lexical rules       from `../terg/ace/../lexrinst-tok.tdl'
reading instance            from `../terg/ace/../parse-nodes.tdl'
reading instance            from `../terg/ace/../roots.tdl'
checking for glbs...        0.54 sec
processing constraints...   0.61 sec
processing rules            81 ms
processing lex-rules        19 ms
reading irregular forms     from ../irregs.tab
processing lexicon...       3.21 sec
simple lexemes              27092 / 43474 = 62.32%
11109 types (4383 glb), 43474 lexemes, 363 rules, 48 orules, 108 instances, 53462 strings, 243 features
reading trigger-rule        from `../terg/ace/../trigger.mtr'
reading idiom-rule          from `../terg/ace/../idioms.mtr'
loading maxent model
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb)




> On 17 Jul 2021, at 03:22, Woodley Packard <sweaglesw at sweaglesw.org> wrote:
> 
> Hi Alexandre,
> 
> If you launch ACE under GDB, you may find out where the crash is.  You would do something like:
> 
> $ gdb ace
> (gdb) run -G erg.dat -g terg/ace/config.tdl
> ..... various messages ...
> Signal SIGSEGV raised at (such and such a location)
> (gdb) bt
> .... various messages ...
> 
> I would be interested to know what turns up if you try that.  I did try reproducing locally but I was not able to clone your git repository:
> 
> $ git clone git at github.com:LR-POR/delphin-docker.git
> Cloning into 'delphin-docker'...
> Warning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts.
> git at github.com: Permission denied (publickey).
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> 
> Regards,
> -Woodley
> 
>> On Jul 16, 2021, at 9:23 AM, Alexandre Rademaker <arademaker at gmail.com> wrote:
>> 
>> 
>> Hi Woodley,
>> 
>> Thank you for your answer. I am not sure if I will be able to understand anything from GDB output, but how can I run it and collect data for you? 
>> 
>> Would you be willing to install docker? If so, I believe you can easy reproduce in your side. Just
>> 
>> If you are using Mac, first download docker from https://www.docker.com 
>> 
>> git clone git at github.com:LR-POR/delphin-docker.git
>> cd dolphin-docker
>> docker build -t delphin image
>> docker run -it --rm -v $HOME:/home/user -w /home/user --user=user delphin:latest /bin/bash
>> 
>> After that, you will be in the Linux shell with our home mapped to /home/user inside the container. Now if you have the trunk branch of ERG, you can try to compile the grammar.
>> 
>> Best,
>> Alexandre
>> 
>> 
>>> On 16 Jul 2021, at 13:06, Woodley Packard <sweaglesw at sweaglesw.org> wrote:
>>> 
>>> Hard to guess, unfortunately.  Is there a way to reproduce the error at my end?  You could try running ACE in GDB and see where the crash is.
>>> -Woodley
>> 
> 




More information about the developers mailing list