LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   emacs org-mode crashes in slackware64-current (https://www.linuxquestions.org/questions/slackware-14/emacs-org-mode-crashes-in-slackware64-current-4175731971/)

slac-in-the-box 12-19-2023 04:59 PM

emacs org-mode crashes in slackware64-current
 
Hello LQ World:

Happy Holidays! I gift you a puzzle:

Can anbody reproduce this?

On a cloud vps, on Dec. 18th, 2023, I upgraded to Slackware64-current, running kernel vmlinuz-generic-6.6.7 with an initrd.

Whenever I try to open a file ending in .org (which automatically starts emacs up in org-mode) or if I try opening emacs first, and then use M-X (meta-x) and type org-mode, emacs crashes with this error:

Code:

slac-in-the-box@cloud-vps:/ ==> emacs
Fatal error 6: Aborted
Backtrace:
emacs[0x57af43]
emacs[0x426cb9]
emacs[0x42728c]
emacs[0x42c06c]
emacs[0x43a1ef]
emacs[0x56b0ce]
emacs[0x56b751]
emacs[0x56d777]
emacs[0x5dd7df]
emacs[0x559186]
emacs[0x5dd743]
emacs[0x559121]
emacs[0x55d92a]
emacs[0x55dc9f]
emacs[0x42f610]
/lib64/libc.so.6(+0x27af7)[0x7f9843427af7]
/lib64/libc.so.6(__libc_start_main+0x85)[0x7f9843427bb5]
emacs[0x42fb81]
zsh: IOT instruction  emacs

I was using zsh, but error happened in bash as well.

If it's not me, I might downgrade back to slackware64-15.0 until its worked out, because I use org-mode regularly.

RandomTroll 12-19-2023 10:56 PM

I'd never used org mode. I keep emacs open all the time. I tried to edit 'banana.org', got:
Quote:

Fatal error 6: Aborted
Backtrace:
emacs[0x57af43]
emacs[0x426cb9]
emacs[0x42728c]
emacs[0x42c06c]
emacs[0x43a1ef]
emacs[0x56b0ce]
emacs[0x56b751]
emacs[0x56d777]
emacs[0x5dd7df]
emacs[0x559186]
emacs[0x5dd743]
emacs[0x559121]
emacs[0x55d92a]
emacs[0x55dc9f]
emacs[0x42f610]
/lib64/libc.so.6(+0x27af7)[0x7fbcff1f2af7]
/lib64/libc.so.6(__libc_start_main+0x85)[0x7fbcff1f2bb5]
emacs[0x42fb81]
Aborted
!!

Just switching to org mode makes it happen.

I build my own kernel, upgrade Slackware daily.

slac-in-the-box 12-20-2023 03:33 AM

First I removed the emacs package, and then I rebuilt it using the same source and slackbuild script in slackware64-current/source/e/emacs, and the same error recurred.

Then, I removed that emacs package, and cloned emacs' current git repository, (git clone https://git.savannah.gnu.org/git/emacs.git), and then I used same ./configure options that were in the slackbuild script, except used --without-x, because I am using headless over ssh remote connection to vps, so don't need x. I followed up with the make and a make install to a DESTDIR in /tmp (I called it emacs-git), and then I moved to that directory and created slackware package with makepkg, and installed this emacs-git package, and: org-mode works again!

So I guess either the emacs source in --current needs to be updated, or that error was something to do with the x component that I did without. Regardless of what it is, I'm back in the saddle.

Cheers.

jayjwa 12-20-2023 08:32 AM

When I tried yesterday with current and kernel.org 6.6.6, it worked for me.

RandomTroll 12-21-2023 10:57 PM

I doubt this is Slackware-specific. I'd ask in software. Kernel 6.6.8 made no difference.

RandomTroll 03-25-2024 10:12 AM

Today's emacs now works.

GazL 03-25-2024 10:52 AM

Quote:

Originally Posted by RandomTroll (Post 6491831)
Today's emacs now works.

The one shipped in patches/ for 15.0 is still broken.

RandomTroll 03-26-2024 12:01 AM

Quote:

Originally Posted by GazL (Post 6491840)
The one shipped in patches/ for 15.0 is still broken.

Perhaps the change will propagate thither eventually. Keep hope alive.


All times are GMT -5. The time now is 12:58 PM.