Closed JacobHacker closed 8 years ago
Sorry, I wrote that from something I seen on the FreePascal wiki, it seems to be incorrect.
MerlijnWajer has fixed it.
Can you try now?
That seems to have fixed, many thanks :)
Although I am now getting this error, perhaps I should create another issue? Everything compiles, and when I run it it creates this error log:
Program exception!
Stacktrace:
Exception class: EAccessViolation
Message: Access violation
$080603A1
$0833FB13 TPSTHREAD__GETEXPORTEDMETHODS, line 615 of ~/src/Simba/Units/MMLAddon/PSInc/psexportedmethods.inc
$0809BFAC TSIMBAFORM__MENUITEMFILLFUNCTIONLISTCLICK, line 3122 of simbaunit.pas
$0809DC13 TSIMBAFORM__FUNCTIONLISTSHOWN, line 3701 of simbaunit.pas
$08097949 TSIMBAFORM__LOADFORMSETTINGS, line 1743 of simbaunit.pas
$0809B393 TSIMBAFORM__FORMCREATE, line 2851 of simbaunit.pas
$08082F3E TCUSTOMFORM__DOCREATE, line 954 of ./include/customform.inc
$08081408 TCUSTOMFORM__AFTERCONSTRUCTION, line 155 of ./include/customform.inc
$080883F9 TFORM__CREATE, line 3066 of ./include/customform.inc
$08091074 TAPPLICATION__CREATEFORM, line 2166 of ./include/application.inc
Simba Version: 1000
Are you sure you pulled everything? no issues?
You shouldn't be getting that issue, I've fixed it.
Deleting git folder and re-pulling
After compilation I get this:
Setting ScriptManager/URL to http://127.0.0.1/
Setting ScriptManager/Path to Scripts/ScriptStorage.xml
Setting ScriptManager/File to ScriptManager.xml
Setting ScriptManager/FirstRun to True
Setting LastConfig/MainForm/Position to
Setting Settings/MainForm/NormalSize to 739:555
Setting LastConfig/MainForm/State to normal
Setting LastConfig/MainForm/FunctionListShown to True
Setting LastConfig/MainForm/FunctionListShown to False
*** glibc detected *** /home/jacob/src/Simba/Simba: corrupted double-linked list: 0x08e426c8 ***
Then when I try to run Simba I get this (in an error log):
Program exception!
Stacktrace:
Exception class: EAccessViolation
Message: Access violation
$080603A1
$0833FB13 TPSTHREAD__GETEXPORTEDMETHODS, line 615 of /home/jacob/src/Simba/Units/MMLAddon/PSInc/psexportedmethods.inc
$0809BFAC TSIMBAFORM__MENUITEMFILLFUNCTIONLISTCLICK, line 3122 of simbaunit.pas
$0809DC13 TSIMBAFORM__FUNCTIONLISTSHOWN, line 3701 of simbaunit.pas
$08097949 TSIMBAFORM__LOADFORMSETTINGS, line 1743 of simbaunit.pas
$0809B393 TSIMBAFORM__FORMCREATE, line 2851 of simbaunit.pas
$08082F3E TCUSTOMFORM__DOCREATE, line 954 of ./include/customform.inc
$08081408 TCUSTOMFORM__AFTERCONSTRUCTION, line 155 of ./include/customform.inc
$080883F9 TFORM__CREATE, line 3066 of ./include/customform.inc
$08091074 TAPPLICATION__CREATEFORM, line 2166 of ./include/application.inc
Simba Version: 1000
You shouldn't be running simba on Linux with PascalScript selected.
Try Script->Interpreter->Lape, then see if you get the same issue with TLPThread_GetExportedMethods()
The error is as soon as I start it, so no way to select interpreter. (Does it use PascalScript in startup?)
Yes PS is selected by default but I see no reason why you should be getting this issue on startup.
I'll look into it in a minute, gotta get my Mint virtual machine out.
You can also boot from jump drive :)
I also ran into this exact issue when I tried to compile Simba on ARM. Didn't see it in my x86 install though. Maybe a specific FPC or Lazarus version issue. What versions are you using?
The github version (whichever branch is default)
I was talking about FPC and Lazarus versions. Any clue?
Is this still an issue? I presume it is not.
No clue, my builds (x64, x86, ARM) are all fine, but it might be a laz/fpc version issue. We should set a specific version and force all devs/users (that compile) to use it
I'm going to assume the lack of updates means you've figured it out. We also cannot reproduce the issue.
In mmlpsthread:
Specifically this line:
~/src/Simba/Units/MMLAddon/mmlpsthread.pas(1302,46) Error: Identifier not found "pthread_self"
Thoughts?
I still don't realize how Gentoo will compile it easily, and Ubuntu is taking forever to get working.