Skip to content

[bug] ubsan failed with difference compiler flag for io_uring #8

@drakedog2008

Description

@drakedog2008

Currently, the dbus-sensor enables project wise io_uring flag:

https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/64039.

However, the nvmed disabled the io_uring due to https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/62299

Consequentially, it failed the ubsan:

/usr/local/include/boost/asio/detail/deadline_timer_service.hpp:272:30: runtime error: member call on address 0x617000000080 which does not point to an object of type 'io_uring_service'
0x617000000080: note: object is of type 'boost::asio::detail::select_reactor'
 00 00 00 00  e8 a7 39 5c 4e 56 00 00  00 00 00 00 00 00 00 00  52 70 95 5e 4e 56 00 00  a0 6d 95 5e
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'boost::asio::detail::select_reactor'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions