Bug 713822
Summary: | [abrt] sakura-2.4.0-1.fc15: __libc_message: Process /usr/bin/sakura was killed by signal 6 (SIGABRT) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kuznetsov Vyacheslav <kuznetsovvv> |
Component: | sakura | Assignee: | Christoph Wickert <christoph.wickert> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | christoph.wickert, natros, vourhey |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:b3a604f52deddd23fd0967290a2698827cc30873 | ||
Fixed In Version: | sakura-2.4.1-3.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-31 03:30:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 722686 | ||
Bug Blocks: |
Description
Kuznetsov Vyacheslav
2011-06-16 15:12:10 UTC
Thanks for submitting this crash report. Does sakura crash regularly or only sometimes? Christoph, Sakura crashs every time I try to run it. I've tried to run sakura on my note with the same result. Am going to place a report from the note. I believe it can help you to fix the issue. Thank you. Package: sakura-2.4.0-1.fc15 Architecture: x86_64 OS Release: Fedora release 15 (Lovelock) Comment ----- Just run sakura Package: sakura-2.4.0-1.fc15 Architecture: x86_64 OS Release: Fedora release 15 (Lovelock) Comment ----- started sakura Hi, I have the same issue on Fedora 15 x86_64. I think this issue is due to incorrect CLI arguments parsing: (gdb) x/8x nargv 0x611010: 0x57f94468 0x0000003e 0x57f94468 0x0000003e 0x611020: 0x00000000 0x00000000 0x00000221 0x00000000 2523 for(i=0; i<argc; i++) { (gdb) n 2524 if(g_strcmp0(argv[i],"-e") == 0) (gdb) 2531 nargv[n]=g_strdup(argv[i]); (gdb) 2533 n++; (gdb) emulator")); (gdb) x/8x nargv 0x611010: 0x00612130 0x00000000 0x57f94468 0x0000003e 0x611020: 0x00000000 0x00000000 0x00000021 0x00000000 0x611030: 0x555f6e65 0x54552e53 0x00382d46 0x0000003e 0x611040: 0x00000000 0x00000000 0x00000081 0x00000000 If there are no arguments passed from a CLI, this code initializes nargv[0] with a correct pointer (0x0000000000612130). But nargv[1] is incorrect memory address (0x0000003e57f94468), but bot null. So, g_strfreev crashes when try to free nargv[1]. If I run "sakura a" everything is OK. Thank you Quick fix is to use calloc instead of malloc in sakura.c (2510 line): nargv = (char**)calloc((argc+1), sizeof(char*)); Ok, the good news is: 2.4.1 is out and fixes this crash. The bad news is that it adds another one. :( I have filed bug 722686 now and I cannot issue the 2.4.1 update until it is fixed. sakura-2.4.1-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/sakura-2.4.1-2.fc15 Package sakura-2.4.1-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing sakura-2.4.1-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/sakura-2.4.1-3.fc15 then log in and leave karma (feedback). sakura-2.4.1-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |