LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-24-2024, 06:26 PM   #1
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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...
 
Old 03-24-2024, 10:30 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,967

Rep: Reputation: 271Reputation: 271Reputation: 271
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.

Last edited by RandomTroll; 03-24-2024 at 10:42 PM.
 
Old 03-25-2024, 01:27 AM   #3
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405

Original Poster
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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.
 
Old 03-25-2024, 04:06 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
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.
Attached Files
File Type: txt emacs.Slackbuild.txt (5.7 KB, 14 views)
 
Old 03-25-2024, 04:24 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Also tried the simplified slackbuild with "--without-x" and no boom either.
 
Old 03-25-2024, 09:25 AM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,967

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
Old 03-25-2024, 10:14 AM   #7
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 690
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by RandomTroll View Post
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
 
Old 03-26-2024, 12:00 AM   #8
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,967

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by jmccue View Post
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 View Post
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.
 
  


Reply



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] emacs org-mode crashes in slackware64-current slac-in-the-box Slackware 7 03-26-2024 12:01 AM
[SOLVED] emacs-no-x11 won't launch :emacs.pdmp not build for this executable Tonus Slackware 1 01-31-2021 03:35 PM
[SOLVED] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
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

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

All times are GMT -5. The time now is 05:33 PM.

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