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 601213 - coredump when met jpeg file
coredump when met jpeg file
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.16
Other Solaris
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-09 06:30 UTC by jerry tan
Modified: 2010-04-26 08:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (45.18 KB, image/jpeg)
2009-11-09 06:31 UTC, jerry tan
Details

Description jerry tan 2009-11-09 06:30:44 UTC
gst-launch playbin uri=file:///tmp/1.jpg, 
then it coredumps.

stack as below
fe369404 gst_jpeg_dec_decode_indirect (81100e8, fdbd0b90, fdbd0ba0, 2f8, 98, 2) + c
 fe36ac07 gst_jpeg_dec_chain (80fa3f0, 814dc18, fdbd0c18, feb84fb6) + a53
 feb85441 gst_pad_chain_data_unchecked (80fa3f0) + 499
 feb85d81 gst_pad_push_data (80fa260, 1, 814dc18, feb85ea7) + 481
 feb85ec8 gst_pad_push (80fa260, 814dc18, fdbd0cc8, fe48a62a) + 5c
 fe48a66a gst_type_find_element_chain (80fa198, 814dc18, fdbd0d18, feb84fb6) + 5a
 feb85441 gst_pad_chain_data_unchecked (80fa198) + 499
 feb85d81 gst_pad_push_data (80ff848, 1, 814dc18, feb85ea7) + 481
 feb85ec8 gst_pad_push (80ff848, 814dc18, e0000, feb6d65c, 80ff040) + 5c
 feb6d67b gst_proxy_pad_do_chain (80ff040, 814dc18, fdbd0df8, feb84fb6) + 2b
 feb85441 gst_pad_chain_data_unchecked (80ff040) + 499
 feb85d81 gst_pad_push_data (80fa0d0, 1, 814dc18, feb85ea7) + 481
 feb85ec8 gst_pad_push (80fa0d0, 814dc18, b4ba, 0) + 5c
 fe425db9 gst_base_src_loop (80fa0d0, 810ff88, 80fa0d0, febabfbb) + 6a1
 febac1ed gst_task_func (814a8f0, 80f62a8, fdbd0f48, febad3c6) + 255
 febad3e6 default_func (80f62a8) + 2e
 fed9e953 g_thread_pool_thread_proxy (806d5a0, 810ff88, 200, fed9d1de) + c3
 fed9d303 g_thread_create_proxy (810ff88, fef81000, fdbd0fe8, feeee36e) + 133
 feeee3c3 _thrp_setup (fdea1a00) + 9b
 feeee650 _lwp_start (fdea1a00, 0, 0, 0, 0, 0)

I am using gstreamer 0.10.16.
Comment 1 jerry tan 2009-11-09 06:31:54 UTC
Created attachment 147246 [details]
testcase
Comment 2 Edward Hervey 2009-11-09 07:15:35 UTC
Works fine for me with git of gst-plugins-good.

Maybe it's a duplicate of bug #597351
Comment 3 Tim-Philipp Müller 2009-11-09 09:53:21 UTC
I don't think it's a dup of 597351, since that one takes another code path for decoding (_direct vs. _indirect).

I get some invalid memory access in valgrind with jpegdec 0.10.16 , but not with jpegdec from git, so it looks like it might have gotten fixed. Any chance you could double-check with jpegdec from git?

It might just have been the don't-alloc-3MB-on-the-stack thing, if the max. stack size limit on solaris is on the smaller side.

Marking NEEDINFO for confirmation whether it works with git.
Comment 4 Tim-Philipp Müller 2010-02-04 15:54:33 UTC
Jerry Tan: ping?

Could you test if it works with jpegdec from git?
Comment 5 Tim-Philipp Müller 2010-04-26 08:31:22 UTC
Closing this bug report as no further information has been provided.  Please re-open if it's still an issue with the latest pre-releases (>=0.10.21.3) or the upcoming release/git. Thanks!