Project

General

Profile

Bug #12123

testlibcephfs: segfault in preadv/pwritev tests

Added by Greg Farnum about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
06/23/2015
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
libcephfs
Labels (FS):
Pull request ID:

Description

http://qa-proxy.ceph.com/teuthology/teuthology-2015-06-19_23:04:01-fs-master---basic-multi/941831/

2015-06-20T10:04:10.456 INFO:tasks.workunit.client.0.plana69.stdout:[ RUN      ] LibCephFS.PreadvPwritev
2015-06-20T10:04:10.561 INFO:tasks.workunit.client.0.plana69.stderr:Segmentation fault (core dumped)

Associated revisions

Revision 5614ec6c (diff)
Added by Jevon Qiao about 4 years ago

tests: fix segfault issue in preadv/pwritev tests

Previously copied the sample data to the iov buffers not yet allocated.
Now allocate buffers before writing data into them.

Fixes: #12123
Signed-off-by: Jevon Qiao <>

History

#1 Updated by John Spray about 4 years ago

Emailed JevonQ to ask him to take a look at this

#2 Updated by Kefu Chai about 4 years ago

  • Status changed from New to Need Review

#3 Updated by Jevon Qiao about 4 years ago

A pull request for fixing this issue has been submitted, pending on review.

#4 Updated by Yuri Weinstein about 4 years ago

  • Release set to master
  • ceph-qa-suite fs added

#5 Updated by Jevon Qiao about 4 years ago

Please use the new pull request:
https://github.com/ceph/ceph/pull/5084

#6 Updated by Kefu Chai about 4 years ago

  • Status changed from Need Review to Resolved

#7 Updated by Greg Farnum about 3 years ago

  • Component(FS) libcephfs added

Also available in: Atom PDF