<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    OK, so I ran it with -d and now I'm waiting for SIGSEGV. What then?<br>
    <br>
    BR<br>
    pedro<br>
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote type="cite"
      cite="mid:8214a77c-6ddc-413a-a6a2-b7272512e29c@gmail.com">I'm
      sending this again because the first time I only sent it to the
      list.
      <br>
      ----------------------------------------------------------------
      <br>
      <br>
      Hello Simon,
      <br>
      <br>
      I was unfortunately wrong.
      <br>
      The following commit is responsible for this issue:
<a class="moz-txt-link-freetext" href="https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=57f0489f384193f7c962fb2a20c9e2e867f86039">https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=57f0489f384193f7c962fb2a20c9e2e867f86039</a><br>
      <br>
      Before that, with the same settings, everything works fine.
      <br>
      <br>
      I'm using this adblock file:
      <a class="moz-txt-link-freetext" href="https://bitbucket.org/pedro311/freshtomato-arm/downloads/dnsmasq.adblock">https://bitbucket.org/pedro311/freshtomato-arm/downloads/dnsmasq.adblock</a>
      <br>
      <br>
      and this (more or less) config file:
      <a class="moz-txt-link-freetext" href="https://bitbucket.org/pedro311/freshtomato-arm/downloads/dnsmasq.conf">https://bitbucket.org/pedro311/freshtomato-arm/downloads/dnsmasq.conf</a>
      <br>
      <br>
      Using these settings, query the following domains (in random
      order, multiple times):
      <br>
      <br>
      adservice.google.com
      <br>
      google.com
      <br>
      consent.google.com
      <br>
      play.google.com
      <br>
      google.com/etc/
      <br>
      <br>
      I can get dnsmasq to SIGSEGV.
      <br>
      BTW, I have a ready dnsmasq with gdb symbols - how do I run it to
      get some info?
      <br>
      <br>
      -------------------------------------
      <br>
      [querying some domain that (page) contains a lot of google stuff
      in it, but it's better to do it manually]
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
      play.google.com from 192.168.2.200
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
      play.google.com to 127.0.0.1#5453
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: validation
      result is INSECURE
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: reply
      play.google.com is 142.250.203.206
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
      consent.google.pl from 192.168.2.200
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
      consent.google.pl to 127.0.0.1#5453
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: validation
      result is INSECURE
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: reply
      consent.google.pl is 216.58.215.110
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
      <a class="moz-txt-link-abbreviated" href="http://www.google-analytics.com">www.google-analytics.com</a> from 192.168.1.201
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: config
      <a class="moz-txt-link-abbreviated" href="http://www.google-analytics.com">www.google-analytics.com</a> is NXDOMAIN
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
      adservice.google.com from 192.168.1.201
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: config
      adservice.google.com is NXDOMAIN
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
      adservice.google.pl from 192.168.1.201
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
      adservice.google.pl to 127.0.0.1#5453
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: query[A]
      adservice.google.pl from 192.168.1.201
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: forwarded
      adservice.google.pl to 127.0.0.1#5453
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: dnssec-query[DS]
      google.pl to 127.0.0.1#5453
      <br>
      Apr  1 04:59:09 router daemon.info dnsmasq[4396]: reply google.pl
      is no DS
      <br>
      Apr  1 04:59:09 router kern.warn kernel: dnsmasq/4396: potentially
      unexpected fatal signal 11.
      <br>
      Apr  1 04:59:09 router kern.warn kernel: Pid: 4396, comm: dnsmasq
      <br>
      Apr  1 04:59:09 router kern.warn kernel: CPU: 0    Tainted: P
      (2.6.36.4brcmarm #28)
      <br>
      Apr  1 04:59:09 router kern.warn kernel: PC is at 0x2e404
      <br>
      Apr  1 04:59:09 router kern.warn kernel: LR is at 0x92c18
      <br>
      Apr  1 04:59:09 router kern.warn kernel: pc :
      [<0002e404>]    lr : [<00092c18>]    psr: 00000010
      <br>
      Apr  1 04:59:09 router kern.warn kernel: sp : beaefa60  ip :
      000205e6 fp : 0000000e
      <br>
      Apr  1 04:59:09 router kern.warn kernel: r10: 00000000  r9 :
      beaefa9c r8 : 00091e3c
      <br>
      Apr  1 04:59:09 router kern.warn kernel: r7 : 00091e3c  r6 :
      00000000 r5 : 00095f20  r4 : 00831400
      <br>
      Apr  1 04:59:09 router kern.warn kernel: r3 : 00092c18  r2 :
      402c8008 r1 : 402c8008  r0 : 6c62756f
      <br>
      Apr  1 04:59:09 router kern.warn kernel: Flags: nzcv  IRQs on 
      FIQs on Mode USER_32  ISA ARM  Segment user
      <br>
      Apr  1 04:59:09 router kern.warn kernel: Control: 10c53c7d  Table:
      8f34004a  DAC: 00000015
      <br>
      Apr  1 05:00:00 router syslog.info root: -- MARK --
      <br>
      Apr  1 05:00:00 router user.notice dnsmasq-watchdog: dnsmasq
      stopped? Starting...
      <br>
      -------------------------------------
      <br>
      <br>
      <br>
      BR
      <br>
      pedro
      <br>
      <br>
      <blockquote type="cite">Hello Simon,
        <br>
        <br>
        Thanks for answering. I'm helping Pedro, FreshTomato main dev.
        I'm acting as messenger.
        <br>
        <br>
        Here's what he have found so far:
        <br>
        <br>
        ```
        <br>
        I'm checking now which commit is responsible for this problem.
        It looks like this one:
        <br>
<a class="moz-txt-link-freetext" href="https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=snapshot;h=7c1212e3d1b88359d2c28fa2fe42fee2fcc39732;sf=tgz">https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=snapshot;h=7c1212e3d1b88359d2c28fa2fe42fee2fcc39732;sf=tgz</a>
<a class="moz-txt-link-rfc2396E" href="https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=snapshot;h=7c1212e3d1b88359d2c28fa2fe42fee2fcc39732;sf=tgz"><https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=snapshot;h=7c1212e3d1b88359d2c28fa2fe42fee2fcc39732;sf=tgz></a>
        <br>
        <br>
        Everything after that causes these problems. Once I know for
        sure, I'll try posting the log here with --log-queries enabled
        and if that doesn't help, then with gdb.
        <br>
        <br>
        The previous bug was easy to find:
        <a class="moz-txt-link-freetext" href="https://github.com/FreshTomato-Project/freshtomato-mips/issues/6">https://github.com/FreshTomato-Project/freshtomato-mips/issues/6</a>
        , but this one looks more complex.
        <br>
        ```
        <br>
        <br>
        Thank you!
        <br>
        Mat (HommeOursPorc)
        <br>
        <br>
        _______________________________________________
        <br>
        Dnsmasq-discuss mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
        <br>
<a class="moz-txt-link-freetext" href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a>
        <br>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>