Project

General

Profile

Bug #42881

nautilus: rgw: "Program returns random data in a function" in src/rgw/rgw_rest_s3.cc

Added by Nathan Cutler over 1 year ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

see http://shaman.ceph.com/builds/ceph/nautilus/

nautilus was building fine on openSUSE Leap 15.1 up to a3114e97c92742b791205cde9b104718f1459a56

then something got merged which broke the Leap 15.1 build. The failure is:

[ 6987s] I: Program returns random data in a function
[ 6987s] E: ceph no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/ceph-14.2.4-457-g2df6575/src/rgw/rgw_rest_s3.cc:3383
[ 6987s] 
[ 6987s] I: Program returns random data in a function
[ 6987s] E: ceph no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/ceph-14.2.4-457-g2df6575/src/rgw/rgw_rest_s3.cc:3383

(This issue is not limited to openSUSE Leap 15.1, but that OS is the only one that does static analysis as part of the build process.)

This first showed up in Shaman for 2df6575e9d449637265f9d7b19ce159636814a1e - so, with a high degree of certitude we can say that the culprit is likely to be one of the following PRs:

$ git log --merges --no-decorate --oneline --reverse a3114e97c92742b791205cde9b104718f1459a56..2df6575e9d449637265f9d7b19ce159636814a1e^
5a071f3d2e Merge pull request #29777 from ivancich/nautilus-rgw-bucket-list-max-entries
a556d829e1 Merge pull request #29803 from ivancich/nautilus-rgw-housekeeping-reset-stats
e51a769453 Merge pull request #29849 from theanalyst/nautilus-listv2
66d81cae4d Merge pull request #29898 from smithfarm/wip-41264-nautilus

Related issues

Duplicates rgw - Bug #40747: Recent rgw-website change causes master FTBFS on OpenSUSE Build Service Resolved 07/12/2019

History

#1 Updated by Nathan Cutler over 1 year ago

  • Project changed from Ceph to rgw
  • Subject changed from nautilus FTBFS on openSUSE Leap 15.1 to nautilus: "Program returns random data in a function" in src/rgw/rgw_rest_s3.cc
  • Severity changed from 3 - minor to 2 - major

#2 Updated by Nathan Cutler over 1 year ago

  • Subject changed from nautilus: "Program returns random data in a function" in src/rgw/rgw_rest_s3.cc to nautilus: rgw: "Program returns random data in a function" in src/rgw/rgw_rest_s3.cc

#3 Updated by Nathan Cutler over 1 year ago

  • Assignee set to Nathan Cutler

Here is the "serious compiler warning" that is failing the openSUSE build:

[ 1674s] /home/abuild/rpmbuild/BUILD/ceph-14.2.4-457-g2df6575/src/rgw/rgw_rest_s3.cc: In member function 'RGWOp* RGWHandler_REST_Bucket_S3::get_obj_op(bool)':
[ 1674s] /home/abuild/rpmbuild/BUILD/ceph-14.2.4-457-g2df6575/src/rgw/rgw_rest_s3.cc:3383:7: warning: control reaches end of non-void function [-Wreturn-type]
[ 1674s]    }   }
[ 1674s]        ^

This issue was introduced by fdf69915534eb20b784c7b7d2a4f3573423b885c - part of https://github.com/ceph/ceph/pull/29849

#4 Updated by Nathan Cutler over 1 year ago

  • Status changed from In Progress to Duplicate

This issue also affected master, and was reported in #40747 - the nautilus backport of that one should fix this one.

#5 Updated by Nathan Cutler over 1 year ago

  • Duplicates Bug #40747: Recent rgw-website change causes master FTBFS on OpenSUSE Build Service added

Also available in: Atom PDF