Re: nginx crash

2022-07-27 Thread Dk Jack
Thanks Dounin, I will look through my code. As I said, I try not to touch nginx data structure or variables in my module. Is there a guideline document that details when a module should increment or decrement reference count value. When invoking some of these functions? Thanks, Dk. > On Jul

Re: nginx crash

2022-07-27 Thread Maxim Dounin
Hello! On Wed, Jul 27, 2022 at 08:40:41AM -0700, Dk Jack wrote: > In my code I am not modifying the reference count. Could you let > me if there any function calls if invoked would indirectly > update the reference count? There are quite a few functions and/or return codes which might

Re: nginx crash

2022-07-27 Thread Dk Jack
In my code I am not modifying the reference count. Could you let me if there any function calls if invoked would indirectly update the reference count? Dk. > On Jul 27, 2022, at 6:35 AM, Maxim Dounin wrote: > > Hello! > >> On Tue, Jul 26, 2022 at 07:21:29PM -0700, Dk Jack wrote: >> >> Hi,

Re: nginx crash

2022-07-27 Thread Maxim Dounin
Hello! On Tue, Jul 26, 2022 at 07:21:29PM -0700, Dk Jack wrote: > Hi, > I am noticing a crash in my nginx module. The crash is happening after an > internal redirect. It's not always happening but for certain requests. > Besides the trace log I do not have much info about the request. In my >

Re: nginx crash

2022-07-26 Thread Dk Jack
Forgot to add, this is with nginx version: 1.20.1 On Tue, Jul 26, 2022 at 7:21 PM Dk Jack wrote: > Hi, > I am noticing a crash in my nginx module. The crash is happening after an > internal redirect. It's not always happening but for certain requests. > Besides the trace log I do not have much

nginx crash

2022-07-26 Thread Dk Jack
Hi, I am noticing a crash in my nginx module. The crash is happening after an internal redirect. It's not always happening but for certain requests. Besides the trace log I do not have much info about the request. In my module, I am restoring the my module context in a similar fashion as the `