Segmentation fault at the end of splay

Bug #198985 reported by Jessica Ji
2
Affects Status Importance Assigned to Milestone
Moblin Multimedia
In Progress
Low
Halley

Bug Description

Bug detailed descriptions:
--------------------------

splay from helix-dbus-server_0.242-beta2_lpia.deb has error on free in
CUnixPref::~CUnixPref().

Reproduce steps:
----------------

1. Install Moblin: http://umd-repo.jf.intel.com/repos/users/inuka/Beta6_install.img and
Helix: http://umd-build.jf.intel.com/build-results-proprietary/helix-dbus-server-
atlas/lpia/helix-dbus-server_0.242-beta2_lpia.deb .

2. Download B-V-MPEG_PS_NTSC-AC3-8.mpg from ftp://xwu2-
image.jf.intel.com/restricted/dm/menlow/tiny-
test-set/

3. Run "valgrind --tool=memcheck --leak-check=no ./splay
/root/tv/tiny-test-set/B-V-MPEG_PS_NTSC-AC3-8.mpg >& ~/log.txt"

Current result:
----------------

# cat ~/log.txt
...
==3981== Invalid free() / delete / delete[]
==3981== at 0x4023C96: operator delete[](void*) (vg_replace_malloc.c:256)
==3981== by 0x44F9FDA: CUnixPref::~CUnixPref() (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x44EFF7D: HXPreferences::Close() (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x44F0B77: HXPreferences::~HXPreferences() (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x44B5307: CUnknownIMP::ActualRelease() (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x44EFEE8: HXPreferences::Release() (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x44B43BA: CHXMediaPlatform::Close() (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x804CDFB: main (in /usr/lib/helix/splay/splay)
==3981== Address 0x43F4BF0 is 0 bytes inside a block of size 37 free'd
==3981== at 0x4023C96: operator delete[](void*) (vg_replace_malloc.c:256)
==3981== by 0x44FA9AF: CUnixPref::write_pref(char const*, IHXBuffer*) (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x44EFFF2: HXPreferences::WritePref(char const*, IHXBuffer*) (in
/root/splay242/hxmedpltfm.so)
==3981== by 0x5EF7E6A: ???
==3981== by 0x5EC2FD5: ???
==3981== by 0x804D1EC: main (in /usr/lib/helix/splay/splay)
...

Expected result:
----------------

No invalid free() message from valgrind's log.

Basic root-causing log:
----------------------

------- Additional Comment #1 From Zhao, Aihua 2008-02-20 18:37 -------
it is invalid because either helix-dbus-server or moblin-media won’t depend on
splay. Splay is just a sample player. Anyway, we can report it back to helix
community.

------- Additional Comment #2 From Dmitry Rogozhkin 2008-02-20 21:23 -------
Please, report this issue back to Helix community.

------- Additional Comment #3 From May Xie 2008-03-05 08:49 -------
Halley, could you add helix bug link to this bug, so we know where is it?
Thanks.

Tags: helix
Revision history for this message
Jessica Ji (jessica-ji) wrote :
Changed in moblin-multimedia:
assignee: nobody → halley-zhao
importance: Undecided → High
Revision history for this message
Halley (halley-zhao) wrote :

suggest it is a medium bug, since splay is not target of Moblin, just for reference.
https://bugs.helixcommunity.org/show_bug.cgi?id=7414

Revision history for this message
Rusty Lynch (rusty-lynch-intel) wrote :

I would suggest this even be a lower priority. We need to stop our people from testing with splayer and start using our application.

Revision history for this message
Jessica Ji (jessica-ji) wrote :

splayer is not our target, downgrade this bug importance

Changed in moblin-multimedia:
importance: High → Low
Halley (halley-zhao)
Changed in moblin-multimedia:
status: New → In Progress
Halley (halley-zhao)
Changed in moblin-multimedia:
milestone: none → fix-later
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.