Code Monkey home page Code Monkey logo

modbustools's People

Contributors

serhmarch avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

wait31415

modbustools's Issues

virtual int parseArgs(int& argc, char **argv);

https://github.com/serhmarch/ModbusTools/blame/e3a607349512e201bd7f4dcfc47fb27a526f3f32/src/core/core/core.h#L171

Warning: The data referred to by argc and argv must stay valid for the entire lifetime of the QApplication object. In addition, argc must be greater than zero and argv must contain at least one valid character string."

From QT 5 Documentation.

you have to change

virtual int parseArgs(int argc, char **argv); >> virtual int parseArgs(int& argc, char **argv);

Faced issue when debug your modbus tool in linux environment.

1 strlen strlen.S 106 0x7ffff57e4b96
2 QCoreApplication::arguments() 0x7ffff632b54d
3 ?? 0x7fffeed3f74f
4 QXcbIntegration::wmClass() const 0x7fffeed3fc1e
5 QXcbWindow::create() 0x7fffeed540ab
6 QXcbIntegration::createPlatformWindow(QWindow *) const 0x7fffeed3f4c1
7 QWindowPrivate::create(bool) 0x7ffff6e675dd
8 QWidgetPrivate::create_sys(unsigned long long, bool, bool) 0x7ffff76ec893
9 QWidget::create(unsigned long long, bool, bool) 0x7ffff76ec019
10 QWidget::setVisible(bool) 0x7ffff76f7ea2
11 main main.cpp 13 0x409d62

**Command line args > -gui -tray -project -singleton

works in kali linux,
thank you.**

image

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.