mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	fix double ownership of enode marking causing crash during tracing. Issue #952
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									1ab7ab9d74
								
							
						
					
					
						commit
						62e87d6474
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -140,7 +140,7 @@ namespace z3 { | ||||||
|     class context { |     class context { | ||||||
|         bool       m_enable_exceptions; |         bool       m_enable_exceptions; | ||||||
|         Z3_context m_ctx; |         Z3_context m_ctx; | ||||||
|         static void error_handler(Z3_context c, Z3_error_code e) { std::cout << "ex\n"; Z3_THROW(exception(Z3_get_error_msg(c, e))); std::cout << "unreach\n"; } |         static void error_handler(Z3_context /*c*/, Z3_error_code /*e*/) { /* do nothing */ } | ||||||
|         void init(config & c) { |         void init(config & c) { | ||||||
|             m_ctx = Z3_mk_context_rc(c); |             m_ctx = Z3_mk_context_rc(c); | ||||||
|             m_enable_exceptions = true; |             m_enable_exceptions = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue