Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on ruby 3.2.2, pg 1.5.4 #553

Closed
thibpoullain opened this issue Nov 20, 2023 · 2 comments
Closed

Segfault on ruby 3.2.2, pg 1.5.4 #553

thibpoullain opened this issue Nov 20, 2023 · 2 comments

Comments

@thibpoullain
Copy link

thibpoullain commented Nov 20, 2023

Hi guys,

I have segfaults randomly poping and flushing my databases.

I have ruby 3.2.2, pg 1.5.4, rails 6.1.7.6 and postgresql@14 on a Mac M1.

Thanks for your help guys 😊 🙏🏼

This is the segfault message :

Segfault.txt

The first lines :

/Users/thibaut/.rvm/gems/ruby-3.2.2/gems/pg-1.5.4/lib/pg/connection.rb:690: [BUG] Segmentation fault at 0x0000000107c4cac0
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]

-- Crash Report log information --------------------------------------------
   See Crash Report log file in one of the following locations:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0084 p:---- s:0506 e:000505 CFUNC  :connect_poll
c:0083 p:0358 s:0502 e:000501 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/pg-1.5.4/lib/pg/connection.rb:690
c:0082 p:0265 s:0489 e:000488 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/pg-1.5.4/lib/pg/connection.rb:824
c:0081 p:0007 s:0478 e:000477 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/pg-1.5.4/lib/pg/connection.rb:759
c:0080 p:0012 s:0472 e:000471 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/pg-1.5.4/lib/pg.rb:63
c:0079 p:0006 s:0466 e:000465 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/postgresql_adapter.rb:78
c:0078 p:0079 s:0460 e:000458 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/postgresql_adapter.rb:37 [FINISH]
c:0077 p:---- s:0452 e:000451 CFUNC  :public_send
c:0076 p:0014 s:0446 e:000445 METHOD /Users/thibaut/.rvm/gems/ruby-3.2.2/gems/activerecord-6.1.7.6/lib/active_record/connection_adapters/abstract/connection_pool.rb
@larskanis
Copy link
Collaborator

Did you check #538 ? The backtrace looks like that.

@thibpoullain
Copy link
Author

Oh thx sorry I missed it !! I'm gonna add my comment on this issue and close this one, sorry !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants