Re: [Dnsmasq-discuss] CPU spin in master

2016-01-04 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Yes, the fix is in test3. Can you build with debug symbols

make CFLAGS=-g


and run under gdb, to find where it's spinning?


Cheers,

Simon


On 04/01/16 17:01, Uwe Schindler wrote:
> Hi,
> 
> ALARM: I compiled "2.76test3" and now it is spinning with 100% CPU
> on my box, box responds slow or not at all on DNS query. Was the
> fix included in "test3"? I updated from 2.75 to 2.76test3 because
> of the previously mentioned wildcard dnssec issue.
> 
> Uwe
> 
> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen 
> http://www.thetaphi.de eMail: u...@thetaphi.de
> 
> 
>> -Original Message- From: Dnsmasq-discuss
>> [mailto:dnsmasq-discuss- boun...@lists.thekelleys.org.uk] On
>> Behalf Of Simon Kelley Sent: Monday, January 04, 2016 5:15 PM To:
>> dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re:
>> [Dnsmasq-discuss] CPU spin in master
>> 
> Think that one's fixed then :) Many thanks.
> 
> 
> Simon.
> 
> 
> On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
>>>> Router survived the night. No obvious problems noted :-)
>>>> 
>>>> -- Cheers,
>>>> 
>>>> Kevin Sent from my phone, apologies for brevity, spelling &
>>>> top posting
>>>> 
>>>>> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant 
>>>>> <ke...@darbyshire-bryant.me.uk> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>>> On 01/01/16 20:27, Simon Kelley wrote:
>>>>>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote: Hi
>>>>>>> Simon,
>>>>>>> 
>>>>>>> So this is a pretty vague report of something lurking
>>>>>>> in very recent code.#
>>>>>> It's pretty good really. I stared at the ARP-caching code
>>>>>> and found a fault in the linked list code that could
>>>>>> introduce a cycle and create exactly the symptoms you're
>>>>>> seeing.
>>>>>> 
>>>>>> 
>>>>>> Git HEAD or 2.76test2 should do it. Please could you try
>>>>>> it?
>>>>> It's compiling as I type - will report back :-)
>>>>>> 
>>>>>> 
>>>>>> And many thanks for testing my new code!
>>>>> Well if we all played it safe and avoided the bleeding
>>>>> edge stuff nothing would get spotted & fixed would it :-)
>>>>> Someone has to try and I'd hardly regard my home router as
>>>>> life critical (although my niece would have a different
>>>>> opinion on that if she were visiting)
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Kevin
>>>>> 
>>>>> 
>>>>> ___ Dnsmasq-
> discuss
>>>>> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk 
>>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>>>>
>>>>>
>>>>>
>>>>> 
___ Dnsmasq-
> discuss
>>>>> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk 
>>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>>
>>>>> 
___
>> Dnsmasq-discuss mailing list 
>> Dnsmasq-discuss@lists.thekelleys.org.uk 
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJWiqX4AAoJEBXN2mrhkTWisoUP/0H9v94uMpBTdm19ySoLH2EV
SWrq7uPuR7QHkJMILoyHZTLq4lk7N6SD0WkHWV9mxIZ5+J1y7PK1SSWBTAQVtpKD
xGlMfpmgEfAOk/eH1Txc3+WwRfKxXPu03DXBFLPlhQpwZSMgHZYngdP3ITlyC9ob
41kgWUlM3z4mwe35m3GC/MKsXHF7ZYiFmpar2R+Lnwh8Q00cMFUnJs8PYbVyk6Ql
uGqnrW4QnT+VemOHv2ZF6X9zWw63F2TtzJ1wzIItUC9biVn8PDpnr9ayH06UNRdo
3Y8uHIMLp2hex28SuCpVyYPfiwbEm/44z1/Un7txx6x64Tv0AcgDscMDMQwWLbPZ
VJhO05Mba9u0G/xAnu48MvvyAZo3aQ0M+n4LGUnXCI7Tv3iD1BBcKus2pqflVuYG
QH4Z7aEnxfH+I+WHboPi1yY8zUcXKGlbZBAkEtJ5DMO/l5czYrz69xCrnift9Wi1
NdqtOpj72nnNuSxfiQnBQ1FcjNR05iG4dD5Vdgash7phVPi839ipJ5NgSRFK+sGN
8/nRaOwAxluj2ZMnfVEs06fiikNa9Hjen8c3+x+DwkLVtmqHrVKeVRXleV67Rtnx
uE7Xr93Cn3yPC3SsBMrsUKaZW2VAfaTCInJ7YFsFuogwbrSzDsHgxosRIPOnuSwF
MSMtK6L+LnARO4qnby2o
=DZau
-END PGP SIGNATURE-

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] CPU spin in master

2016-01-04 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Please use test4, which fixes the problem (again!)

Cheers,

Simon.


On 04/01/16 17:07, Uwe Schindler wrote:
> Hi,
> 
> I'll try. Unfortunately I have to provoke the spinning somehow. I
> just installed the test version, was happy, and a few minutes back
> it was no longer responding. TOP showed 99% CPU.
> 
> By the way, box is a VIA C7 standard x86 box (32 bits), not MIPS
> like Kevin's.
> 
> Uwe
> 
> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen 
> http://www.thetaphi.de eMail: u...@thetaphi.de
> 
> 
>> -Original Message- From: Simon Kelley
>> [mailto:si...@thekelleys.org.uk] Sent: Monday, January 04, 2016
>> 6:04 PM To: Uwe Schindler <u...@thetaphi.de> Cc:
>> dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re:
>> [Dnsmasq-discuss] CPU spin in master
>> 
> Yes, the fix is in test3. Can you build with debug symbols
> 
> make CFLAGS=-g
> 
> 
> and run under gdb, to find where it's spinning?
> 
> 
> Cheers,
> 
> Simon
> 
> 
> On 04/01/16 17:01, Uwe Schindler wrote:
>>>> Hi,
>>>> 
>>>> ALARM: I compiled "2.76test3" and now it is spinning with
>>>> 100% CPU on my box, box responds slow or not at all on DNS
>>>> query. Was the fix included in "test3"? I updated from 2.75
>>>> to 2.76test3 because of the previously mentioned wildcard
>>>> dnssec issue.
>>>> 
>>>> Uwe
>>>> 
>>>> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen 
>>>> http://www.thetaphi.de eMail: u...@thetaphi.de
>>>> 
>>>> 
>>>>> -Original Message- From: Dnsmasq-discuss 
>>>>> [mailto:dnsmasq-discuss- boun...@lists.thekelleys.org.uk]
>>>>> On Behalf Of Simon Kelley Sent: Monday, January 04, 2016
>>>>> 5:15 PM To: dnsmasq-discuss@lists.thekelleys.org.uk
>>>>> Subject: Re: [Dnsmasq-discuss] CPU spin in master
>>>>> 
>>>> Think that one's fixed then :) Many thanks.
>>>> 
>>>> 
>>>> Simon.
>>>> 
>>>> 
>>>> On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
>>>>>>> Router survived the night. No obvious problems noted
>>>>>>> :-)
>>>>>>> 
>>>>>>> -- Cheers,
>>>>>>> 
>>>>>>> Kevin Sent from my phone, apologies for brevity,
>>>>>>> spelling & top posting
>>>>>>> 
>>>>>>>> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant 
>>>>>>>> <ke...@darbyshire-bryant.me.uk> wrote:
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On 01/01/16 20:27, Simon Kelley wrote:
>>>>>>>>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote:
>>>>>>>>>> Hi Simon,
>>>>>>>>>> 
>>>>>>>>>> So this is a pretty vague report of something
>>>>>>>>>> lurking in very recent code.#
>>>>>>>>> It's pretty good really. I stared at the
>>>>>>>>> ARP-caching code and found a fault in the linked
>>>>>>>>> list code that could introduce a cycle and create
>>>>>>>>> exactly the symptoms you're seeing.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Git HEAD or 2.76test2 should do it. Please could
>>>>>>>>> you try it?
>>>>>>>> It's compiling as I type - will report back :-)
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> And many thanks for testing my new code!
>>>>>>>> Well if we all played it safe and avoided the
>>>>>>>> bleeding edge stuff nothing would get spotted & fixed
>>>>>>>> would it :-) Someone has to try and I'd hardly regard
>>>>>>>> my home router as life critical (although my niece
>>>>>>>> would have a different opinion on that if she were
>>>>>>>> visiting)
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> 
>>>>>>>> Kevin
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 

