LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-21-2013, 02:54 PM   #1
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Rep: Reputation: 2
Exclamation Emacs gobject segfault on 64-current 20130421


Title says it all. Definitely used to work. pprkut in ##slackware reports that it works in version 20130409.

Running under gdb doesn't produce many useful results, but shows the segfault to come from deep in libgobject.

Running emacs in console (-no-x11) works fine.

What are the next steps?

emacs-24.3-x86_64-2
 
Old 04-21-2013, 04:24 PM   #2
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
Re-tested on latest -current and it still works fine here. Do you have a special invocation you use? I'm no emacs user so I really have no clue about it...
 
Old 04-21-2013, 04:37 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 874

Rep: Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812Reputation: 1812
Works here, too. Are all of your other libraries up to date?
 
Old 04-22-2013, 03:11 AM   #4
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
Strange. Yes everything should be up to date. slackpkg has no interesting news and no missing packages with `install-new`, using alien's mirror. I have some blacklisted things, but I haven't touched that list in a long time and none of them are normal libraries. Just xfce/kde, the kernel, gcc and glibc because of multilib setup. Nothing related to gtk or gobject and definitely nothing changed since the last time I tried to use emacs a month ago.
 
Old 04-22-2013, 05:23 AM   #5
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
I'd say multilib then. glibc in -current changed and Eric just updated those yesterday. Can you check that?
 
Old 04-22-2013, 07:14 AM   #6
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
Checked that I was up to date with multilib as well.

Backtrace from emacs.

http://vpaste.net/P4lEL

I tested on a new vanilla user and it *does* work. So something crazy has happened to my setup. I have no idea what these css errors are. Something with gtk theming I guess. Investigating...
 
Old 04-22-2013, 08:01 AM   #7
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 293

Rep: Reputation: 166Reputation: 166
Hello,

Quote:
Originally Posted by hiptobecubic View Post
Backtrace from emacs.

http://vpaste.net/P4lEL

I tested on a new vanilla user and it *does* work. So something crazy has happened to my setup. I have no idea what these css errors are. Something with gtk theming I guess. Investigating...
I found this post about the same issue (but not with emacs). It seems this is related to the theme (unico) you are using which is probably not compatible with gtk+3 3.6

Hope this helps.

Greetings

--
SeB
 
Old 04-22-2013, 08:07 AM   #8
pataphysician
Member
 
Registered: Oct 2012
Posts: 46

Rep: Reputation: Disabled
Emacs 24.3 is the first emacs that will use gtk+ 3 by default, unless specified. The Slackbuild in current does not specify to force to gtk+ 2, but you could probably change the slackbuild from
--with-x-toolkit=gtk

which is non-specific and will default to gtk+ 3 if available, to

--with-x-toolkit=gtk2

Gtk+3 has numerous massive themeing changes in each release, making it very hard for themes to work without problems, as theme makers can't keep up. It would probably be better to just compile with gtk+2
 
1 members found this post helpful.
Old 04-22-2013, 09:53 AM   #9
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
Thanks everyone. Trying to rebuild it now with gtk2. Can anyone else build emacs on 64-current? It appears there's a library issue. New errors linking against imagemagick. Undefined references everywhere.

http://vpaste.net/D7P06

Using
Code:
imagemagick-6.8.4_1-x86_64-1

Last edited by hiptobecubic; 04-22-2013 at 09:54 AM. Reason: code annotation
 
Old 04-22-2013, 10:06 AM   #10
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
cmyster in ##slackware confirms that image.c fails miserably with the same errors.
 
Old 04-22-2013, 10:38 AM   #11
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
I just tried using HEAD from git, but still not updated for imagemagick.
 
Old 04-22-2013, 11:18 AM   #12
cmyster
Member
 
Registered: Oct 2004
Location: Israel
Distribution: Slackware64-current
Posts: 37

Rep: Reputation: 0
Hi,
if you run in current:
echo `pkg-config --cflags --libs MagickWand`
you get:
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -lMagickWand-6.Q16 -lMagickCore-6.Q16
if you do the same in the downgraded version from 14.0 you see the same 2 libs "-l" (minus 6.Q16)
Now, in the configure part, if using the downgraded version of imagemagic you see:
checking for Wand .... -I/usr/include/ImageMagick-6 ' LIBS='-lMagickWand -lMagickCore '
but in the configure part with current imagemagic you see:
checking for Wand .... -I/usr/include/ImageMagick-6 ' LIBS='-lMagickCore-6.Q16 '

missing one LIB?
 
Old 04-22-2013, 11:20 AM   #13
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,457

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
https://lists.gnu.org/archive/html/h.../msg00153.html
 
2 members found this post helpful.
Old 04-22-2013, 11:24 AM   #14
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
Aha! Thanks ponce. Testing it now.
 
Old 04-22-2013, 12:20 PM   #15
hiptobecubic
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Original Poster
Rep: Reputation: 2
Ok so making the change in that patch and passing --without-makeinfo to configure, I got it to build.

I guess this needs to be changed in the emacs slackbuild until upstream fixes it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Segfault with E17 on Slackware --Current frankbell Slackware 5 03-26-2013 07:19 PM
[SOLVED] libc segfault after upgrade to -current. upowerd issue? Martinus2u Slackware 4 07-28-2012 04:10 PM
[SOLVED] pygobject and gobject-introspection in -current audriusk Slackware 2 07-22-2012 11:16 AM
[SOLVED] Xorg segfault after latest upgrade -current yenn Slackware 14 05-14-2012 05:41 PM
Xterminal + current GTK = segfault crxssi Linux - Software 3 01-28-2006 06:58 PM


All times are GMT -5. The time now is 11:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration