dbTalk Databases Forums  

pgsql: That's just the lovely way windows handles a "segfault".

comp.databases.postgresql.committers comp.databases.postgresql.committers


Discuss pgsql: That's just the lovely way windows handles a "segfault". in the comp.databases.postgresql.committers forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bruce Momjian
 
Posts: n/a

Default pgsql: That's just the lovely way windows handles a "segfault". - 11-01-2004 , 01:22 PM






Log Message:
-----------
That's just the lovely way windows handles a "segfault". Gotta be really
interesting for MS to catch all those dumps...

Anyway. Oops. Seems I ran my regression tests with the old psql, and
just managed to update the backend, when I tested that patch. Turns out
there are codepaths where we'd access the Critical Section before it was
initialized. Attached patch breaks the initializeation off to a separate
part and adds that one to a much earlier position in the program.

Magnus Hagander

Modified Files:
--------------
pgsql/src/bin/psql:
common.c (r1.93 -> r1.94)
(http://developer.postgresql.org/cvsw...1=1.93&r2=1.94)
common.h (r1.40 -> r1.41)
(http://developer.postgresql.org/cvsw...1=1.40&r2=1.41)
startup.c (r1.104 -> r1.105)
(http://developer.postgresql.org/cvsw...1.104&r2=1.105)

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.