Hello All.
I encountered segmentation fault problem during package build.
This segfault is occured in mksquahfs utility.
Following is a part of script.
* Script
add_custom_command(
TARGET ${EMP_EXECUTABLE_NAME}
POST_BUILD
COMMAND chmod 755 ${EMP_EXE_PATH}/${EMP_EXECUTABLE_NAME}
COMMAND mksquashfs ${EMP_EXE_PATH}/ ${SQ_FILE_NAME}
)
* Error Log
...
...
[ 252s] Linking CXX executable empSample/empSample
[ 252s] Generating Signature...please wait...
[ 252s] Success: Xml file is successfully generated!
[ 252s] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[ 253s] /bin/sh: line 1: 12903 Segmentation fault (core dumped) mksquashfs /home/abuild/rpmbuild/BUILD/sef-emps-0.4/Sample/empSample/ empSample.img
[ 253s] make[2]: *** [Sample/empSample/empSample] Error 139
[ 253s] make[1]: *** [Sample/CMakeFiles/empSample.dir/all] Error 2
[ 253s] make: *** [all] Error 2
[ 253s] error: Bad exit status from /var/tmp/rpm-tmp.bmfIpY (%build)
However, This mksquashfs is always working fine on real target.
So i doubt qemu multi-thread problem because mksquashfs utility is executed by several threads.
*Related Article
https://bugs.launchpad.net/qemu/+bug/1098729
http://lists.gnu.org/archive/html/qemu-devel/2007-02/msg00018.html
https://bugs.launchpad.net/qemu/+bug/668799
Can you give me a some solution about this problem ?
Thank you.
Best regards
|
|
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
