Bug#682917: iceweasel: enable gstreamer support

Alexander V. Kudrevatykh kudrevatykh at gmail.com
Sun Sep 2 06:29:56 UTC 2012


Tried to build iceweasel with enabled gstreamer support and it fails
with following trace.

(firefox-bin:13756): GStreamer-WARNING **: closing segment of unknown
duration, assuming duration of 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffde5ab700 (LWP 13870)]
mozilla::layers::CopyPlane (aDst=0x7fffb0459000 "{", aSrc=0x7fff9ff3092d
<Address 0x7fff9ff3092d out of bounds>, aSize=..., aStride=379,
aOffset=-1317920769, aSkip=-293541587)
    at /root/iceweasel-15.0/gfx/layers/ImageLayers.cpp:341
341     /root/iceweasel-15.0/gfx/layers/ImageLayers.cpp: Нет такого
файла или каталога.
(gdb) where
#0  mozilla::layers::CopyPlane (aDst=0x7fffb0459000 "{",
aSrc=0x7fff9ff3092d <Address 0x7fff9ff3092d out of bounds>, aSize=...,
aStride=379, aOffset=-1317920769, aSkip=-293541587)
    at /root/iceweasel-15.0/gfx/layers/ImageLayers.cpp:341
#1  0x00007ffff54781f3 in mozilla::layers::PlanarYCbCrImage::CopyData
(this=0x7fffb0325d40, aData=..., aYOffset=<optimized out>,
aYSkip=-293541587, aCbOffset=32767, aCbSkip=-567851968, aCrOffset=32767,
aCrSkip=-247137867)
    at /root/iceweasel-15.0/gfx/layers/ImageLayers.cpp:374
#2  0x00007ffff4fd0d3e in VideoData::Create (aInfo=...,
aContainer=0x7fffc385dfe0, aOffset=0, aTime=0, aEndTime=1000,
aBuffer=..., aKeyframe=true, aTimecode=-1, aPicture=...)
    at /root/iceweasel-15.0/content/media/nsBuiltinDecoderReader.cpp:180
#3  0x00007ffff4fd85f0 in nsGStreamerReader::DecodeVideoFrame
(this=0x7fffc5104800, aKeyFrameSkip=<optimized out>,
aTimeThreshold=<optimized out>)
at /root/iceweasel-15.0/content/media/gstreamer/nsGStreamerReader.cpp:469
#4  0x00007ffff4fd0902 in nsBuiltinDecoderReader::DecodeVideoFrame
(this=this at entry=0x7fffc5104800)
at /root/iceweasel-15.0/content/media/nsBuiltinDecoderReader.h:524
#5  0x00007ffff4fd0f33 in DecodeToFirstData<VideoData> (aQueue=...,
aDecodeFn=<optimized out>, this=<optimized out>)
at /root/iceweasel-15.0/content/media/nsBuiltinDecoderReader.cpp:252
#6  nsBuiltinDecoderReader::FindStartTime (this=0x7fffc5104800,
aOutStartTime=@0x7fffde5aad50: 0)
at /root/iceweasel-15.0/content/media/nsBuiltinDecoderReader.cpp:219
#7  0x00007ffff4fccb75 in nsBuiltinDecoderStateMachine::FindStartTime
(this=this at entry=0x7fffdee87440)
at /root/iceweasel-15.0/content/media/nsBuiltinDecoderStateMachine.cpp:2369
#8  0x00007ffff4fcf98c in nsBuiltinDecoderStateMachine::DecodeMetadata
(this=this at entry=0x7fffdee87440)
at /root/iceweasel-15.0/content/media/nsBuiltinDecoderStateMachine.cpp:1769
#9  0x00007ffff4fd083b in nsBuiltinDecoderStateMachine::DecodeThreadRun
(this=0x7fffdee87440)
at /root/iceweasel-15.0/content/media/nsBuiltinDecoderStateMachine.cpp:474
#10 0x00007ffff4fcbfb4 in nsRunnableMethodImpl<void
(nsBuiltinDecoderStateMachine::*)(), true>::Run (this=0xee80ffff)
at ../../dist/include/nsThreadUtils.h:313
#11 0x00007ffff540aa2b in nsThread::ProcessNextEvent
(this=0x7fffc68d8d80, mayWait=<optimized out>, result=0x7fffde5aae7f)
at /root/iceweasel-15.0/xpcom/threads/nsThread.cpp:624
#12 0x00007ffff53e0606 in NS_ProcessNextEvent_P (thread=<optimized out>,
mayWait=true)
at /root/iceweasel-15.0/build-xulrunner/xpcom/build/nsThreadUtils.cpp:213
#13 0x00007ffff540abfe in nsThread::ThreadFunc (arg=0x7fffc68d8d80)
at /root/iceweasel-15.0/xpcom/threads/nsThread.cpp:257
#14 0x00007ffff61383b3 in ?? ()
from /usr/lib/x86_64-linux-gnu/libnspr4.so
#15 0x00007ffff743ab50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#16 0x00007ffff718570d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

iceweasel 15, amd64

Also, during build I have had such segfaults in kernel log

Sep  2 02:44:56 null kernel: [123901.063141] TestPoisonArea[32472]:
segfault at 2b85f9b817ff ip 0000000000402115 sp 00007fff644bbde0 error 4
in TestPoisonArea[400000+f000]
Sep  2 02:44:56 null kernel: [123901.063910] TestPoisonArea[32473]:
segfault at 2b85f9b81800 ip 00002b85f9b81800 sp 00007fff644bbdd8 error
14
Sep  2 02:44:56 null kernel: [123901.064663] TestPoisonArea[32474]:
segfault at 2b85f9b817ff ip 0000000000402121 sp 00007fff644bbde0 error 6
in TestPoisonArea[400000+f000]
Sep  2 02:44:56 null kernel: [123901.065385] TestPoisonArea[32475]
general protection ip:402115 sp:7fff644bbde0 error:0 in
TestPoisonArea[400000+f000]
Sep  2 02:44:56 null kernel: [123901.066185] TestPoisonArea[32476]
general protection ip:40211d sp:7fff644bbde0 error:0 in
TestPoisonArea[400000+f000]
Sep  2 02:44:56 null kernel: [123901.066951] TestPoisonArea[32477]
general protection ip:402121 sp:7fff644bbde0 error:0 in
TestPoisonArea[400000+f000]

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20120902/fc398a7d/attachment.pgp>


More information about the pkg-mozilla-maintainers mailing list