Skip to content

程序停止时 crash 了,请帮忙看看是什么原因 #46

@Ocean52-XIE

Description

@Ocean52-XIE

BqLog-Release_1.4.9/src/../include/bq_common/types/hash_map_def.h:169: T& bq::hash_map<K, V>::value_node_buffer_head::operator[](bq::hash_map<K, V>::size_type) [with T = bq::hash_map<bq::platform::posix_file_node_info, bq::platform::file_open_mode_enum>::value_node; K = bq::platform::posix_file_node_info; V = bq::platform::file_open_mode_enum; bq::hash_map<K, V>::size_type = unsigned int]: Assertion `idx < size_' failed.

Image

通过源代码自行编译,静态链接,目前在 release 版本上有这个问题,debug 版本没有复现,是否关停析构的时候存在数据竞争,概率性出现,非必现,但概率不低

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