public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Fwd: Re: Error Code 431
@ 2003-09-10 20:09 Yngve Svendsen
  2003-09-11 12:46 ` Prashanth Guduru
  2003-09-11 18:41 ` Andrew J. Gray
  0 siblings, 2 replies; 6+ messages in thread
From: Yngve Svendsen @ 2003-09-10 20:09 UTC (permalink / raw)
  To: Prashanth Guduru; +Cc: help-gnats

(sorry I am sending this to you twice, Prashanth, but I forgot to cc 
help-gnats)

At 07:17 10.09.2003 -0700, Prashanth Guduru wrote:
>Hi Yngve,
>
>THanks for your prompt response. I have actually done
>that, i mean having "?debug=all" appended to the url.
>I have 2 different databases, the first one i created
>was "test", it doesnt have any categories except for
>the default ones.

(snip)


>THis is the last client command that is run in both
>the cases. For the test database i can see the
>server_reply: 210 PR added and in case of the other
>database when PR is created the "server_reply:" is
>empty and thats when i get "Error: Unparseable reply
>from server" and that follows the "Problem Report
>Sent. THank you for your report...........". I have
>closely observed the both databases, except for the
>categories there is no difference in them atall. I
>dont quite understand why isnt there a 210 PR added
>response from server and why is'nt the gnats.lock file
>getting deleted. Any comments.

I have seen similar things happening before and am pretty sure that what 
happens is that gnatsd stumbles upon some config problem in the second 
database during PR submission and that it gets so confused that it crashes. 
That would explain why it never gets as far as to give the 210 confirmation 
message and thus also never deletes the lock file. Of course, gnatsd should 
never crash, no matter what, so if I am correct, this would certainly be a bug.

There are two ways to attack this. The simplest is probably if you check 
the setup of the second database very carefully, especially the syntaxof 
all the config files. The other way is to attach a debugger to the gnatsd 
process and see where it crashes. Unfortunately, I have too little 
experience with that kind of thing to advise you. I suggest you try to go 
very carefully through the setup and report what you find.

Perhaps Andrew can contribute some further advise on this?

- Yngve



_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fwd: Re: Error Code 431
  2003-09-10 20:09 Fwd: Re: Error Code 431 Yngve Svendsen
@ 2003-09-11 12:46 ` Prashanth Guduru
  2003-09-11 18:41 ` Andrew J. Gray
  1 sibling, 0 replies; 6+ messages in thread
From: Prashanth Guduru @ 2003-09-11 12:46 UTC (permalink / raw)
  To: Yngve Svendsen; +Cc: help-gnats

Hi yngve,

Thats ok. I did the same thing of sending you twice.
Well, i have compared the setups but i am gonna do it
again, very closely. Will get back with the findings.
Thanks again,
Prashanth