Re: [Dnsmasq-discuss] CPU spin in master

2016-01-04 Thread Uwe Schindler
Hi,

I'll try. Unfortunately I have to provoke the spinning somehow. I just 
installed the test version, was happy, and a few minutes back it was no longer 
responding. TOP showed 99% CPU.

By the way, box is a VIA C7 standard x86 box (32 bits), not MIPS like Kevin's.

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -Original Message-
> From: Simon Kelley [mailto:si...@thekelleys.org.uk]
> Sent: Monday, January 04, 2016 6:04 PM
> To: Uwe Schindler <u...@thetaphi.de>
> Cc: dnsmasq-discuss@lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] CPU spin in master
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Yes, the fix is in test3. Can you build with debug symbols
> 
> make CFLAGS=-g
> 
> 
> and run under gdb, to find where it's spinning?
> 
> 
> Cheers,
> 
> Simon
> 
> 
> On 04/01/16 17:01, Uwe Schindler wrote:
> > Hi,
> >
> > ALARM: I compiled "2.76test3" and now it is spinning with 100% CPU
> > on my box, box responds slow or not at all on DNS query. Was the
> > fix included in "test3"? I updated from 2.75 to 2.76test3 because
> > of the previously mentioned wildcard dnssec issue.
> >
> > Uwe
> >
> > - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de eMail: u...@thetaphi.de
> >
> >
> >> -Original Message- From: Dnsmasq-discuss
> >> [mailto:dnsmasq-discuss- boun...@lists.thekelleys.org.uk] On
> >> Behalf Of Simon Kelley Sent: Monday, January 04, 2016 5:15 PM To:
> >> dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re:
> >> [Dnsmasq-discuss] CPU spin in master
> >>
> > Think that one's fixed then :) Many thanks.
> >
> >
> > Simon.
> >
> >
> > On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
> >>>> Router survived the night. No obvious problems noted :-)
> >>>>
> >>>> -- Cheers,
> >>>>
> >>>> Kevin Sent from my phone, apologies for brevity, spelling &
> >>>> top posting
> >>>>
> >>>>> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant
> >>>>> <ke...@darbyshire-bryant.me.uk> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> On 01/01/16 20:27, Simon Kelley wrote:
> >>>>>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote: Hi
> >>>>>>> Simon,
> >>>>>>>
> >>>>>>> So this is a pretty vague report of something lurking
> >>>>>>> in very recent code.#
> >>>>>> It's pretty good really. I stared at the ARP-caching code
> >>>>>> and found a fault in the linked list code that could
> >>>>>> introduce a cycle and create exactly the symptoms you're
> >>>>>> seeing.
> >>>>>>
> >>>>>>
> >>>>>> Git HEAD or 2.76test2 should do it. Please could you try
> >>>>>> it?
> >>>>> It's compiling as I type - will report back :-)
> >>>>>>
> >>>>>>
> >>>>>> And many thanks for testing my new code!
> >>>>> Well if we all played it safe and avoided the bleeding
> >>>>> edge stuff nothing would get spotted & fixed would it :-)
> >>>>> Someone has to try and I'd hardly regard my home router as
> >>>>> life critical (although my niece would have a different
> >>>>> opinion on that if she were visiting)
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Kevin
> >>>>>
> >>>>>
> >>>>> ___
> Dnsmasq-
> > discuss
> >>>>> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk
> >>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> ___ Dnsmasq-
> > discuss
> >>>>> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk
> >>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >>
> >>
> >>>>>
> ___
> >> Dnsmasq-discuss mailing list
> >> Dnsmasq-discuss@lists.thekelleys.org.uk
> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
> >
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.22 (GNU/Linux)
> 
> iQIcBAEBCAAGBQJWiqX4AAoJEBXN2mrhkTWisoUP/0H9v94uMpBTdm19ySoL
> H2EV
> SWrq7uPuR7QHkJMILoyHZTLq4lk7N6SD0WkHWV9mxIZ5+J1y7PK1SSWBTAQ
> VtpKD
> xGlMfpmgEfAOk/eH1Txc3+WwRfKxXPu03DXBFLPlhQpwZSMgHZYngdP3ITlyC
> 9ob
> 41kgWUlM3z4mwe35m3GC/MKsXHF7ZYiFmpar2R+Lnwh8Q00cMFUnJs8PYbV
> yk6Ql
> uGqnrW4QnT+VemOHv2ZF6X9zWw63F2TtzJ1wzIItUC9biVn8PDpnr9ayH06UN
> Rdo
> 3Y8uHIMLp2hex28SuCpVyYPfiwbEm/44z1/Un7txx6x64Tv0AcgDscMDMQwW
> LbPZ
> VJhO05Mba9u0G/xAnu48MvvyAZo3aQ0M+n4LGUnXCI7Tv3iD1BBcKus2pqflV
> uYG
> QH4Z7aEnxfH+I+WHboPi1yY8zUcXKGlbZBAkEtJ5DMO/l5czYrz69xCrnift9Wi1
> NdqtOpj72nnNuSxfiQnBQ1FcjNR05iG4dD5Vdgash7phVPi839ipJ5NgSRFK+sG
> N
> 8/nRaOwAxluj2ZMnfVEs06fiikNa9Hjen8c3+x+DwkLVtmqHrVKeVRXleV67Rtn
> x
> uE7Xr93Cn3yPC3SsBMrsUKaZW2VAfaTCInJ7YFsFuogwbrSzDsHgxosRIPOnuS
> wF
> MSMtK6L+LnARO4qnby2o
> =DZau
> -END PGP SIGNATURE-


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] CPU spin in master

