History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2303
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: wenan li
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

add addr2line function on webpage

Created: 23/Jan/15 11:44 AM   Updated: 23/Jan/15 11:44 AM
Component/s: None
Affects Version/s: 5.1.28
Fix Version/s: None

Original Estimate: 1 week Remaining Estimate: 1 week Time Spent: Unknown
Environment: win7


 Description  « Hide
when we get a issue about force close.
we may get backtrace like below.

11-17 14:08:07.615 243 243 I DEBUG : backtrace:
11-17 14:08:07.615 243 243 I DEBUG : #00 pc 0003ddd6 /system/lib/libmediaplayerservice.so (android::MediaPlayerService::Client::MediaPlayerServiceVolumeRampUpThread(void*)+45)
11-17 14:08:07.615 243 243 I DEBUG : #01 pc 0000e58f /system/lib/libutils.so
11-17 14:08:07.615 243 243 I DEBUG : #02 pc 0000d2f8 /system/lib/libc.so (__thread_entry+72)
11-17 14:08:07.615 243 243 I DEBUG : #03 pc 0000d490 /system/lib/libc.so (pthread_create+240)

If we want to locate the line num of error source code.
we should
1: find the RBS/PBS link by specific Version
2: download symbols library file which should look like DEBUG_SYMBOLS_A700YDZTU0ANK3_CL3259448_QB2966196_REV00_user_low_ship_MULTI_CERT.tgz, more than 600MB
3: find arm-linux-androideabi-addr2line.exe in android NDK, execute below command in cmd
    arm-linux-androideabi-addr2line.exe -f -e /libmediaplayerservice.so 0003ddd6

    should get reslut like below

    _ZN7android18MediaPlayerService6Client36MediaPlayerServiceVolumeRampUpThreadEPv
/home/dpi/qb5_8814/workspace/A7LTE_CHN_TW/android/frameworks/av/media/libmediaplayerservice/MediaPlayerService.cpp:1640

     then we know the exactly location of code which cause fc.
4: go to P4 to get the relate code to do further analysis.
 step 1~4, may take 20 min (depend on network)


I think it should have better way.
PBS/RBS have this function
A, we copy the backtrace LOG to the text field providerd
B, webpage should return the result which should show the code caused fc.(file version is the version made this build)

may take less than 1 second.
please consider the new feature request carefully.

addition function
1, continue above progress, if we checked the issue,and have a solution. can we just modify code in webpage and rebuild?
2, can we have some tips on this issue?
     for example, this issue is cause by SIGSEGV
     webpage can show some tips about it
     what does the exactly meaning of SIGSEGV?
     how to prevent it and show some example.

any question, please contact me(ID: wenan.li)
BR!

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.