Giter Site home page Giter Site logo

Segmentation fault during setup about adbhostgen HOT 5 OPEN

Paradox avatar Paradox commented on September 26, 2024
Segmentation fault during setup

from adbhostgen.

Comments (5)

Paradox avatar Paradox commented on September 26, 2024

Well, another segmentation fault, after further testing... bummer.

so, it doesn't seem to be a size issue, i'm thinking there are badly formed hosts in the list, or something.

from adbhostgen.

Paradox avatar Paradox commented on September 26, 2024

I found that the actual part causing the segmentation fault comes from | cat tmpbl - | grep -Fvwf tmpwl | sort -u

So, now, I'm looking into why it is happening, and, how to avoid it.

I've narrowed it down to the sort command, but, I'm still not 100% sure why it happens, and, only on one segment of the file, and, no others.

from adbhostgen.

Paradox avatar Paradox commented on September 26, 2024

Well, I lowered the line count, again, this time to 10000, took forever, but, completed, without a segfault, only problem now, is that it runs fine, for a while, and, then stops responding, if I reboot, computers can't get an address from the dhcp server, and, I have to reset the router to connect, again. Sometimes, I can use a static IP on my computer, and, I also found that if I use the pause argument, the router will start working, again, but, of course, it doesn't block ads, so, I guess the large mphosts file is just too much for this router, and I may have to look into customizing the list to use more domains, instead of hosts? or something, to cut down on the size of the file. But, if nothing else, it has given me something to tinker with, and, when I get ahold of another, more capable router, I will have a good idea how it works. Maybe I'll even adapt it and use one of my Linux machines as my DNS server, instead.

from adbhostgen.

Paradox avatar Paradox commented on September 26, 2024

Interesting... I removed the sort -u command, and disabled my code, it went completely through, with no segfault, but, when I opened the mphosts file in vi, I found some very interesting entries, at the start of the file, one example is 0.1.2.3 local I'm pretty sure, that shouldn't be there, and, may be the reason my router stops working, and starts working again, when I pause the mphosts file...

from adbhostgen.

m-parashar avatar m-parashar commented on September 26, 2024

Thanks for the feedback. Any solutions yet? I have been a bit busy with other things and could not look into this.

from adbhostgen.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.