2016-01-04 Thread Uwe Schindler
Hi,

ALARM: I compiled "2.76test3" and now it is spinning with 100% CPU on my box, 
box responds slow or not at all on DNS query. Was the fix included in "test3"?
I updated from 2.75 to 2.76test3 because of the previously mentioned wildcard 
dnssec issue.

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -Original Message-
> From: Dnsmasq-discuss [mailto:dnsmasq-discuss-
> boun...@lists.thekelleys.org.uk] On Behalf Of Simon Kelley
> Sent: Monday, January 04, 2016 5:15 PM
> To: dnsmasq-discuss@lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] CPU spin in master
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Think that one's fixed then :) Many thanks.
> 
> 
> Simon.
> 
> 
> On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
> > Router survived the night. No obvious problems noted :-)
> >
> > -- Cheers,
> >
> > Kevin Sent from my phone, apologies for brevity, spelling & top
> > posting
> >
> >> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant
> >> <ke...@darbyshire-bryant.me.uk> wrote:
> >>
> >>
> >>
> >>> On 01/01/16 20:27, Simon Kelley wrote:
> >>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote: Hi Simon,
> >>>>
> >>>> So this is a pretty vague report of something lurking in very
> >>>> recent code.#
> >>> It's pretty good really. I stared at the ARP-caching code and
> >>> found a fault in the linked list code that could introduce a
> >>> cycle and create exactly the symptoms you're seeing.
> >>>
> >>>
> >>> Git HEAD or 2.76test2 should do it. Please could you try it?
> >> It's compiling as I type - will report back :-)
> >>>
> >>>
> >>> And many thanks for testing my new code!
> >> Well if we all played it safe and avoided the bleeding edge
> >> stuff nothing would get spotted & fixed would it :-)  Someone has
> >> to try and I'd hardly regard my home router as life critical
> >> (although my niece would have a different opinion on that if she
> >> were visiting)
> >>
> >> Thanks,
> >>
> >> Kevin
> >>
> >>
> >> ___ Dnsmasq-
> discuss
> >> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk
> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >>
> >>
> >> ___ Dnsmasq-
> discuss
> >> mailing list Dnsmasq-discuss@lists.thekelleys.org.uk
> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.22 (GNU/Linux)
> 
> iQIcBAEBCAAGBQJWipp4AAoJEBXN2mrhkTWiOs4P/0Vm32VFtw9CYnMvNTR
> eOcDu
> UTNWgFHtE3cVbgiuUqTcuU0h7txR5lCfusoA5P3ed1Q37XcoNr6Vmgk6gaVk6q
> y5
> dG0zNOb2r+hYiP6HyxG0tL0DluA5XOA9eb7T6BEN7KfvwS4ZRKrPOVK0sQXu2T
> IL
> YNmho2nixjjMDj51IbjovFhJaAFCipZipSS+OwsdpC+KJ63upraccP/9/6+4DX9R
> rq1l8tJZhkDWygESHsd+Wsxtfe/4oOvl4QSkOakIsse0kurXjLZiA7DPUaObOeG0
> gVTM+rXdOFmeWKFUPlOb18ZhYEUPZCcKgSvfzy7Aj2wJ5l3VR5YQJ+wKWQFl
> gVRA
> MDJK/2y8eBOrBZOxNzcX41/33CE2fh2mKNaeRsBBf5vhYsMXq5QKePCdwDhy
> vHN6
> hLUy1Um0VytaWuJE6tbWLrH3Y2DPNVp4ZJWuBz3h6uLBE/eeG4ZAnFtIwM0j
> Bjd+
> kVBXOkTjhYdnYpWS0MRus0v3kpy4iUSiELzyjUOW+97oZbtPWhDVeL0mxqyF
> bmj3
> gzbzgfS+K9ApJbEdUt3THwYShRRTllq3YSdUPE2aFPmDC56rVdUapCZMtLapIup
> 9
> tRiTTp30uCYDp7pIPUJHFByCEGLWr460ZXKpJxzsINcwScY/kTe5R6VcZCDpiCFR
> VK5MYc4AFdfXIXSDIRKb
> =u1u4
> -END PGP SIGNATURE-
> 
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] CPU spin in master

