Segmentation fault, mac os 13. #1538
                  
                    
                      arogozhnikov
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| 
         Installing psycopg2 for the first time on my Linux Mint 21.3 Cinnamon environment, I was also getting various errors: 
  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Don't want this to be an issue, since it likely isn't.
I'm using sqlalchemy + psycopg2.
Exact script I'm talking about is single-threaded insertion of data.
It worked well for a while, and at some point it just started crashing with segfault when session for sqlalchemy is closed.
(I.e. problems are not during commit, but rather during closing connection).
I believe the reason is my update to mac os 13 (M1 processor) that happened around that time.
Reinstalling psycopg2-binary or psycopg2 and updating to newest version did not help.
Then I reinstalled the python from brew and reinstalled venv - and then the problem disappeared.
Just sharing if someone hits the same problem.
Beta Was this translation helpful? Give feedback.
All reactions