LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2014, 08:12 AM   #1
eigernorth
LQ Newbie
 
Registered: May 2007
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
ghb segfaults on encoding start


Hi,

I am on Slackware 14.1 (not current) with KDE and am a bit puzzled. Using Eric's handbrake-0.9.9 package, everything is fine.

But using my own build made from Slackbuilds, I get a segfault like this (using Eric's package or my own, I use the same encoding settings): starting ghb is fine, setting up the encode is also fine. Then, on clicking start, it looks like ghb is doing it's thing. But when the progress bar (at the bottom of the ghb window) is about to come on, ghb crashes. All I then see is a segfault message in the console -- just 'segfault', nothing else.

This is what I do when compiling myself from Slackbuilds for 14.1:

1) build and install libass-0.10.2
2) download handbrake-0.9.9 and the listed dependencies into one folder
3) ./HandBrake.Slackbuild -- nothing recognizably wrong when watching the build messages
4) run ghb from console OR HandBrake from start menu

Thanks,
eighernorth
 
Old 03-27-2014, 01:16 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,760

Rep: Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563Reputation: 7563
have you tried strace? Probably it tries to load an incompatible library...
 
Old 03-27-2014, 09:59 AM   #3
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 303

Rep: Reputation: Disabled
http://comments.gmane.org/gmane.linu...ilds.user/9454
This is a known issue, you can find more discussion on it if you want to read more. I just use Eric's package as his doesn't suffer from it.
 
Old 03-27-2014, 12:49 PM   #4
Toutatis
Member
 
Registered: Feb 2013
Posts: 419

Rep: Reputation: Disabled
I have used a svn (or github I don't remember) version and the same adapted slackbuild, and everything works very well. With version 0.9.9 had some problems, this is why I used current version, which solved the problems.
 
Old 04-06-2014, 03:52 PM   #5
eigernorth
LQ Newbie
 
Registered: May 2007
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: Disabled
Hi guys, thanks for the replies.

Compyling from git prodiced a make error and I filed a bug report.

'strace ghb' still does not say much, at least not to me:

poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=15, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=19, events=POLLIN}, {fd=16, events=POLLIN}], 7, 0) = 2 ([{fd=5, revents=POLLIN}, {fd=16, revents=POLLIN}])
read(5, "\2\0\0\0\0\0\0\0", 16) = 8
????( <unfinished ...>
+++ killed by SIGSEGV +++
[1]+ Segmentation fault ghb
Segmentation fault

But this one helped, posted by enigma:
http://comments.gmane.org/gmane.linu...ilds.user/9454

> For a quick/dirty fix I added the following as line 46 to HandBrake.Slackbuild which solved the problem on my two machines.

> sed -e "13iX264.CONFIGURE.extra += --extra-cflags=-fno-aggressive-loop-optimizations" -i contrib/x264/module.defs
 
  


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
Chinese encoding not encoding in kate linuxmandrake Linux - Software 1 12-12-2010 08:50 AM
HandBrake (ghb) and Current stormtracknole Slackware 5 11-21-2010 07:11 PM
BlueZ 4.60-1 works great and after a week it segfaults and won't start Giorgio Debian 2 05-10-2010 11:14 AM
Segfaults when trying to print RemusX2 Linux - Software 5 11-13-2007 06:30 PM
UT2004 segfaults at start keripukki Linux - Games 0 12-18-2004 10:14 AM

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

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