LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2023, 04:59 PM   #1
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
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.
 
Old 12-19-2023, 10:56 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
2 members found this post helpful.
Old 12-20-2023, 03:33 AM   #3
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780

Original Poster
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
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.
 
1 members found this post helpful.
Old 12-20-2023, 08:32 AM   #4
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 774

Rep: Reputation: 243Reputation: 243Reputation: 243
When I tried yesterday with current and kernel.org 6.6.6, it worked for me.
 
Old 12-21-2023, 10:57 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
I doubt this is Slackware-specific. I'd ask in software. Kernel 6.6.8 made no difference.
 
Old 03-25-2024, 10:12 AM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
Today's emacs now works.
 
Old 03-25-2024, 10:52 AM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by RandomTroll View Post
Today's emacs now works.
The one shipped in patches/ for 15.0 is still broken.
 
Old 03-26-2024, 12:01 AM   #8
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by GazL View Post
The one shipped in patches/ for 15.0 is still broken.
Perhaps the change will propagate thither eventually. Keep hope alive.
 
  


Reply

Tags
org-mode, slackware64-current



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware64-current v.s. Slackware64-live-current for installing onto main PC? naarter Slackware 21 06-16-2023 05:11 AM
[SOLVED] SCIM, xterm, emacs and Firefox in Slackware64 current rlx Linux - Software 2 09-26-2015 10:31 PM
How can I get emacs -nw when I call emacs from a terminal but GUI emacs elsewhere? Blackened Justice Linux - Newbie 4 09-08-2011 07:57 AM
emacs in terminal-mode constrains output to 80 columns (emacs bug, or watch bug?) jgombos Linux - Software 1 06-17-2011 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration