Coder Social home page Coder Social logo

Comments (12)

PolynomialDivision avatar PolynomialDivision commented on August 21, 2024

You can also trigger this by

ubus dawn reload_config

I can confirm that the reconfiguration of other APs will lead to a crash.

from dawn.

PolynomialDivision avatar PolynomialDivision commented on August 21, 2024

The issue is in the reset function

https://github.com/berlin-open-wireless-lab/DAWN/blob/master/src/utils/dawn_uci.c#L191-L199

from dawn.

babarosaM33 avatar babarosaM33 commented on August 21, 2024

i ran dawn with gdb for one day, but could not get the crash. so i could not catch the bug.

from dawn.

babarosaM33 avatar babarosaM33 commented on August 21, 2024

the routine to compile dawn with gdb

  1. download openwrt sdk.

  2. edit rules.mk at the root directory. enable -g3 option

  3. disable config_sstrip and enable config no strip

  4. build

from dawn.

babarosaM33 avatar babarosaM33 commented on August 21, 2024

btw, my router only has 64MB memory, as a result, it could not run Valgrind to detect memory leak for memory limit. since openwrt's glibc does not have sanitize enabled, i could not check potential memory leak with automatic tools.

from dawn.

XiaoliChan avatar XiaoliChan commented on August 21, 2024

@PolynomialDivision Hello guy. I have a question, I want to kick device without check device bit rates, so what permanent should I set for bandwidth_threshold ?

from dawn.

PolynomialDivision avatar PolynomialDivision commented on August 21, 2024

@PolynomialDivision Hello guy. I have a question, I want to kick device without check device bit rates, so what permanent should I set for bandwidth_threshold ?

I would say 0, but we use > for comparison, so we have to change the code.
https://github.com/berlin-open-wireless-lab/DAWN/blob/master/src/storage/datastorage.c#L601

from dawn.

PolynomialDivision avatar PolynomialDivision commented on August 21, 2024

@XiaoliChan Please open a seperate issue for that. :)

I will close this issue since it is fixed with: 1da5ad5

from dawn.

PolynomialDivision avatar PolynomialDivision commented on August 21, 2024

@XiaoliChan Sry, 0 is wrong! Set it to a very high value. Maybe we introduce new magic numbers.

from dawn.

XiaoliChan avatar XiaoliChan commented on August 21, 2024

@XiaoliChan Sry, 0 is wrong! Set it to a very high value. Maybe we introduce new magic numbers.

Well, what is the max value?

from dawn.

PolynomialDivision avatar PolynomialDivision commented on August 21, 2024

Well, what is the max value?

Should be INT_MAX so 2147483647.

from dawn.

XiaoliChan avatar XiaoliChan commented on August 21, 2024

Should be INT_MAX so 2147483647.

Thanks, I set it to this value now.

from dawn.

Related Issues (20)

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.