| Summary: | [Netbook] Music Player may crash when adding multiple files | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Kunwei Tian <kunwei.tian> |
| Component: | meta-yocto | Assignee: | Dongxiao Xu <dongxiao.xu> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dongxiao.xu, jessica.zhang, jiajun.xu, kevin.tian, kunwei.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M4 | ||
| Hardware: | Netbook | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
Kunwei Tian
2010-09-08 19:06:41 UTC
Modify the title to describe the issue more clear. BTW, the issue is reported on poky-image-sdk-live-netbook image. We did not test sato image. I can reproduce this bug when adding some specific audio files (for example 11kadpcm.wav, 11kulaw.wav, which are downloaded from http://moblin_repo.sh.intel.com/mediatest/Content/Codec), no matter multiple or single. For some other files, like 111k8bitpcm.wav, 75.gsm.ogg, OTC.mid, MID.ogg, even added them all, the bug won't be triggered. I will look into the problem. (In reply to comment #2) > I can reproduce this bug when adding some specific audio files (for example > 11kadpcm.wav, 11kulaw.wav, which are downloaded from > http://moblin_repo.sh.intel.com/mediatest/Content/Codec), no matter multiple or > single. > For some other files, like 111k8bitpcm.wav, 75.gsm.ogg, OTC.mid, MID.ogg, even > added them all, the bug won't be triggered. > I will look into the problem. When I test with M3 20100911 build on eMenlow, ogg file always fails to be added. ######## oggdemux0:sink[25808]: segfault at 1 ip 4e0d154e sp b58fee10 error 4 in libgobject-2.0.so.0.2400.1[4e0ac000+2f000] oggdemux0:sink[25838]: segfault at 776f6e6f ip b429561b sp b5b51eb0 error 4 in libgstogg.so[b428e000+24000] oggdemux0:sink[25842]: segfault at 776f6e6f ip b6be461b sp b7433eb0 error 4 in libgstogg.so[b6bdd000+24000] oggdemux0:sink[25845]: segfault at 776f6e6f ip b6bc061b sp b740feb0 error 4 in libgstogg.so[b6bb9000+24000] wavparse0:sink[25849]: segfault at 50 ip b6b679ef sp b739eff0 error 4 in libgstwavparse.so[b6b60000+d000] oggdemux0:sink[25852]: segfault at 776f6e6f ip b6c6f61b sp b74beeb0 error 4 in libgstogg.so[b6c68000+24000] oggdemux0:sink[25890]: segfault at 776f6e6f ip b526961b sp b5afceb0 error 4 in libgstogg.so[b5262000+24000] ######## Here are some findings when debuging this issue. Music player will crash when adding some unsupport format files. The files (11kadpcm.wav, 11kulaw.wav) that I can reproduce the issue need adpcm and mulaw plugins for gstreamer, and they are not added in currently poky. Jiajun's test file is a video file, not an audio file, thus he met the same crash phenomenon. gaku is just a player, and it calls libowl-av libruary to do some interact with gstreamer. when libown-av accept a music file, it will call gst_element_set_state () to set the state to "GST_STATE_PLAYING", the function call may return GST_STATE_CHANGE_ASYNC indicating that the state is still changing. For those unsupported files, I found the changing process will no longer come to an end. Then libowl-av will find the file is not supported, and it will try to call gst_element_set_state () again to set the state to be "GST_STATE_NULL", and it will cause gstreamer plugin crash, then gaku is crashed. I am now trying to find out the correct way to handle this kind of unsupported file format error. In lastest image,the bug fixed,so verfied it as fixed. image from http://yoctobuild01.jf.intel.com/milestone/20101018/ |