Comments (17)
My lord, forsooth behold a genius, he hath taken nary six monthen for to patchen just twelf byten!
It be told the gnomes of elfland hath strictethened theirly p_align necessitibilitationes, hallelulah!
Anyway, crisis over, I hope.
The manual patches I made to the elf binaries have yet to be realised in the hll source code.
I have uploaded patched 1.0.1 binaries, but interpretation-only, with any compilation still
expected to segfault. Will get to work on building/testing/shipping 1.0.2 straight away.
from phix.
Same problem on Fedora 36.
from phix.
Sorry, could have sworn blind I'd posted a link here to https://openeuphoria.org/forum/136973.wc#136973
Probably something on https://kernelnewbies.org/LinuxChanges - one of the tips on that site is to run something called dmesg...
from phix.
tried dmesg ... gives this:
[ 107.121214] p[4370]: segfault at 0 ip 00007f3d725b8350 sp 00007ffea111fba0 error 4 in ld-linux-x86-64.so.2[7f3d72598000+2a000]
[ 107.121230] Code: ff ff 00 45 31 db 48 8d 15 c9 ac 00 00 4c 8d 05 46 8f 01 00 4c 8d 2d 1f 8f 01 00 49 89 c2 48 8d 58 ff 48 89 f8 49 f7 da 66 90 <8b> 08 83 f9 07 77 19 85 c9 74 45 83 f9 07 77 40 48 63 0c 8a 48 01
but I don't know how to continue from this (not a *nix system guy) ...
from phix.
tried to step back to 20.04.x ... installed 20.04.5 ... same issue ! :-(
can't remember the exact 20.04 version I had before ...
from phix.
Can everyone run quickly run "ldd --version" (please) to check whether as I suspect there is indeed a correlation between glibc 2.36 and Phix segfaulting?
from phix.
I have now 2.31 with 20.04.5
from phix.
2.34 with Fedora 35
2.35 with Fedora 36
from phix.
Update: on a fresh mint 21 cinnamon install, ./p64 segfaults, but /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ./p64 works...???
from phix.
p executable doesn't seem to work in Ubuntu 20.04 either. I'm trying to build a phix docker image, and it crashes when I run p -test
with a segmentation fault. However, if I do the /usr/lib/...
trick, it works fine 🤷
from phix.
However, /usr/lib/... p -c
segfaults
from phix.
You might be able to do p -c -norun, and then the /usr/lib/... trick....
I need to go and chase this up again, don't I?
from phix.
p -c -norun
seemed to work. Then I was able to run the executable using the /usr/lib
trick.
from phix.
works fine ... thx for your efforts
cheers
Otto
from phix.
@petelomax I see that 1.0.2 just came out. Do compiled executable still have to be run through /usr/lib/...?
from phix.
@petelomax It looks like this problem may be fixed. I'm able to run p
and the compiled executables without having to use the /usr/lib/... trick. Thanks!
from phix.
Been offline for 8 days (both O2 & BT down, lightening strike on local mast/doobrie, methinks). 1.0.2 has been out a fortnight and seems fine, so closing this issue
from phix.
Related Issues (15)
- autoinclude ubits.e HOT 1
- Strange Error when attempting to use 8.2 HOT 5
- t64 test fails with 0.8.2 HOT 1
- t42 failed HOT 1
- weird memory violation HOT 3
- problem with trace and function parameters HOT 1
- 64 bit crash on Ubuntu with uninitialized vars HOT 1
- Show program output in edita pane HOT 1
- seg fault with printing uninitialized string HOT 4
- Cross compilation? HOT 2
- eval.e missing in packages HOT 1
- Where I can ask Phix questions? HOT 4
- A little mistake on "Readme" section HOT 2
- phix 1.0.2 download doesn't seem to be available HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phix.