Coder Social home page Coder Social logo

nlsusb's People

Contributors

gillestalis avatar gtalis avatar

Watchers

 avatar

nlsusb's Issues

Segfault when trying to describe specific USB device

when trying to extract information from USB device VID=0x0c45, PID=0x6717 (Microdia Integrated Webcam), application crashes trying to dump some bytes:

#1 0x000000000040ed26 in UsbDevice::dump_bytes(unsigned char const*, unsigned int, char**, unsigned int) ()
#2 0x0000000000417b1e in UsbDevice::dump_config(libusb_config_descriptor*, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) ()
#3 0x0000000000416f77 in UsbDevice::dump_configs(std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) ()
#4 0x000000000040d5ff in UsbDevice::getInfoDetails(std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) ()
#5 0x000000000040bbd6 in UsbContext::getUsbDeviceInfo(int, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) ()
#6 0x000000000040ac4d in mainview::scroll_down() ()
#7 0x000000000040ae70 in mainview::show() ()
#8 0x000000000040a9c0 in mainview::show(UsbContext*) ()
#9 0x000000000040a524 in main ()

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.