SIGSEGV
Hi all,
I modified test-modbus.c to try to just do a single read of a a single holding register (register 4001 or address 0) from a Variable Frequency Drive (that controls a 350 kW electric motor) but I'm running with an issue:
When the drive is disconnected the program times out, just as expected. When I connect the drive, I get a SIGSEGV signal. This is the output of a backtrace on the program:
(gdb) backtrace
#0 0xb7e4f6db in read_registers (mb_param=<value optimized out>, slave=<value optimized out>,
function=<value optimized out>, start_addr=0, count=1, data_dest=
#1 0x0804860a in main ()
I don't really know if this is an error due to drives, the program or the library... Help is very much appreciated!
Thanks in advance,
Santiago
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- libmodbus Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- santiago
- Solved:
- Last query:
- Last reply: