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 04-23-2015, 08:20 AM   #1
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Rep: Reputation: Disabled
Program segfaults after 21 April update in -current


Hello. I'm using Slackware-current, 32-bit.
I launched game's updater, but it doesn't run due to segmentation fault.

I've tried to run it with gdb:

Code:
$ gdb updater
gdb: symbol lookup error: /usr/lib/libgc.so.1: undefined symbol: GC_setup_mark_lock
Any ideas?
 
Old 04-23-2015, 04:56 PM   #2
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Original Poster
Rep: Reputation: Disabled
ldd output:

Code:
$ ldd updater
	linux-gate.so.1 (0xb7785000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7758000)
	libz.so.1 => /lib/libz.so.1 (0xb7742000)
	libc.so.6 => /lib/libc.so.6 (0xb75aa000)
	/lib/ld-linux.so.2 (0xb7786000)
 
Old 04-24-2015, 02:04 AM   #3
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by Jefferson View Post
Hello. I'm using Slackware-current, 32-bit.
I launched game's updater, but it doesn't run due to segmentation fault.

I've tried to run it with gdb:

Code:
$ gdb updater
gdb: symbol lookup error: /usr/lib/libgc.so.1: undefined symbol: GC_setup_mark_lock
Any ideas?

libgc has been upgraded from 7.2d to 7.4.2. What's the output of :

Code:
$ ls /var/log/packages/gc-*
--
SeB
 
Old 04-24-2015, 03:42 AM   #4
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phenixia2003 View Post
Hello,
libgc has been upgraded from 7.2d to 7.4.2. What's the output of :
Code:
$ ls /var/log/packages/gc-*
--
SeB
Hello. Here it is:
Code:
$ ls /var/log/packages/gc-*
/var/log/packages/gc-7.4.2-i486-1
I have updated all packages released on 21 April.
I have updated aaa_elflibs as well.

Last edited by Jefferson; 04-24-2015 at 03:46 AM.
 
Old 04-24-2015, 01:37 PM   #5
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
@Jefferson, please post the output of:
Code:
ls -l /usr/lib/libgc.*
 
Old 04-24-2015, 02:10 PM   #6
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
does this topic not fit into Things That Won't Run in -Current (21 April 2015).?
it might make sense to keep those problems together on one place
 
Old 04-24-2015, 05:39 PM   #7
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fskmh View Post
@Jefferson, please post the output of:
Code:
ls -l /usr/lib/libgc.*
Here it is:
Code:
$ ls -l /usr/lib/libgc.*
-rwxr-xr-x 1 root root    904 Mar 10 01:57 /usr/lib/libgc.la
lrwxrwxrwx 1 root root     14 Apr 22 22:11 /usr/lib/libgc.so -> libgc.so.1.0.3
lrwxrwxrwx 1 root root     14 Apr 22 22:11 /usr/lib/libgc.so.1 -> libgc.so.1.0.3
-rwxr-xr-x 1 root root 138560 Mar 10 01:57 /usr/lib/libgc.so.1.0.3
 
Old 04-24-2015, 05:49 PM   #8
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by a4z View Post
does this topic not fit into Things That Won't Run in -Current (21 April 2015).?
it might make sense to keep those problems together on one place
If moderators think it'll be better to merge topics - i don't mind. However, it's a proprietary game and it's not a part of distro.
 
1 members found this post helpful.
Old 04-24-2015, 06:20 PM   #9
sgmart
LQ Newbie
 
Registered: Jun 2012
Location: Mexico
Distribution: Slackware Linux
Posts: 9

Rep: Reputation: 0
What about inkscape?

I'm trying to compile inkscape from slackbuilds.org and after some minutes of build process, I got the same error. It says:

Code:
libgc.so: undefined reference to `GC_setup_mark_lock'
Any suggestion?

[SOLVED]

Thanks to @dugan, @ponce and the Slackware team. After upgrade of April 25, I have compiled and installed inkscape successfully

Last edited by sgmart; 04-25-2015 at 04:54 PM. Reason: Inkscape compiled and installed.
 
Old 04-24-2015, 06:40 PM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
This is just a guess from a person who doesn't run -current, but is the "noelision" patch that the -current SlackBuild applies to the gc source still needed?

The only hits I got indicate that that patch might be the cause:

https://github.com/archlinuxarm/PKGBUILDs/issues/971

Last edited by dugan; 04-24-2015 at 06:49 PM.
 
1 members found this post helpful.
Old 04-24-2015, 11:38 PM   #11
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
Quote:
Originally Posted by sgmart View Post
I'm trying to compile inkscape from slackbuilds.org and after some minutes of build process, I got the same error. It says:

Code:
libgc.so: undefined reference to `GC_setup_mark_lock'
Any suggestion?
apply latest updates to current and try again rebuilding inkscape: it should be fixed.
 
1 members found this post helpful.
Old 04-27-2015, 12:43 PM   #12
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
Quote:
Originally Posted by Jefferson View Post
Hello. I'm using Slackware-current, 32-bit.
I launched game's updater, but it doesn't run due to segmentation fault.

I've tried to run it with gdb:

Code:
$ gdb updater
gdb: symbol lookup error: /usr/lib/libgc.so.1: undefined symbol: GC_setup_mark_lock
Any ideas?
sorry, do you still have these problems after the latest updates to current (I mean the segfault and the error with gdb)?

Last edited by ponce; 04-27-2015 at 12:44 PM.
 
Old 04-27-2015, 05:29 PM   #13
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
sorry, do you still have these problems after the latest updates to current (I mean the segfault and the error with gdb)?
GDB works fine now, thanks. But the program is still segfaulting.
Here is the gdb output:
Code:
$ gdb -q updater
Reading symbols from updater...done.
(gdb) run
Starting program: /home/shagrath/Games/dontstarve/updater/22/updater
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
 
Program received signal SIGSEGV, Segmentation fault.
0xb7e2d5f4 in raise () from /lib/libc.so.6
(gdb) backtrace
#0  0xb7e2d5f4 in raise () from /lib/libc.so.6
#1  0x0804a69b in pyi_utils_create_child ()
#2  0x0805b787 in main ()
(gdb)
I reported about it on game's official forum. Also, same segfault happened before on some systems.
 
  


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] makemkv immediately segfaults on both 14.1 and current (multilib) moesasji Slackware 9 01-12-2015 12:42 PM
rdesktop segfaults in current cmyster Slackware 5 10-21-2013 10:19 PM
19th april -current update vs AMD's APU... FeyFre Slackware 2 04-29-2013 05:21 AM
[SOLVED] 64-current 2010-08-27 - segfaults - zlib? no: libxml2 ponce Slackware 13 06-21-2011 11:18 AM
[SOLVED] Ash segfaults on second backspace 64-current GazL Slackware 15 04-02-2010 04:40 AM

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

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