Bug #10775
"TestIoctx.test_aio_append ... Segmentation fault" in smoke-master-distro-basic-multi run
0%
Description
Run: http://pulpito.ceph.com/teuthology-2015-02-03_02:35:02-smoke-master-distro-basic-multi/
Jobs: 738484
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2015-02-03_02:35:02-smoke-master-distro-basic-multi/738484/
2015-02-05T12:37:35.056 INFO:tasks.workunit.client.0.plana09.stderr: 2015-02-05T12:37:35.056 INFO:tasks.workunit.client.0.plana09.stderr:2015-02-05 12:37:35 (2.17 MB/s) - `test_rados.py' saved [20593] 2015-02-05T12:37:35.057 INFO:tasks.workunit.client.0.plana09.stderr: 2015-02-05T12:37:35.057 INFO:tasks.workunit.client.0.plana09.stderr:+ nosetests -v test_rados 2015-02-05T12:37:36.028 INFO:tasks.workunit.client.0.plana09.stderr:test_rados.TestCommand.test_monmap_dump ... ok 2015-02-05T12:37:36.266 INFO:tasks.workunit.client.0.plana09.stderr:test_rados.TestCommand.test_osd_bench ... ok 2015-02-05T12:37:38.459 INFO:tasks.workunit.client.0.plana09.stderr:test_rados.TestIoctx.test_aio_append ... Segmentation fault (core dumped) 2015-02-05T12:37:38.460 INFO:tasks.workunit:Stopping ['rados/test_python.sh'] on client.0...
Associated revisions
rados.py: keep reference to python callbacks
If we don't keep a reference to these, the librados aio calls will
segfault since the python-level callbacks will have been garbage
collected. Passing them to aio_create_completion() does not take a
reference to them. Keep a reference in the python Completion object
associated with the request, since they need the same lifetime.
This fixes a regression from 60b019f69aa0e39d276c669698c92fc890599f50.
Fixes: #10775
Backport: dumpling, firefly, giant
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
rados.py: keep reference to python callbacks
If we don't keep a reference to these, the librados aio calls will
segfault since the python-level callbacks will have been garbage
collected. Passing them to aio_create_completion() does not take a
reference to them. Keep a reference in the python Completion object
associated with the request, since they need the same lifetime.
This fixes a regression from 60b019f69aa0e39d276c669698c92fc890599f50.
Fixes: #10775
Backport: dumpling, firefly, giant
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 36d37aadbbbece28d70e827511f1a473d851463d)
rados.py: keep reference to python callbacks
If we don't keep a reference to these, the librados aio calls will
segfault since the python-level callbacks will have been garbage
collected. Passing them to aio_create_completion() does not take a
reference to them. Keep a reference in the python Completion object
associated with the request, since they need the same lifetime.
This fixes a regression from 60b019f69aa0e39d276c669698c92fc890599f50.
Fixes: #10775
Backport: dumpling, firefly, giant
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 36d37aadbbbece28d70e827511f1a473d851463d)
(cherry picked from commit 5f1245e131e33a98572408c8223deed2c7cf7b75)
History
#1 Updated by Yuri Weinstein about 9 years ago
- Priority changed from Normal to Urgent
same on hammer and master
Run: http://pulpito.ceph.redhat.com/teuthology-2015-02-09_02:27:01-smoke-hammer-distro-basic-magna/
Job: 42327
Logs: http://magna002.ceph.redhat.com/teuthology-2015-02-09_02:27:01-smoke-hammer-distro-basic-magna/42327/
2015-02-09T05:07:46.086 INFO:tasks.workunit.client.0.magna070.stderr:test_rados.TestIoctx.test_aio_append ... /home/ubuntu/cephtest/workunit.client.0/rados/test_python.sh: line 7: 6184 Segmentation fault (core dumped) nosetests -v test_rados 2015-02-09T05:07:46.121 INFO:tasks.workunit:Stopping ['rados/test_python.sh'] on client.0...
Run: http://pulpito.front.sepia.ceph.com/teuthology-2015-02-08_02:35:02-smoke-master-distro-basic-multi/
Job: 744032
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2015-02-08_02:35:02-smoke-master-distro-basic-multi/744032/
2015-02-08T13:05:13.263 INFO:tasks.workunit.client.0.burnupi62.stderr:test_rados.TestIoctx.test_aio_append ... Illegal instruction (core dumped) 2015-02-08T13:05:13.264 INFO:tasks.workunit:Stopping ['rados/test_python.sh'] on client.0...
#2 Updated by Josh Durgin about 9 years ago
- Category set to librados
- Status changed from New to Fix Under Review
- Assignee set to Josh Durgin
- Backport set to giant,firefly,dumpling
#3 Updated by Sage Weil about 9 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Loïc Dachary about 9 years ago
- Backport changed from giant,firefly,dumpling to giant,firefly
dumpling is end of life
#5 Updated by Loïc Dachary about 9 years ago
#6 Updated by Loïc Dachary about 9 years ago
- Status changed from Pending Backport to Resolved