2016-01-04 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Apologies. Don't waste your time. I've managed to make git lose the
update somehow. Will get test4 fixed ASAP.


Cheers,

Simon.


On 04/01/16 17:07, Uwe Schindler wrote:
> Hi,
> 
> I'll try. Unfortunately I have to provoke the spinning somehow. I
> just installed the test version, was happy, and a few minutes back
> it was no longer responding. TOP showed 99% CPU.
> 
> By the way, box is a VIA C7 standard x86 box (32 bits), not MIPS
> like Kevin's.
> 
> Uwe
> 
> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen 
> http://www.thetaphi.de eMail: u...@thetaphi.de
> 
> 
>> -Original Message- From: Simon Kelley
>> [mailto:si...@thekelleys.org.uk] Sent: Monday, January 04, 2016
>> 6:04 PM To: Uwe Schindler <u...@thetaphi.de> Cc:
>> dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re:
>> [Dnsmasq-discuss] CPU spin in master
>> 
> Yes, the fix is in test3. Can you build with debug symbols
> 
> make CFLAGS=-g
> 
> 
> and run under gdb, to find where it's spinning?
> 
> 
> Cheers,
> 
> Simon
> 
> 
> On 04/01/16 17:01, Uwe Schindler wrote:
>>>> Hi,
>>>> 
>>>> ALARM: I compiled "2.76test3" and now it is spinning with
>>>> 100% CPU on my box, box responds slow or not at all on DNS
>>>> query. Was the fix included in "test3"? I updated from 2.75
>>>> to 2.76test3 because of the previously mentioned wildcard
>>>> dnssec issue.
>>>> 
>>>> Uwe
>>>> 
>>>> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen 
>>>> http://www.thetaphi.de eMail: u...@thetaphi.de
>>>> 
>>>> 
>>>>> -Original Message- From: Dnsmasq-discuss 
>>>>> [mailto:dnsmasq-discuss- boun...@lists.thekelleys.org.uk]
>>>>> On Behalf Of Simon Kelley Sent: Monday, January 04, 2016
>>>>> 5:15 PM To: dnsmasq-discuss@lists.thekelleys.org.uk
>>>>> Subject: Re: [Dnsmasq-discuss] CPU spin in master
>>>>> 
>>>> Think that one's fixed then :) Many thanks.
>>>> 
>>>> 
>>>> Simon.
>>>> 
>>>> 
>>>> On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
>>>>>>> Router survived the night. No obvious problems noted
>>>>>>> :-)
>>>>>>> 
>>>>>>> -- Cheers,
>>>>>>> 
>>>>>>> Kevin Sent from my phone, apologies for brevity,
>>>>>>> spelling & top posting
>>>>>>> 
>>>>>>>> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant 
>>>>>>>> <ke...@darbyshire-bryant.me.uk> wrote:
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On 01/01/16 20:27, Simon Kelley wrote:
>>>>>>>>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote:
>>>>>>>>>> Hi Simon,
>>>>>>>>>> 
>>>>>>>>>> So this is a pretty vague report of something
>>>>>>>>>> lurking in very recent code.#
>>>>>>>>> It's pretty good really. I stared at the
>>>>>>>>> ARP-caching code and found a fault in the linked
>>>>>>>>> list code that could introduce a cycle and create
>>>>>>>>> exactly the symptoms you're seeing.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Git HEAD or 2.76test2 should do it. Please could
>>>>>>>>> you try it?
>>>>>>>> It's compiling as I type - will report back :-)
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> And many thanks for testing my new code!
>>>>>>>> Well if we all played it safe and avoided the
>>>>>>>> bleeding edge stuff nothing would get spotted & fixed
>>>>>>>> would it :-) Someone has to try and I'd hardly regard
>>>>>>>> my home router as life critical (although my niece
>>>>>>>> would have a different opinion on that if she were
>>>>>>>> visiting)
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> 
>>>>>>>> Kevin
>>>>>>>> 
>>>

