LinuxQuestions.org
Review your favorite Linux distribution.
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 11-06-2015, 08:20 PM   #1
KaMii
LQ Newbie
 
Registered: Jul 2010
Distribution: Gentoo, openSUSE, Slackware
Posts: 8

Rep: Reputation: 0
-current64 aclocal segfault


just type aclocal --version and you get this nice little segfault in dmesg

[ 9667.668753] aclocal[6105]: segfault at 5 ip 00007fb985585f03 sp 00007ffed8f35dc0 error 4 in threads.so[7fb98557f000+9000]

Versions installed:
automake-1.15-noarch-1
perl-5.22.0-x86_64-1

Not sure if this is an issue just for me or if its for everyone. If its only on my system, I have no idea what I can to do fix it.

-KaMii
 
Old 11-06-2015, 09:24 PM   #2
Zexuo
Member
 
Registered: Mar 2015
Location: Florida
Distribution: Slackware
Posts: 64

Rep: Reputation: Disabled
FWIW I get no segfault with `aclocal --version`.
 
Old 11-06-2015, 10:54 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Didn't happen on my system... Running the latest version of Slackware64-current with the 6 NOV update (mozilla-nss).

Code:
root@dead-therapist:~# aclocal --version
aclocal (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
root@dead-therapist:~# dmesg | tail
[94284.276143] usb 5-3: new full-speed USB device number 7 using ohci-pci
[94284.428766] usb 5-3: New USB device found, idVendor=046d, idProduct=c52b
[94284.428774] usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[94284.428777] usb 5-3: Product: USB Receiver
[94284.428780] usb 5-3: Manufacturer: Logitech
[94284.450893] logitech-djreceiver 0003:046D:C52B.000C: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:12.0-3/input2
[94284.565260] input: Logitech M310 as /devices/pci0000:00/0000:00:12.0/usb5/5-3/5-3:1.2/0003:046D:C52B.000C/0003:046D:1024.000D/input/input13
[94284.565485] logitech-hidpp-device 0003:046D:1024.000D: input,hidraw1: USB HID v1.11 Mouse [Logitech M310] on usb-0000:00:12.0-3:1
[94284.572797] input: Logitech K520 as /devices/pci0000:00/0000:00:12.0/usb5/5-3/5-3:1.2/0003:046D:C52B.000C/0003:046D:2011.000E/input/input14
[94284.572974] logitech-hidpp-device 0003:046D:2011.000E: input,hidraw4: USB HID v1.11 Keyboard [Logitech K520] on usb-0000:00:12.0-3:2
 
Old 11-06-2015, 11:00 PM   #4
KaMii
LQ Newbie
 
Registered: Jul 2010
Distribution: Gentoo, openSUSE, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
strace

#strace aclocal 2>&1 | tail -n 10

futex(0x7f98f38150c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/local/lib64/perl5/auto/threads/threads.so", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220&\0\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0555, st_size=46480, ...}) = 0
mmap(NULL, 2132896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7f98f2900000
mprotect(0x7f98f2909000, 2093056, PROT_NONE) = 0
mmap(0x7f98f2b08000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x8000) = 0x7f98f2b08000
close(6) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x5} ---
+++ killed by SIGSEGV +++


kernel perhaps? Im using 4.2.5

-KaMii
 
Old 11-06-2015, 11:21 PM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Works here as well. I'm using the stock 4.1.12 generic kernel.

Code:
$ aclocal --version
aclocal (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>
 
Old 11-06-2015, 11:23 PM   #6
KaMii
LQ Newbie
 
Registered: Jul 2010
Distribution: Gentoo, openSUSE, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Ok we get that its working on other systems, we don't need anymore of these posts. What caused it to break on mine? Ideas?
 
Old 11-07-2015, 12:09 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You already suggested the kernel... have you tried reverting back to the stock kernel?
 
Old 11-07-2015, 12:45 AM   #8
KaMii
LQ Newbie
 
Registered: Jul 2010
Distribution: Gentoo, openSUSE, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Got it working! so solved and here is the issue:

Purge all perl modules first before upgrading perl, I had an old module hanging around that was causing segfaults. I have no idea which one it was, it was one that was installed by cpan. And since CPAN was also segfaulting I had to fix the issue by first removepkg perl then physically deleting every perl directory that was still hanging around, then finally reinstalling perl.
 
Old 11-07-2015, 12:46 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
hi KaMii, looking at this
Code:
/usr/local/lib64/perl5/auto/threads/threads.so
I suppose you have another perl installed in /usr/local: what does
Code:
which perl
perl -v
say?

EDIT: ops, just read above.
 
  


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] kmix problem in kde -current64 cesarion76 Slackware 8 05-16-2013 11:06 AM
Autokey and current64 charlie_lab Slackware 4 03-20-2010 03:56 PM
Time Didn't Change Under -current64 rmjohnso Slackware 8 03-19-2010 07:22 PM
[SOLVED] Dbus and wicd in -current64 manwichmakesameal Slackware 7 07-08-2009 04:39 PM
rpm broken in -current and -current64? rvdboom Slackware 11 06-17-2009 05:05 AM

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

All times are GMT -5. The time now is 10:36 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