--- Yngve Svendsen <yngve.svendsen@sun.com> wrote:
> (sorry I am sending this to you twice, Prashanth,
> but I forgot to cc 
> help-gnats)
> 
> At 07:17 10.09.2003 -0700, Prashanth Guduru wrote:
> >Hi Yngve,
> >
> >THanks for your prompt response. I have actually
> done
> >that, i mean having "?debug=all" appended to the
> url.
> >I have 2 different databases, the first one i
> created
> >was "test", it doesnt have any categories except
> for
> >the default ones.
> 
> (snip)
> 
> 
> >THis is the last client command that is run in both
> >the cases. For the test database i can see the
> >server_reply: 210 PR added and in case of the other
> >database when PR is created the "server_reply:" is
> >empty and thats when i get "Error: Unparseable
> reply
> >from server" and that follows the "Problem Report
> >Sent. THank you for your report...........". I have
> >closely observed the both databases, except for the
> >categories there is no difference in them atall. I
> >dont quite understand why isnt there a 210 PR added
> >response from server and why is'nt the gnats.lock
> file
> >getting deleted. Any comments.
> 
> I have seen similar things happening before and am
> pretty sure that what 
> happens is that gnatsd stumbles upon some config
> problem in the second 
> database during PR submission and that it gets so
> confused that it crashes. 
> That would explain why it never gets as far as to
> give the 210 confirmation 
> message and thus also never deletes the lock file.
> Of course, gnatsd should 
> never crash, no matter what, so if I am correct,
> this would certainly be a bug.
> 
> There are two ways to attack this. The simplest is
> probably if you check 
> the setup of the second database very carefully,
> especially the syntaxof 
> all the config files. The other way is to attach a
> debugger to the gnatsd 
> process and see where it crashes. Unfortunately, I
> have too little 
> experience with that kind of thing to advise you. I
> suggest you try to go 
> very carefully through the setup and report what you
> find.
> 
> Perhaps Andrew can contribute some further advise on
> this?
> 
> - Yngve
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fwd: Re: Error Code 431
  2003-09-10 20:09 Fwd: Re: Error Code 431 Yngve Svendsen
  2003-09-11 12:46 ` Prashanth Guduru
@ 2003-09-11 18:41 ` Andrew J. Gray
  2003-09-11 21:47   ` Prashanth Guduru
  1 sibling, 1 reply; 6+ messages in thread
From: Andrew J. Gray @ 2003-09-11 18:41 UTC (permalink / raw)
  To: prashanthguduru, yngve.svendsen; +Cc: help-gnats

Hi Prashanht,

> > >properly by the gnatsd. Is there a way i can view
> > the
> > >logs/output of gnatsd. Have anybody seen this kinda

> There are two ways to attack this. The simplest is probably if you check 
> the setup of the second database very carefully, especially the syntaxof 
> all the config files. The other way is to attach a debugger to the gnatsd 
> process and see where it crashes. Unfortunately, I have too little 
> experience with that kind of thing to advise you. I suggest you try to go 
> very carefully through the setup and report what you find.
> 
> I am also copying Andrew on this. Hopefully he can contribute some further 
> advise.

I haven't got any advice beyond what Yngve has suggested at this
stage.  If you can discover what steps are required to reproduce the
problem then I can look into it further myself.

I will look into the gnatsd logging functionality to see if you can
use that to get more information.  I might also see if I can recreate
a similar problem based on the description you have given.

-- 
Andrew J. Gray
GNU GNATS Maintainer


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fwd: Re: Error Code 431
  2003-09-11 18:41 ` Andrew J. Gray
@ 2003-09-11 21:47   ` Prashanth Guduru
  2003-09-12 14:21     ` Mel Hatzis
  2003-09-14  9:54     ` Andrew J. Gray
  0 siblings, 2 replies; 6+ messages in thread
From: Prashanth Guduru @ 2003-09-11 21:47 UTC (permalink / raw)
  To: Andrew J. Gray; +Cc: help-gnats

Hi 

I have done a close comparison of dbconfig's for the 
both databases as per yngve. I ve seen difference, but
only because both the databases are so very different.
I have seen differences in the fields. I cannot say
that the problem is because of it. To test it this way
by trial and error would be very tedious i guess. Are
there any critical features i should be looking for
when comparing both the dbconbfigs?. 



> Hi Prashanht,
> 
> I haven't got any advice beyond what Yngve has
> suggested at this
> stage.  If you can discover what steps are required
> to reproduce the
> problem then I can look into it further myself.
Andre,

Im sorry i can reproduce the problem but i cant tell
you how it can be. For any new database i create, i
see the same behaviour. It would be really great if
you can let me know how i can turn on the logging for
gnatsd.

Please let me know if i can do any more testing or
provide more information to resolve this problem.

Bests,
Prashanth



> 
> I will look into the gnatsd logging functionality to
> see if you can
> use that to get more information.  I might also see
> if I can recreate
> a similar problem based on the description you have
> given.
> 
> -- 
> Andrew J. Gray
> GNU GNATS Maintainer

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fwd: Re: Error Code 431
  2003-09-11 21:47   ` Prashanth Guduru
@ 2003-09-12 14:21     ` Mel Hatzis
  2003-09-14  9:54     ` Andrew J. Gray
  1 sibling, 0 replies; 6+ messages in thread
From: Mel Hatzis @ 2003-09-12 14:21 UTC (permalink / raw)
  To: Prashanth Guduru; +Cc: Andrew J. Gray, help-gnats

