[TinyOWS-dev] [tinyows] #58: tiny does not seem to exit when there is a problem connection to the DB

tinyows trac at tinyows.org
Mon Sep 27 07:10:07 EST 2010


#58: tiny does not seem to exit when there is a problem connection to the DB
----------------------------+-----------------------------------------------
     Reporter:  assefa      |           Owner:             
         Type:  defect      |          Status:  new        
     Priority:  minor       |         Version:  SVN        
   Resolution:              |        Keywords:             
        Stage:  Unreviewed  |        Approval:  Unnecessary
        Patch:  None        |      Complexity:  Unknown    
Compatibility:  Unknown     |   Specification:  Unnecessary
----------------------------+-----------------------------------------------

Comment(by assefa):

 Here is my case (on windows): I have an invalid db connection in my
 config.xml:

 From what I can see, the error message regarding the db is caught properly
 (and the code passes through the ows_error function) but we do not exit
 with this error message.
 The code continues and calls the ows_error message again with a "Service
 Unknown" error message (ows.c ~408). At that point we hit an assert in
 ows_error (assert(!o->exit);

 This is the case with 0.9.0 and also with svn.

-- 
Ticket URL: <http://www.tinyows.org/trac/ticket/58#comment:1>
tinyows <https://www.tinyows.org/trac/>
TinyOWS


More information about the TinyOWS-dev mailing list