Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95906 - DivX-5.0.5 (aka divx4linux-20030428) segfaults on Pentium 4 Systems
Summary: DivX-5.0.5 (aka divx4linux-20030428) segfaults on Pentium 4 Systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://forums.divx.com/eve/ubb.x/a/tp...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 15:44 UTC by Wade Brown
Modified: 2005-10-30 11:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wade Brown 2005-06-12 15:44:12 UTC
Some discussion on page provided, but in general the latest version of DivX
causes a guaranteed segmentation fault when encoding on pentium 4 systems. 
Downgrading to the older version of DivX5 (aka divx4linux-20020418) solves this
problem but genreates hassles as several programs (mplayer, avifile and
transcode specifically) build fine on this older version of DivX, but have
dependencies on the newest version of divx4linux.

Reproducible: Always
Steps to Reproduce:
1. CPU == Pentium4
2. USE="divx4linux" emerge transcode
3. ~# transcode -i "foo.mpg" -y divx5 -o "bar.avi"

Actual Results:  
Segmentation Fault

Expected Results:  
foo.mpg should have been recoded in DivX5 into the file bar.avi

This is a known issue with the latest version of DivX, and general workarounds
include using XviD, but some hardware DVD players (read: mine) fail to play
XviD.  The best workaround I've had for now is to mask the faulty DivX in
/etc/portage/packages.mask and tweak into portdir_overlay ebuilds tweaked to
depend on the slightly older version.  So far applications that appear in
"equery depends divx4linux" have all run fine, including mplayer and transcode.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-02 15:38:09 UTC
x86 team: what do you think about this? 
 
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2005-09-24 16:38:30 UTC
"DivX is an MPEG-4 codec (meaning that video encoded with DivX is MPEG-4 video)
and all common video players for Linux have built-in MPEG-4 decoder from FFmpeg.
That's what they use for MPEG-4 playback (i.e. also for video encoded with DivX).

Actually, players based on xine do not and *cannot* use DivX at all (because
it's not needed for anything, there's not even an option to use DivX instead of
FFmpeg MPEG-4), so even if you'd install DivX, it would be totally useless.

You can also use XviD, which is yet another open-source MPEG-4 codec. Both
FFmpeg MPEG-4 and XviD are much better, more usable and useful in Linux than the
last divx4linux version.

So don't worry, you can play your DivX-encoded videos in Linux, without DivX.
The last Linux version of DivX is obsolete, very old and buggy (crashes on P4),
so it's not really usable these days for anything anyway. Maybe when they
release a new Linux version, it could be more useful and better, but just forget
about that old version."

http://forums.divx.com/groupee/forums/a/tpc/f/392105602/m/458105602

my personal preference would be to mask and drop divx4linux from the tree.  it
has outstanding bugs that aren't being addressed, upstream is dead, and there
are packages that provide the same functionality (ffmpeg).
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-26 06:28:19 UTC
I would agree.  Mask that puppy.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-10-21 17:27:21 UTC
Masked, keeping the bug open as a reminder to remove it in 30 days
Comment 5 Martin von Gagern 2005-10-23 06:13:49 UTC
Could you please add a reference to this bug as a comment to the mask file for
the time being? That would have prevented me from filing bug #110217. THX.
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2005-10-23 09:57:19 UTC
I don't know what you are asking for exactly.  This is what I put in
package.mask.  The use.mask is in the base profile, which I doubt many people
would know where to look.  divx4linux was masked on all profiles except the x86
ones, so I merely removed it from those.

# Mark Loeser <halcy0n@gentoo.org> (21 Oct 2005)
# Masked for removal; bug #95906 and email to g-dev
media-libs/divx4linux
media-video/drip
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-30 11:31:09 UTC
No more divx4linux in portage.