Giter Site home page Giter Site logo

openzwave-rust's People

Contributors

dhylands avatar hfiguiere avatar julienw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openzwave-rust's Issues

Copy manager::CommandClass to taxonomy

The manager::CommandClass mega-enum lists a number of possible service kinds. Once we have figured out what they are for, they should be reflected in taxonomy::devices::ServiceKind.

Cc @julienw

Segfault in openzwave library

If I fire up openzwave-rust-example, btthen very shortly after receiving the AllNodesQueried notification then I get a segfault (I built the openzwave library with BUILD=DEBUG to get detailed info):

AllNodesQueried: Static Controller: HomeId: db421a3b Node: 1 Path: /dev/ttyACM0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5bff700 (LWP 32740)]
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:140
140 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) bt
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:140
#1  0x0000555555675580 in OpenZWave::ValueRaw::OnValueRefreshed (this=0x7ffff4e14200, _value=0x0, _length=1 '\001')
    at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/value_classes/ValueRaw.cpp:280
#2  0x000055555566b3d5 in OpenZWave::UserCode::HandleMsg (this=0x7ffff4e7a000, _data=0x7ffff5bfe858 "\003\003", _length=4, _instance=1)
    at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/command_classes/UserCode.cpp:267
#3  0x0000555555612834 in OpenZWave::Node::ApplicationCommandHandler (this=0x7ffff4e3f300, _data=0x7ffff5bfe852 "", encrypted=true)
    at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/Node.cpp:1858
#4  0x00005555556876ca in OpenZWave::Driver::HandleApplicationCommandHandlerRequest (this=0x7ffff5c5b000, _data=0x7ffff5bfe852 "", encrypted=true)
    at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/Driver.cpp:3536
#5  0x0000555555683583 in OpenZWave::Driver::ProcessMsg (this=0x7ffff5c5b000, _data=0x7ffff5bfe852 "") at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/Driver.cpp:2138
#6  0x0000555555682195 in OpenZWave::Driver::ReadMsg (this=0x7ffff5c5b000) at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/Driver.cpp:1719
#7  0x000055555567e1dd in OpenZWave::Driver::DriverThreadProc (this=0x7ffff5c5b000, _exitEvent=0x7ffff5c1d340) at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/Driver.cpp:480
#8  0x000055555567de1e in OpenZWave::Driver::DriverThreadEntryPoint (_exitEvent=0x7ffff5c1d340, _context=0x7ffff5c5b000)
    at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/Driver.cpp:383
#9  0x00005555556b051e in OpenZWave::ThreadImpl::Run (this=0x7ffff5c279c0) at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/platform/unix/ThreadImpl.cpp:176
#10 0x00005555556b04e2 in OpenZWave::ThreadImpl::ThreadProc (_pArg=0x7ffff5c279c0) at /home/work/fxbox/openzwave-rust/openzwave-sys/open-zwave/cpp/src/platform/unix/ThreadImpl.cpp:161
#11 0x00007ffff74ab182 in start_thread (arg=0x7ffff5bff700) at pthread_create.c:312
#12 0x00007ffff6fc247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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.