Re: [Dnsmasq-discuss] CPU spin in master

2016-01-04 Thread Uwe Schindler
Hi,

Grabbed, compiled, and installed it. I'll report back. It is now in use on my 
router, so I'll see if anything like this happens again.

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -Original Message-
> From: Simon Kelley [mailto:si...@thekelleys.org.uk]
> Sent: Monday, January 04, 2016 6:19 PM
> To: Uwe Schindler <u...@thetaphi.de>
> Cc: dnsmasq-discuss@lists.thekelleys.org.uk; 'Kevin Darbyshire-Bryant'
> <ke...@darbyshire-bryant.me.uk>
> Subject: Re: [Dnsmasq-discuss] CPU spin in master
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Please use test4, which fixes the problem (again!)
> 
> Cheers,
> 
> Simon.
> 
> 
> On 04/01/16 17:07, Uwe Schindler wrote:
> > Hi,
> >
> > I'll try. Unfortunately I have to provoke the spinning somehow. I
> > just installed the test version, was happy, and a few minutes back
> > it was no longer responding. TOP showed 99% CPU.
> >
> > By the way, box is a VIA C7 standard x86 box (32 bits), not MIPS
> > like Kevin's.
> >
> > Uwe
> >
> > - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de eMail: u...@thetaphi.de
> >
> >
> >> -Original Message- From: Simon Kelley
> >> [mailto:si...@thekelleys.org.uk] Sent: Monday, January 04, 2016
> >> 6:04 PM To: Uwe Schindler <u...@thetaphi.de> Cc:
> >> dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re:
> >> [Dnsmasq-discuss] CPU spin in master
> >>
> > Yes, the fix is in test3. Can you build with debug symbols
> >
> > make CFLAGS=-g
> >
> >
> > and run under gdb, to find where it's spinning?
> >
> >
> > Cheers,
> >
> > Simon
> >
> >
> > On 04/01/16 17:01, Uwe Schindler wrote:
> >>>> Hi,
> >>>>
> >>>> ALARM: I compiled "2.76test3" and now it is spinning with
> >>>> 100% CPU on my box, box responds slow or not at all on DNS
> >>>> query. Was the fix included in "test3"? I updated from 2.75
> >>>> to 2.76test3 because of the previously mentioned wildcard
> >>>> dnssec issue.
> >>>>
> >>>> Uwe
> >>>>
> >>>> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen
> >>>> http://www.thetaphi.de eMail: u...@thetaphi.de
> >>>>
> >>>>
> >>>>> -Original Message- From: Dnsmasq-discuss
> >>>>> [mailto:dnsmasq-discuss- boun...@lists.thekelleys.org.uk]
> >>>>> On Behalf Of Simon Kelley Sent: Monday, January 04, 2016
> >>>>> 5:15 PM To: dnsmasq-discuss@lists.thekelleys.org.uk
> >>>>> Subject: Re: [Dnsmasq-discuss] CPU spin in master
> >>>>>
> >>>> Think that one's fixed then :) Many thanks.
> >>>>
> >>>>
> >>>> Simon.
> >>>>
> >>>>
> >>>> On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
> >>>>>>> Router survived the night. No obvious problems noted
> >>>>>>> :-)
> >>>>>>>
> >>>>>>> -- Cheers,
> >>>>>>>
> >>>>>>> Kevin Sent from my phone, apologies for brevity,
> >>>>>>> spelling & top posting
> >>>>>>>
> >>>>>>>> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant
> >>>>>>>> <ke...@darbyshire-bryant.me.uk> wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> On 01/01/16 20:27, Simon Kelley wrote:
> >>>>>>>>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote:
> >>>>>>>>>> Hi Simon,
> >>>>>>>>>>
> >>>>>>>>>> So this is a pretty vague report of something
> >>>>>>>>>> lurking in very recent code.#
> >>>>>>>>> It's pretty good really. I stared at the
> >>>>>>>>> ARP-caching code and found a fault in the linked
> >>>>>>>>> list code that could introduce a cycle and create
> >>>>>>>>> exactly the symptoms you're seeing.
> >>>>>>>>>
> >>>>>>>>>
> >>>&g

