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 12-26-2018, 02:46 PM   #1
The_Dark_Passenger
Member
 
Registered: Apr 2018
Distribution: Slackware64 14.2 & -Current
Posts: 93

Rep: Reputation: Disabled
Handbrake segmentation fault on -current


Hello,

I have installed Handbrake from here, http://www.slackware.com/~alien/slac...pkg64/current/ on my Slackware64 -current installation. It starts fine, however whenever I try to choose a .mkv file as a video source, it crashes with a segmentation fault. I've tried launching it from the terminal with the debug option, however it doesn't provide anymore information.

I've done some searching, and I don't see anything recent regarding this issue on Slackware.

I was wondering, am I missing any dependencies, or other packages required for it to run? Otherwise, I have a pretty stock full Slackware64 -current installation. Also, my Slackware64 -current install is up to date.

Any help would be greatly appreciated.
 
Old 12-26-2018, 03:27 PM   #2
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
There are no dependencies for that. You can always verify this with any of his packages by checking out the .meta file in the folder you download the package. If there are any packages listed in the REQUIRES: section, you would need to install those (and those dependencies might have dependencies of their own... I'm not sure if he keeps them as first-level dependencies like SBo or if he'll include all of them).

But looking at the package compilation date, it was compiled back at the beginning of October, so it's possible something in Slackware has changed since that time, preventing it from working until it is recompiled. You could try grabbing the source and building it yourself to see if that works.

It is also possible this is related to something on your computer. Make sure you not only have a fully "updated" system, but that you've also installed any new packages that have been added to Slackware.

Final, unrelated to your issue, note, the package you downloaded is is limited package. This is due to software patents in the US and other countries preventing proper distribution of binaries containing patented items. He has packages available on different servers that enable those patent restricted items, providing more support for file formats. The packages that have potentially patent restricted items can be found in his "restricted" repo.
 
Old 12-26-2018, 04:50 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,688

Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
I agree with bassmadrigal, build it from source and see if that fixes the problem.

download,build, and install source like this (as root)...
Code:
cd /tmp
lftp -c "open http://bear.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/handbrake/ ; mirror build"
cd build
chmod +x handbrake.SlackBuild
./handbrake.SlackBuild
upgradepkg --reinstall --install-new /tmp/handbrake-1.1.2-x86_64-1alien.txz
 
3 members found this post helpful.
Old 12-29-2018, 07:51 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Interestingly compile fails on -current for me:

https://pastebin.com/BXb7jGVX

But I don't have a particularly 'clean' compiling environment...
 
Old 12-29-2018, 08:08 PM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,688

Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
I actually had the same problem, I was not able to compile the last two releases of Alien Bob's Handbrake's builds on my machine, however they compiled fine on a clean 14.2 VM. Obviously something I did was the problem, but I didn't care enough to figure it out since that is the whole reason a I always keep a clean throw away VM around.
 
1 members found this post helpful.
Old 12-29-2018, 09:49 PM   #6
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
did what Daedra suggested, skipped upgradepkg...

Slackware package /tmp/handbrake-1.1.2-x86_64-1alien.txz created.

PRETTY_NAME="Slackware 14.2 x86_64 (post 14.2 -current)" via qemu
 
Old 12-31-2018, 06:49 AM   #7
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I built Handbrake-1.2.0 using ponce's SlackBuild script for -current. Building got stuck on lines 72-74 but as a quick and dirty workaround I simply commented them out one after another:
Quote:
# --disable-libav-aac \
# --enable-x265 \
# --arch=$ARCH
after which it built OK.
No problems ripping commercial dvds and encoding to m4v and mkv. No problems decoding mkv files either
 
Old 12-31-2018, 07:00 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by kgha View Post
I built Handbrake-1.2.0 using ponce's SlackBuild script for -current. Building got stuck on lines 72-74 but as a quick and dirty workaround I simply commented them out one after another:

after which it built OK.
No problems ripping commercial dvds and encoding to m4v and mkv. No problems decoding mkv files either
FYI I haven't modified HandBrake in the unofficial repository for current, the script is the same as the one in the repository for 14.2...

EDIT: I just tried it on slackware64-current and
Code:
Built package: HandBrake-1.0.7-x86_64-1ponce.txz

Last edited by ponce; 12-31-2018 at 08:03 AM.
 
Old 12-31-2018, 08:41 AM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
recompile it
 
Old 12-31-2018, 08:43 AM   #10
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by kgha View Post
No problems decoding mkv files either
Just being a bit of an arse here, but technically .mkv files are not "decoded". MKV is really just a container sort of like an archive. It is the video files inside the .mkv that would require decoding and can be one of many formats like H.264/5 etc.

https://en.wikipedia.org/wiki/Matroska
https://en.wikipedia.org/wiki/Digital_container_format
 
Old 12-31-2018, 09:27 AM   #11
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
@Skaendo:
You're perfectly right and my wording was careless. Tried a .mkv file as source since that what caused trouble for the OP. But as you say, it might depend on the encoding of the .mkv file in question.
 
Old 12-31-2018, 11:17 AM   #12
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by andrew.46 View Post
Interestingly compile fails on -current for me:

https://pastebin.com/BXb7jGVX

But I don't have a particularly 'clean' compiling environment...
just to report that I got that too in a "not-clean" installation of slackware64-current when trying to build handbrake from Alien Bob's SlackBuild, but I just tried with a fresh installation and it built fine.
 
  


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] Handbrake and -current pchristy Slackware 11 12-13-2014 11:08 AM
HandBrake giving segmentation faults from SBo and Alien's script moisespedro Slackware 20 04-13-2014 08:37 AM
Problem with handbrake on Slackware64-current shotswell21 Slackware 3 06-24-2013 09:36 PM
HandBrake (ghb) and Current stormtracknole Slackware 5 11-21-2010 07:11 PM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM

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

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