Summary: | Crash when calculating schedule (in rcps_solver_solve) | ||
---|---|---|---|
Product: | [Applications] calligraplan | Reporter: | Raúl <rasasi78> |
Component: | general | Assignee: | Dag Andersen <dag.andersen> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 2.4.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Test file.
gdb log of the crash. Console output log. |
Description
Raúl
2012-09-13 10:22:02 UTC
Created attachment 73883 [details]
Test file.
Git commit 6095f32920e2cd46a428167874280f29612cf137 by Dag Andersen. Committed on 14/09/2012 at 08:29. Pushed by danders into branch 'master'. Fix potential crash if irand returns max value. This *may* be the cause of bug 306734 but I am not certain M +1 -1 plan/plugins/schedulers/rcps/libs/src/librcps.c http://commits.kde.org/calligra/6095f32920e2cd46a428167874280f29612cf137 Git commit 47fd94b3959015c29ee5e5fc2249a7d0f07e8caf by Dag Andersen. Committed on 19/09/2012 at 09:24. Pushed by danders into branch 'calligra/2.5'. Backport: Fix potential crash if irand returns max value. This *may* be the cause of bug 306734 but I am not certain M +1 -1 plan/plugins/schedulers/rcps/libs/src/librcps.c http://commits.kde.org/calligra/47fd94b3959015c29ee5e5fc2249a7d0f07e8caf I've backported the patch to 2.4. I don't know if is there any other change that prevents the patch to work, but I had the crash again. I'm attaching a gdb log of the crash, and the console output log. Created attachment 74025 [details]
gdb log of the crash.
Created attachment 74026 [details]
Console output log.
Git commit 645b463b51f04ee8a7aec98d067ccda729ef4227 by Dag Andersen. Committed on 20/09/2012 at 09:48. Pushed by danders into branch 'master'. Keep population size correct to avoid accessing lists outside boundaries Raul: could you possibly test this to on 2.4.2? (I managed to crash it in the same place, but AFAICS not in exactly the same *way* as you) M +8 -6 plan/plugins/schedulers/rcps/libs/src/librcps.c http://commits.kde.org/calligra/645b463b51f04ee8a7aec98d067ccda729ef4227 Git commit 4964623298f50677738d6a9a7075471940f2aedf by Dag Andersen. Committed on 20/09/2012 at 14:36. Pushed by danders into branch 'calligra/2.5'. Keep population size correct to avoid accessing lists outside boundaries M +8 -6 plan/plugins/schedulers/rcps/libs/src/librcps.c http://commits.kde.org/calligra/4964623298f50677738d6a9a7075471940f2aedf Hi: Thanks for your fast replies. I've tried the new patch on top on the previous one backported to 2.4.3, this is both patches applied. My first tests shows that crash is gone but I'd still like to test it a little further. After some more tests I see the bug is not reproducible anymore, I'm therefore closing. Tested on 2.4.3+backported patch and 2.5.x Thanks for the fixes. |