Re: [Dnsmasq-discuss] CPU spin in master

2016-01-03 Thread Kevin Darbyshire-Bryant
Router survived the night. No obvious problems noted :-)

--
Cheers,

Kevin
Sent from my phone, apologies for brevity, spelling & top posting

> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant 
>  wrote:
> 
> 
> 
>> On 01/01/16 20:27, Simon Kelley wrote:
>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote:
>>> Hi Simon,
>>> 
>>> So this is a pretty vague report of something lurking in very recent code.#
>> It's pretty good really. I stared at the ARP-caching code and found a
>> fault in the linked list code that could introduce a cycle and create
>> exactly the symptoms you're seeing.
>> 
>> 
>> Git HEAD or 2.76test2 should do it. Please could you try it?
> It's compiling as I type - will report back :-)
>> 
>> 
>> And many thanks for testing my new code!
> Well if we all played it safe and avoided the bleeding edge stuff
> nothing would get spotted & fixed would it :-)  Someone has to try and
> I'd hardly regard my home router as life critical (although my niece
> would have a different opinion on that if she were visiting)
> 
> Thanks,
> 
> Kevin
> 
> 
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


smime.p7s
Description: S/MIME cryptographic signature
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] CPU spin in master

2016-01-02 Thread Kevin Darbyshire-Bryant


