如何解决Ruby on Rails中的“Double free for ptr 0x7f7c33808200”?

问题描述 投票:0回答:1

我在 macOS Sonoma、x86 intel i7 上有一个 Ruby on Rails API 应用程序。

我可以使用

rails s
启动服务器。当我到达端点时,它会记录以下内容:

Started POST "/v1/login" for ::1 at 2023-12-13 19:38:46 +0700
ruby(5405,0x70000e8b9000) malloc: double free for ptr 0x7f7c33808200
ruby(5405,0x70000e8b9000) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      rails server

我已经再次表演了

bundle update
bundle clean
bundle install
。我也重新启动了我的笔记本电脑,但它仍然出现。

如何解决这个错误?

ruby-on-rails ruby malloc
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.