flomesh-io / pipy

Pipy is a programmable proxy for the cloud, edge and IoT.
https://flomesh.io/pipy
Other
743 stars 70 forks source link

Assertion failure when running Repo in persistent mode #127

Closed naqvis closed 1 year ago

naqvis commented 1 year ago

Bug Report

Pipy is generating abort signal at closure when running repo in persistent mode.

Error generated is:

Assertion failed: (dummy_versions_.next_ == &dummy_versions_), function ~VersionSet, file version_set.cc, line 755.

Steps to reproduce

pipy data

Where data refers to some existing directory which is used to store repo database.

Pipy Version

Version     : 0.70.0-2
Commit      : 0ba615d8f5fcce4d8bfd537397bb11e18aa00866
Commit Date : Mon, 31 Oct 2022 16:26:29 +0800
Host        : Darwin-22.1.0 arm64
OpenSSL     : OpenSSL 1.1.1q  5 Jul 2022
Builtin GUI : Yes
Samples     : Yes
naqvis commented 1 year ago

Confirm that commit #https://github.com/flomesh-io/pipy/commit/8af9d7361cc6cdefa53102b757b584d7260bae3c fixes this.