On 01/01/16 20:27, Simon Kelley wrote:
> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote:
>> Hi Simon,
>>
>> So this is a pretty vague report of something lurking in very recent code.#
> It's pretty good really. I stared at the ARP-caching code and found a
> fault in the linked list code that could introduce a cycle and create
> exactly the symptoms you're seeing.
>
>
> Git HEAD or 2.76test2 should do it. Please could you try it?
It's compiling as I type - will report back :-)
>
>
> And many thanks for testing my new code!
Well if we all played it safe and avoided the bleeding edge stuff
nothing would get spotted & fixed would it :-)  Someone has to try and
I'd hardly regard my home router as life critical (although my niece
would have a different opinion on that if she were visiting)

Thanks,

Kevin
 



smime.p7s
Description: S/MIME Cryptographic Signature
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] CPU spin in master

2016-01-01 Thread Simon Kelley
On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote:
> Hi Simon,
> 
> First off, Happy New Year!

 and to you, and all our readers!

> 
> I compiled master ec0628c4b2a06e1fc21216091bb040d61a43b271 on OpenWrt
> (mips Archer C7 v2 platform  Linux 4.1) a few hours ago and have
> experienced dnsmasq going into a tight cpu loop.  Running strace showed
> no syscalls, so is spinning in dnsmasq somewhere.  Kill -9 seemed to be
> the only way out, and the behaviour would return an indeterminate time
> after restart. Unfortunately I didn't have gdb installed on the router,
> dnsmasq compiled with debug, nor any experience with gdb for that
> matter, so it's a very limited amount of info I can offer.
> 
> I tried turning off dnssec usage in case that avoided the problem, which
> it didn't.  I'm not really sure what provokes the behaviour.  However
> I'd been running efef497b890231ba9232d02e7bfaf8273f044622 for a week
> without incident, and have now backed out to
> d3a8b39c7df2f0debf3b5f274a1c37a9e261f94e as of a few hours ago (avoiding
> the arp caching) so far also without incident.
> 
> So this is a pretty vague report of something lurking in very recent code.#

It's pretty good really. I stared at the ARP-caching code and found a
fault in the linked list code that could introduce a cycle and create
exactly the symptoms you're seeing.


Git HEAD or 2.76test2 should do it. Please could you try it?


And many thanks for testing my new code!



Cheers,

Simon

> 
> Cheers,
> 
> Kevin
> 
>  
> 
> 
> 
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] CPU spin in master

2016-01-01 Thread Kevin Darbyshire-Bryant
Hi Simon,

First off, Happy New Year!

I compiled master ec0628c4b2a06e1fc21216091bb040d61a43b271 on OpenWrt
(mips Archer C7 v2 platform  Linux 4.1) a few hours ago and have
experienced dnsmasq going into a tight cpu loop.  Running strace showed
no syscalls, so is spinning in dnsmasq somewhere.  Kill -9 seemed to be
the only way out, and the behaviour would return an indeterminate time
after restart. Unfortunately I didn't have gdb installed on the router,
dnsmasq compiled with debug, nor any experience with gdb for that
matter, so it's a very limited amount of info I can offer.

I tried turning off dnssec usage in case that avoided the problem, which
it didn't.  I'm not really sure what provokes the behaviour.  However
I'd been running efef497b890231ba9232d02e7bfaf8273f044622 for a week
without incident, and have now backed out to
d3a8b39c7df2f0debf3b5f274a1c37a9e261f94e as of a few hours ago (avoiding
the arp caching) so far also without incident.

So this is a pretty vague report of something lurking in very recent code.

Cheers,

Kevin

 



smime.p7s
Description: S/MIME Cryptographic Signature
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss