Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146165 - =media-video/avidemux-2.0.42-r1 quits by loading a mpeg
Summary: =media-video/avidemux-2.0.42-r1 quits by loading a mpeg
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Marc Hildebrand (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on: 150175
Blocks: 158340
  Show dependency tree
 
Reported: 2006-09-03 10:49 UTC by Markus
Modified: 2007-02-03 13:25 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.log,3.58 KB, text/plain)
2006-09-03 10:50 UTC, Markus
Details
strace avidemux2 (strace-avidemux.log,1.39 KB, text/plain)
2006-09-04 10:03 UTC, Markus
Details
Start-log of avidemux (avidemux2.log,4.54 KB, text/plain)
2006-09-21 04:13 UTC, Markus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus 2006-09-03 10:49:23 UTC
Well I used to cut movies with avidemux. These movies are DVB-T MPEG-Streams cleaned by projectx. It worked before the update to gcc 4.1.1 (and the glibc).
I recompiled everything as mentioned in the gentoo gcc upgrade howto.

I start avidemux, select a video to load. Then it asked wether to index it, as its an MPEG. I say yes and then scan file for audiostream: MPEG-Audio (0: 2 channels, 192 kpbs shift 1103 ms). Hiting OK and wait. Then a dialog appears telling me the shift again. After that the file is loaded and stuck at 100% (progressbar). After a while its killed.
Looking in detail, I noticed a really huge number of avidemux-processes:
pstree prints 30 and then "Internal error: MAX_DEPTH not big enough." (every avidemux has only one child-process...)
ps aux only prints garbage (every start another):
markus   13325  0.0  0.8 108332 17768 pts/5    R+   19:16   0:00 k??A?|???K??8????&#1397;&#1721;r?*??*m?E&#1184;}]?s/???KBv{?F?y=??,K?&#36783;?b)?$?<{?&#1189;E?#?7????Qm#CCS'Z.??&#441;?O????:??:??E#S??}?DHj&#360;??0??E

after the final loading about 500... then decreasing and ended!


The indexing-process is not needed to reproduce it. Loading an already indexed MPEG will fail as well.
Comment 1 Markus 2006-09-03 10:50:49 UTC
Created attachment 95866 [details]
emerge --info
Comment 2 Markus 2006-09-04 10:03:36 UTC
Created attachment 95977 [details]
strace avidemux2

The first few lines is still the loading of the file.
And then it hangs in wait4.
Comment 3 Markus 2006-09-12 07:27:10 UTC
Reading http://forums.gentoo.org/viewtopic-t-496473.html and http://forums.gentoo.org/viewtopic-t-497493.html I first thought the sse3 flags could be the problem (even though pni-flag is set and the sse3-test-program worked). Removing the flag and recompiling avidemux2 has not fixed this issue.
Comment 4 Markus 2006-09-12 07:50:34 UTC
The created idx-files can be successfully loaded on a different machine (32bit...) and idx-files created on that 32bit machine can not be loaded on this amd64 machine...
Comment 5 Markus 2006-09-21 04:13:39 UTC
Created attachment 97627 [details]
Start-log of avidemux

media-video/avidemux-2.0.42-r1  USE="oss -a52 -aac -alsa (-altivec) -arts -encode -mad -nls -sdl -truetype -vorbis -xv -xvid"
trying to load/index a small m2p file.
Comment 6 Markus 2006-09-21 04:14:37 UTC
I now disabled all use-flags except the oss one (as one audio system needs to be set). Still the same problem.

In the link already posted it was mentioned, that the cpu capabilities (like mmx and sse) are most likely be coded in 32-bit. But this does not work on 64-bit. (Just to point this out, at the start of avidemux some capabilities are detected...)
Comment 7 Markus 2006-09-23 04:19:18 UTC
The 2.2-svn version (ebuild from rsync://kpex.no-ip.org/kpex-media) works like a charm.
(2.3-pre1 and 2.3-svn do not compile cleanly...)

I know that 2.0.42 is over one year old... but 2.1_pre1 is hardmasked...
Comment 8 Markus 2006-09-23 06:19:59 UTC
With the help of http://forums.gentoo.org/viewtopic-p-3597834.html#3597834 I got it working with 2.3-pre1/svn as well.

Check bug 129222 for a threadsafe spidermonkey. (Essential for avidemux-scripting... no option to disable it...)
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2007-02-03 13:25:33 UTC
removed from tree, file a new bug if an issue with 2.3.0