Общая формулировка: проект не удаётся собрать или запустить на Ubuntu 16.04 и 18.04 никаким доступным способом.
- Предварительные условия.
Чистая Ubuntu 16.04.6 х86 (и 18.04.5 amd64, там всё аналогично). Более ранние сборки этих выпусков недоступны, 18.04.5 х86 к тому же ещё и не устанавливается (но это тема не для данного форума).
Действия, рекомендованные на гитхабовской страничке PascalABC.NET (установка mono и скачивание исходников с гитхаба), выполняются без ошибок.
- Попытка запустить зипованный собранный проект для Windows из-под mono:
user@pascaller:~$ cd workspace/pascalabc/bin/
user@pascaller:~/workspace/pascalabc/bin$ mono pabcnetc.exe
Loading core
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <581daa62f76b40c0ba9ede594e003c82>:0
--- End of inner exception stack trace ---
at PascalABCCompiler.Compiler.Reload () [0x00015] in <56cdefc47132418393f2b995c742dd89>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <56cdefc47132418393f2b995c742dd89>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <749d981268b845a585aabc1dd2e10d58>:0
at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <749d981268b845a585aabc1dd2e10d58>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <581daa62f76b40c0ba9ede594e003c82>:0
--- End of inner exception stack trace ---
at PascalABCCompiler.Compiler.Reload () [0x00015] in <56cdefc47132418393f2b995c742dd89>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <56cdefc47132418393f2b995c742dd89>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <749d981268b845a585aabc1dd2e10d58>:0
at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <749d981268b845a585aabc1dd2e10d58>:0
user@pascaller:~/workspace/pascalabc/bin$
- Попытка использовать выложденный на гитхабе дебиановский пакет:
user@pascaller:~/workspace/pascalabc$ sudo apt install ./pascalabcnet_3.7.1-2699_all.deb
[sudo] пароль для user:
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Заметьте, вместо «./pascalabcnet_3.7.1-2699_all.deb» выбирается «pascalabcnet»
Будут установлены следующие дополнительные пакеты:
geany geany-common libchm1 libwxbase3.0-0v5 libwxgtk3.0-0v5 xchm
Следующие НОВЫЕ пакеты будут установлены:
geany geany-common libchm1 libwxbase3.0-0v5 libwxgtk3.0-0v5 pascalabcnet
xchm
Обновлено 0 пакетов, установлено 7 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 8 449 kB/15,0 MB архивов.
После данной операции объём занятого дискового пространства возрастёт на 60,4 MB.
Хотите продолжить? [Д/н]
......
Получено 8 449 kB за 0с (9 941 kB/s)
Выбор ранее не выбранного пакета geany-common.
(Чтение базы данных … на данный момент установлено 205903 файла и каталога.)
Подготовка к распаковке …/geany-common_1.27-1_all.deb …
Распаковывается geany-common (1.27-1) …
Выбор ранее не выбранного пакета geany.
Подготовка к распаковке …/archives/geany_1.27-1_i386.deb …
Распаковывается geany (1.27-1) …
Выбор ранее не выбранного пакета libchm1.
Подготовка к распаковке …/libchm1_2%3a0.40a-3_i386.deb …
Распаковывается libchm1 (2:0.40a-3) …
Выбор ранее не выбранного пакета libwxbase3.0-0v5:i386.
Подготовка к распаковке …/libwxbase3.0-0v5_3.0.2+dfsg-1.3ubuntu0.1_i386.deb …
Распаковывается libwxbase3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Выбор ранее не выбранного пакета libwxgtk3.0-0v5:i386.
Подготовка к распаковке …/libwxgtk3.0-0v5_3.0.2+dfsg-1.3ubuntu0.1_i386.deb …
Распаковывается libwxgtk3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Выбор ранее не выбранного пакета pascalabcnet.
Подготовка к распаковке …/pascalabcnet_3.7.1-2699_all.deb …
Распаковывается pascalabcnet (3.7.1-2699) …
Выбор ранее не выбранного пакета xchm.
Подготовка к распаковке …/xchm_2%3a1.23-2build1_i386.deb …
Распаковывается xchm (2:1.23-2build1) …
Обрабатываются триггеры для doc-base (0.10.7) …
Обработка 1 добавленный файл doc-base...
Регистрация документа в scrollkeeper...
Обрабатываются триггеры для hicolor-icon-theme (0.15-0ubuntu1.1) …
Обрабатываются триггеры для libc-bin (2.23-0ubuntu11.2) …
Обрабатываются триггеры для gnome-menus (3.13.3-6ubuntu3.1) …
Обрабатываются триггеры для desktop-file-utils (0.22-1ubuntu5.2) …
Обрабатываются триггеры для mime-support (3.59ubuntu1) …
Обрабатываются триггеры для man-db (2.7.5-1) …
Настраивается пакет geany-common (1.27-1) …
Настраивается пакет geany (1.27-1) …
Настраивается пакет libchm1 (2:0.40a-3) …
Настраивается пакет libwxbase3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Настраивается пакет libwxgtk3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Настраивается пакет pascalabcnet (3.7.1-2699) …
Do you wish to configure Geany? [y/N] y
Specify your username: user
Настраивается пакет xchm (2:1.23-2build1) …
Обрабатываются триггеры для libc-bin (2.23-0ubuntu11.2) …
user@pascaller:~/workspace/pascalabc$ find / -name "pabcnetc.exe"
/usr/share/pascalabcnet/pabcnetc.exe
/home/user/workspace/pascalabc/bin/pabcnetc.exe
user@pascaller:~/workspace/pascalabc$ mono /usr/share/pascalabcnet/pabcnetc.exe
Loading core...
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <687dc53510a24d93878ad8ae8fabe101>:0
--- End of inner exception stack trace ---
at PascalABCCompiler.Compiler.Reload () [0x00015] in <947b4bf5c6054bd58a1ee8ce80900c79>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <947b4bf5c6054bd58a1ee8ce80900c79>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <907396fea7d347a99af59e46fb81fe90>:0
at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <907396fea7d347a99af59e46fb81fe90>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <687dc53510a24d93878ad8ae8fabe101>:0
--- End of inner exception stack trace ---
at PascalABCCompiler.Compiler.Reload () [0x00015] in <947b4bf5c6054bd58a1ee8ce80900c79>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <947b4bf5c6054bd58a1ee8ce80900c79>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <907396fea7d347a99af59e46fb81fe90>:0
at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <907396fea7d347a99af59e46fb81fe90>:0
user@pascaller:~/workspace/pascalabc$
- Попытка сборки среды – длиннющий протокол, в конце которого вот что:
Mono Ahead of Time compiler - compiling assembly /home/user/workspace/pascalabc/pascalabcnet/bin/Errors.dll
AOTID 6631E9CA-ED27-ADA2-3B3B-C9F7C2112006
Code: 4160(62%) Info: 102(1%) Ex Info: 744(11%) Unwind Info: 60(0%) Class Info: 911(13%) PLT: 24(0%) GOT Info: 453(6%) Offsets: 242(3%) GOT: 272
Compiled: 37/37 (100%), No GOT slots: 28 (75%), Direct calls: 0 (0%)
Executing the native assembler: "as" -o /tmp/mono_aot_WYUHfc.o /tmp/mono_aot_WYUHfc
Executing the native linker: "ld" -shared -o /home/user/workspace/pascalabc/pascalabcnet/bin/Errors.dll.so.tmp /tmp/mono_aot_WYUHfc.o
JIT time: 3 ms, Generation time: 2 ms, Assembly+Link time: 11 ms.
Loading core...
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <ede10acd6272406b8ce078ad8403b923>:0
--- End of inner exception stack trace ---
at PascalABCCompiler.Compiler.Reload () [0x00015] in <beb380f5ac244394b2dbf2fbbc2751db>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <beb380f5ac244394b2dbf2fbbc2751db>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <50b076e7a7b64b499200f0b58002c623>:0
at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <50b076e7a7b64b499200f0b58002c623>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0
at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <ede10acd6272406b8ce078ad8403b923>:0
--- End of inner exception stack trace ---
at PascalABCCompiler.Compiler.Reload () [0x00015] in <beb380f5ac244394b2dbf2fbbc2751db>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <beb380f5ac244394b2dbf2fbbc2751db>:0
at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <50b076e7a7b64b499200f0b58002c623>:0
at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <50b076e7a7b64b499200f0b58002c623>:0
user@pascaller:~/workspace/pascalabc/pascalabcnet$
Ну, и как оживить среду? У ребёнка лочка на это чудо на занятиях. Windows не предлагать ни в каком виде – ни в виртуалке, ни на голом железе.