Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD itas109::CSerialPortInfo::availablePortInfos() core dumped #39

Open
itas109 opened this issue Sep 20, 2020 · 1 comment
Open
Labels

Comments

@itas109
Copy link
Owner

itas109 commented Sep 20, 2020

Describe the bug
FreeBSD itas109::CSerialPortInfo::availablePortInfos() core dumped

Trace/BPT trap (core dumped)
Illegal instruction (core dumped)

To Reproduce
Steps to reproduce the behavior:
call function itas109::CSerialPortInfo::availablePortInfos()

Screenshots

Program terminated with signal SIGILL, Illegal instruction.
#0  0x00000000002156e4 in getPortInfoList() ()
[Current thread is 1 (LWP 100200)]
(gdb) where
#0  0x00000000002156e4 in getPortInfoList() ()
#1  0x0000000000215834 in CSerialPortInfoUnixBase::availablePortInfos() ()
#2  0x00000000002156b4 in itas109::CSerialPortInfo::availablePortInfos() ()
...

Desktop (please complete the following information):

  • OS: FreeBSD-12.1-RELEASE
  • Compiler: FreeBSD clang version 8.0.1 (based on LLVM 8.0.1)
  • Version: 4.0.3.200429
@itas109
Copy link
Owner Author

itas109 commented Sep 20, 2020

function getPortInfoList only support linux and mac in SerialPortInfoUnixBase.cpp( 2020-09-20 )

vector<SerialPortInfo> getPortInfoList()
{
    vector<SerialPortInfo> portInfoList;
#ifdef I_OS_LINUX
    ...
#elif defined I_OS_MAC
    ....
#endif
    return portInfoList;
}

@itas109 itas109 added the bug label Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant