Fatal signal 11 (sigsgv) at 0x00002820 (code = 1), thread 23696 (xvdy. OA: vitamio)

Source: Internet
Author: User

Fixing this bug really makes life worse than death. It's so hard!







First, let's talk about my Error Reporting Environment: here, I am working on a video playing software. In the programming process, the others are OK. That is to say, if this video is played for the first time, no error will be reported for playing any movies or videos. However, this video is required to be played in a series ). On the current page, click the selected series to switch the selected video. Then the problem arises! The party is playing the current collection and clicking any other set will report an error and it will collapse !! And reports the error of the above image ......

Then I collected a lot of posts on the Internet, which is different from my situation, because others are map and cocos2d posts. I am anxious because I really don't know how to work? This bug has been fixed for the third day, and has been asked by friends and teachers. Never met! Coincidentally, I saw a sentence in a Q & A post:

/** This error is generally caused by memory leakage. You can check whether a wild pointer exists, or some threads are not closed in time, or some instances are not closed in time */
Then, I began to look for the threads I started during the playback, or some instances that are used repeatedly and cannot be closed even. Handler! When using video playback, handler must be used to control the playback screen gesture to adjust the sound, brightness, and progress, and the display and hiding of the titlebar and seekbar layout controls on the video playback screen. Then, if the video is being played for the first time, you can click a set to play the set that has been clicked. She will create a thread in the next call based on the previous thread, and the previous thread is not closed in time, so the above error occurs!

Therefore, every time I switch the video, I need to turn off all the previous handler threads in advance! Then, there is no problem in video playback.

Fatal signal 11 (sigsgv) at 0x00002820 (code = 1), thread 23696 (xvdy. OA: vitamio)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.