After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164377 - [ppc] Segfault on ./bin/gst-launch-0.8 dvdreadsrc device=/dev/hdc title=2 ! dvddemux ! mpeg2dec ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=360,height=288 ! fakesink
[ppc] Segfault on ./bin/gst-launch-0.8 dvdreadsrc device=/dev/hdc title=2 ! d...
Status: RESOLVED DUPLICATE of bug 154431
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-17 18:33 UTC by Michele Baldessari
Modified: 2005-08-29 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log level 5 of the segfault (139.45 KB, application/x-gzip)
2005-01-17 18:35 UTC, Michele Baldessari
Details

Description Michele Baldessari 2005-01-17 18:33:58 UTC
I was trying to rip a dvd using www.thoggen.net. Since 
it segfaulted with debian's sid gstreamer packages, I installed todays'
(20050117) cvs and I still get segmentation fault when launching the command
mentioned in the summary. (Which is a pipeline thoggen makes use of..)
I'm not sure if this bug is related to #154431 (if so feel free to mark this one
as a duplicate).

The gdb session is rather uneventful :
Program received signal SIGSEGV, Segmentation fault.

Thread 16384 (LWP 3316)

  • #0 _int_free
    at malloc.c line 4192
  • #1 ??
    from /usr/lib/debug/libc.so.6
  • #2 ??
    from /usr/lib/debug/libc.so.6

I attach the log at gst-log-level=5 (I'll compress it since it's a whopping
2.2MB). Hope this helps and let me know if I need to provide more debugging info.
Comment 1 Michele Baldessari 2005-01-17 18:35:31 UTC
Created attachment 36139 [details]
Log level 5 of the segfault
Comment 2 Tim-Philipp Müller 2005-01-19 11:02:57 UTC
To me the log looks like it actually crashes in/after videoscale and not in
dvdreadsrc.

Do these pipelines produce the crash as well?

    gst-launch-0.8 dvdreadsrc device=/dev/hdc title=2 ! dvddemux 

    gst-launch-0.8 dvdreadsrc device=/dev/hdc title=2 ! dvddemux ! mpeg2dec !
fakesink

Cheers
 -Tim
Comment 3 Michele Baldessari 2005-01-19 21:45:26 UTC
I believe you're right, Tim:
michele@kantele:/home/devel/thoggen$ ./INSTALL/bin/gst-launch-0.8 dvdreadsrc
device=/dev/hdc title=2 ! dvddemux
RUNNING pipeline ...
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000133
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001df
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000002b5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0022a3ac
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0022a3b1
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
1 : ?, Dolby AC-3 5.1
1 : ?, Dolby AC-3 5.1
Execution ended after 34730 iterations (sum 5108680000 ns, average 147097 ns,
min 41000 ns, max 411616000 ns).

Whereas with mpeg2dec ! fakesink:

michele@kantele:/home/devel/thoggen$ ./INSTALL/bin/gst-launch-0.8 dvdreadsrc
device=/dev/hdc title=2 ! dvddemux ! mpeg2dec ! fakesink
RUNNING pipeline ...
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000133
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001df
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000002b5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0022a3ac
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0022a3b1
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
1 : ?, Dolby AC-3 5.1
1 : ?, Dolby AC-3 5.1
Segmentation fault

Let me know if you need any other debug output.
Thanks for looking into this,
Michele
Comment 4 Tim-Philipp Müller 2005-01-20 09:29:55 UTC
 Looks like this might be the same problem as in bug 154431.

Cheers
 -Tim
Comment 5 Michele Baldessari 2005-01-20 15:28:49 UTC
Yes I believe it is the exact same problem as #154431. The patch posted there
fixes it for me:
michele@kantele:/home/devel/thoggen/INSTALL$ ./bin/gst-launch-0.8 dvdreadsrc
device=/dev/hdc title=2 ! dvddemux ! mpeg2dec ! fakesink
RUNNING pipeline ...
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000133
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001df
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000002b5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0022a3ac
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0022a3b1
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
1 : ?, Dolby AC-3 5.1
1 : ?, Dolby AC-3 5.1
Execution ended after 34730 iterations (sum 61464178000 ns, average 1769771 ns,
min 46000 ns, max 1590925000 ns).

But as Ronald stated it probably just papers over the real problem (actually 
gst-launch ate more than 200MB of ram during the above run..not sure if it's
supposed to..I'm quite new to the whole gstreamer world..but since it just
removes an _unref_ for all non-powerpc platforms it might actually introduce
leaks on powerpc, no? that unref was there for a reason I guess ;) )
Comment 6 Michele Baldessari 2005-01-23 14:20:22 UTC

*** This bug has been marked as a duplicate of 154431 ***