LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   new emacs-no-X11 crashes on org files (https://www.linuxquestions.org/questions/slackware-14/new-emacs-no-x11-crashes-on-org-files-4175735261/)

Tonus 03-24-2024 06:26 PM

new emacs-no-X11 crashes on org files
 
Hi there

I'm used to launch my emacs with no window and hitted crashes on org files. Whenever I try to launch one
Code:

Fatal error 6: Aborted
Backtrace:
emacs[0x577bf3]
emacs[0x425b3e]
emacs[0x4260b3]
emacs[0x42ae75]
emacs[0x438ba6]
emacs[0x568114]
emacs[0x5686bb]
emacs[0x56a3d8]
emacs[0x5d813f]
emacs[0x555f86]
emacs[0x5d80a3]
emacs[0x555f19]
emacs[0x55a80c]
emacs[0x55ab77]
emacs[0x42e038]
/lib64/libc.so.6(__libc_start_main+0xcd)[0x7f41f813303d]
emacs[0x42e5ba]
Abandon

It works with X...

RandomTroll 03-24-2024 10:30 PM

We've seen this before: https://www.linuxquestions.org/quest...p?t=4175731971

It still happens to me. I don't use org files, so I don't care, but, of course, it should be solved.

Do you have to run in org mode? I just renamed an HTML file to bummer.org, then linked it to bummer.txt. emacs crashes on bummer.org, works on bummer.txt

I tried it on an Ubuntu machine, which doesn't have the problem.

Tonus 03-25-2024 01:27 AM

Thank you for the heads-up.

I do not use current since 15.0 and for now could go with X11. Still have to give a go with self-compiled package.

GazL 03-25-2024 04:06 AM

1 Attachment(s)
It's not just the no-X11 build, the --with-X build also fails if you run it as emacs -nw /tmp/boom.org


If you simplify the slackbuild to only build the X11 version the problem goes away, so I think it might have something to do with this double-build thing that Pat does.

I'll attach the modified X11 only slackbuild I used for those who need it.

GazL 03-25-2024 04:24 AM

Also tried the simplified slackbuild with "--without-x" and no boom either.

RandomTroll 03-25-2024 09:25 AM

The new emacs this morning works on .org files for me. I noticed because the new emacs links to libgccjit, a library I hadn't installed.

jmccue 03-25-2024 10:14 AM

Quote:

Originally Posted by RandomTroll (Post 6491819)
The new emacs this morning works on .org files for me. I noticed because the new emacs links to libgccjit, a library I hadn't installed.

How do you see that ?

When I do a ldd(1) (and objdump) on /usr/bin/emacs-29.3-with-x11, /usr/bin/emacs-29.3-no-x11 and /usr/bin/emacsclient that lib does not show up for me.

I do not use org mode so I have no way to test. Someday I should play with it :)

RandomTroll 03-26-2024 12:00 AM

Quote:

Originally Posted by jmccue (Post 6491832)
How do you see that ?

I only install stuff I need. I had never installed libgccjit. After this morning's upgrades, emacs wouldn't run, complained that there was no libgccjit. ldd returns a dependency for me.

Quote:

Originally Posted by jmccue (Post 6491832)
I do not use org mode so I have no way to test.

You don't need to use org mode. Just try to open a file with a .org extension (can be any kind of file) or, if you're an emacs expert, switch to org mode.


All times are GMT -5. The time now is 02:44 PM.