Re: Segmentation fault on exit on Linux

new topic     » goto parent     » topic index » view thread      » older message » newer message
PeteE said...

Hi Greg, I followed your instructions, and the editor works. The Euphoria lexer seems to be ok, since functions can be folded. But when I close the editor, I don't get a segfault. Ubuntu 15.04, 64-bit.

Interesting. I just ran a test on test VM running Ubuntu 14.04 64-bit and got the segfault I expected. I will try a few other distros see what I get.

Maybe it's actually a libc problem since that's what my backtrace was pointing to. That would also explain why I don't see a machine-level crash on Windows.

PeteE said...

Edit: the only difference is that I have to run it from the src directory: LD_LIBRARY_PATH=../bin eui editor.ex

Yes, you have to set LD_LIBRARY_PATH to use local shared libraries. But that's what editor.cmd and editor.sh do for you automatically. I updated the Running from Source document to better reflect this.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu