Skip to content

SIGSEGV, Segmentation fault #66

@ThomasCr

Description

@ThomasCr

Today I managed to compile ozwcp, but when I start it, it just crashes:

# gdb ./ozwcp
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./ozwcp...done.
(gdb) run -d
Starting program: /usr/local/src/open-zwave-control-panel/ozwcp -d
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2017-11-25 02:36:29.130 Error, Cannot find a path to the configuration files at ./config/, Using /etc/openzwave/ instead...
2017-11-25 02:36:29.131 Info, Reading  for Options

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff76d47a9 in TiXmlNode::FirstChildElement() const () from /usr/lib/x86_64-linux-gnu/libopenzwave.so.1.4
(gdb) bt full
#0  0x00007ffff76d47a9 in TiXmlNode::FirstChildElement() const () from /usr/lib/x86_64-linux-gnu/libopenzwave.so.1.4
No symbol table info available.
#1  0x00007ffff7732ae8 in OpenZWave::Options::ParseOptionsXML(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/x86_64-linux-gnu/libopenzwave.so.1.4
No symbol table info available.
#2  0x00007ffff7732e6c in OpenZWave::Options::Lock() () from /usr/lib/x86_64-linux-gnu/libopenzwave.so.1.4
No symbol table info available.
#3  0x000000000040924a in main (argc=2, argv=0x7fffffffe068) at ozwcp.cpp:796
        i = 255
        webport = 8090
        ptr = 0x6265f0 ""
(gdb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions