Project

General

Profile

Actions

Bug #66887

closed

seastar - width/precision is not integer

Added by Rongqi Sun over 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-4376-gf88d0c94e2
Released In:
v20.2.0~2192
Upkeep Timestamp:
2025-11-01T01:17:11+00:00

Actions #1

Updated by Rongqi Sun over 1 year ago

Hi @Matan Breizman @Yingxin Cheng Could you have a look?

Actions #2

Updated by Matan Breizman over 1 year ago ยท Edited

Looks like fmt issue:

  FMT_CONSTEXPR void check_dynamic_spec(int arg_id) {
    if (arg_id < num_args_ && types_ && !is_integral_type(types_[arg_id]))
      this->on_error("width/precision is not integer");
  }

Actions #3

Updated by Rongqi Sun over 1 year ago

Yes, it is fmt related.
Seems like some servers like omani001, not sure why, but the server's clang links libgcc12 (others link libgcc11), cause a check:
template <typename Char, typename ErrorHandler>

FMT_CONSTEXPR void
basic_format_parse_context<Char, ErrorHandler>::check_dynamic_spec(int arg_id) {
  if (detail::is_constant_evaluated()) {
    using context = detail::compile_parse_context<Char, ErrorHandler>;
    static_cast<context*>(this)->check_dynamic_spec(arg_id);
  }
}

After I degraded to libgcc11, the issue disappeared. But I need more time to figure it out.

Actions #4

Updated by Rongqi Sun over 1 year ago

@Matan Breizman @Kefu Chai Seem like same as https://github.com/llvm/llvm-project/issues/55638

I prefer to upgrade FMT version because it add 'gcc version check'. Any opinion?

Actions #5

Updated by Matan Breizman over 1 year ago

Rongqi Sun wrote in #note-4:

@Matan Breizman @Kefu Chai Seem like same as https://github.com/llvm/llvm-project/issues/55638

I prefer to upgrade FMT version because it add 'gcc version check'. Any opinion?

Are you suggesting that upgrading fmt version will help us to avoid this issue?
Note, fmt is included as a submodule in Ceph.

Actions #6

Updated by Rongqi Sun over 1 year ago

Are you suggesting that upgrading fmt version will help us to avoid this issue?

Yes

Note, fmt is included as a submodule in Ceph.

So I ask for comments before PR, not sure what side affects will arise.

Actions #7

Updated by Rongqi Sun over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 58990
Actions #8

Updated by Casey Bodley over 1 year ago

  • Status changed from Fix Under Review to Resolved
Actions #9

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to f88d0c94e2c711fc147afe983d21d6acb760e6db
  • Fixed In set to v19.3.0-4376-gf88d0c94e2c
  • Upkeep Timestamp set to 2025-07-10T19:37:03+00:00
Actions #10

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-4376-gf88d0c94e2c to v19.3.0-4376-gf88d0c94e2
  • Upkeep Timestamp changed from 2025-07-10T19:37:03+00:00 to 2025-07-14T22:42:16+00:00
Actions #11

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~2192
  • Upkeep Timestamp changed from 2025-07-14T22:42:16+00:00 to 2025-11-01T01:17:11+00:00
Actions

Also available in: Atom PDF