Prashanht, try the following:

  1. On the gnats server, run the gnatsd binary by hand...
    $GNATS_INSTALL_DIR/libexec/gnats/gnatsd

  2. For the "other" database you refer to in your
     earlier postings, enter:

     chdb <other>

     (replace <other> with the name of your other db)

  3. Enter "user <username>"

  4. Enter the command 'subm'

  5. Now paste in the following PR exactly as given:

To: bugs
Subject: pguduru@thoreau.inka.com
From: pguduru@thoreau.inka.com
Reply-To: pguduru@thoreau.inka.com
X-Send-Pr-Version: gnatsweb-4.00 (1.124.2.2)
X-GNATS-Notify:

 >Notify-List:    pguduru@thoreau.inka.com
 >Category:       pending
 >Synopsis:       pguduru@thoreau.inka.com
 >Confidential:   yes
 >Severity:       critical
 >Priority:       high
 >Class:          sw-bug
 >Submitter-Id:   medc
 >Originator:     pguduru@thoreau.inka.com
 >Release:        pguduru@thoreau.inka.com
 >Organization:
 >pguduru@thoreau.inka.com
 >Environment:
pguduru@thoreau.inka.com
 >Description:
pguduru@thoreau.inka.com
 >How-To-Repeat:
pguduru@thoreau.inka.com
 >Fix:
Unknown
 >Unformatted:
.

At the end of all this, you should either get a message back
from gnatsd showing the error or in the worst case, gnatsd
will crash and dump a core file which you can then examine
with a debugger.

If you get a core file, it'll really help if you email the
help list with a stack trace.

--
Mel Hatzis

On 09/11/2003 01:28 PM, Prashanth Guduru wrote:
> Hi 
> 
> I have done a close comparison of dbconfig's for the 
> both databases as per yngve. I ve seen difference, but
> only because both the databases are so very different.
> I have seen differences in the fields. I cannot say
> that the problem is because of it. To test it this way
> by trial and error would be very tedious i guess. Are
> there any critical features i should be looking for
> when comparing both the dbconbfigs?. 
> 
> 
> 
> 
>>Hi Prashanht,
>>
>>I haven't got any advice beyond what Yngve has
>>suggested at this
>>stage.  If you can discover what steps are required
>>to reproduce the
>>problem then I can look into it further myself.
> 
> Andre,
> 
> Im sorry i can reproduce the problem but i cant tell
> you how it can be. For any new database i create, i
> see the same behaviour. It would be really great if
> you can let me know how i can turn on the logging for
> gnatsd.
> 
> Please let me know if i can do any more testing or
> provide more information to resolve this problem.
> 
> Bests,
> Prashanth
> 
> 
> 
> 
>>I will look into the gnatsd logging functionality to
>>see if you can
>>use that to get more information.  I might also see
>>if I can recreate
>>a similar problem based on the description you have
>>given.
>>
>>-- 
>>Andrew J. Gray
>>GNU GNATS Maintainer
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> 
> _______________________________________________
> Help-gnats mailing list
> Help-gnats@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnats




_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fwd: Re: Error Code 431
  2003-09-11 21:47   ` Prashanth Guduru
  2003-09-12 14:21     ` Mel Hatzis
@ 2003-09-14  9:54     ` Andrew J. Gray
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew J. Gray @ 2003-09-14  9:54 UTC (permalink / raw)
  To: prashanthguduru; +Cc: help-gnats

Hi Parshanth,

> I have done a close comparison of dbconfig's for the 
> both databases as per yngve. I ve seen difference, but
> only because both the databases are so very different.
> I have seen differences in the fields. I cannot say
> that the problem is because of it. To test it this way
> by trial and error would be very tedious i guess. Are
> there any critical features i should be looking for
> when comparing both the dbconbfigs?. 

Sorry, I do not know what specifically you should be looking for when
comparing the dbconfigs.

-- 
Andrew J. Gray
GNU GNATS Maintainer


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-14  8:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-10 20:09 Fwd: Re: Error Code 431 Yngve Svendsen
2003-09-11 12:46 ` Prashanth Guduru
2003-09-11 18:41 ` Andrew J. Gray
2003-09-11 21:47   ` Prashanth Guduru
2003-09-12 14:21     ` Mel Hatzis
2003-09-14  9:54     ` Andrew J. Gray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).