We're updating the issue view to help you get more done. 

Not able to start the client session, built with Fix8 Pro

Description

I am facing am issue while running the client application built with FIX8 pro.
I am trying to connect the client app with server(built with community version).
Issue :

  • When we start the client, by calling the start method of ClientSessionBase Class which should in-turn call the start method of Session Class which starts the session.

  • After this, my app should receive a callback handle_application/handle_logon.

  • I am not able to receive any callback and when I try to just kill the application, it crashes and stops.

Kindly suggest, my be there are some configuration issues.

Core Details:
Core was generated by `./fix8client -d -c fix8client.xml'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.209.el6_9.1.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-37.el6_6.x86_64 libcom_err-1.41.12-14.el6.x86_64 libgcc-4.4.7-11.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libstdc++-4.4.7-11.el6.x86_64 libuuid-2.17.2-12.9.el6_4.3.x86_64 openssl-1.0.1e-48.el6_8.4.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007fef3b4824d6 in cancellation_token (this=0x7fef380bc010) at /home/vagrant/src/f8/fix8pro_gcc49/include/fix8pro/thread.hpp:417
#2 cancellation_token (this=0x7fef380bc010) at /home/vagrant/src/f8/fix8pro_gcc49/include/fix8pro/thread.hpp:423
#3 join (this=0x7fef380bc010) at /home/vagrant/src/f8/fix8pro_gcc49/include/fix8pro/thread.hpp:462
#4 join (this=0x7fef380bc010) at /home/vagrant/src/f8/fix8pro_gcc49/include/fix8pro/connection.hpp:104
#5 join (this=0x7fef380bc010) at /home/vagrant/src/f8/fix8pro_gcc49/include/fix8pro/connection.hpp:190
#6 FIX8::Connection::join (this=0x7fef380bc010) at /home/vagrant/src/f8/fix8pro_gcc49/runtime/connection.cpp:387
#7 0x00007fef3b49eb25 in FIX8::Session::join (this=0xf719e0) at /home/vagrant/src/f8/fix8pro_gcc49/runtime/session.cpp:328
#8 0x00007fef3b4a15c1 in FIX8::Session::~Session (this=0xf719e0, __in_chrg=<value optimized out>) at /home/vagrant/src/f8/fix8pro_gcc49/runtime/session.cpp:196
#9 0x00000000006ad3a4 in Fix8SessionClient::~Fix8SessionClient (this=0xf719e0, __in_chrg=<value optimized out>) at /code/bhavuk/interim/hft/fix8/fix8client.hpp:15
#10 0x00000000006ad3d4 in Fix8SessionClient::~Fix8SessionClient (this=0xf719e0, __in_chrg=<value optimized out>) at /code/bhavuk/interim/hft/fix8/fix8client.hpp:15
#11 0x00000000006ad410 in std::default_delete<Fix8SessionClient>::operator() (this=0xf4bc00, __ptr=0xf719e0) at /opt/rh/devtoolset-3/root/usr/include/c++/4.9.2/bits/unique_ptr.h:76
#12 0x00000000006aa625 in std::unique_ptr<Fix8SessionClient, std::default_delete<Fix8SessionClient> >::reset (this=0xf4bc00, __p=0xf719e0)
at /opt/rh/devtoolset-3/root/usr/include/c++/4.9.2/bits/unique_ptr.h:344
#13 0x00000000006a45bd in FIX8::ClientSession<Fix8SessionClient>::~ClientSession (this=0xf4baa0, __in_chrg=<value optimized out>) at /home/bhavuk/fix8pro_dts3/install/include/fix8pro/sessionwrapper.hpp:303
#14 0x00000000006a46d6 in FIX8::ClientSession<Fix8SessionClient>::~ClientSession (this=0xf4baa0, __in_chrg=<value optimized out>) at /home/bhavuk/fix8pro_dts3/install/include/fix8pro/sessionwrapper.hpp:305
#15 0x00000000006a5238 in std::default_delete<FIX8::ClientSessionBase>::operator() (this=0x7ffcc3eccd90, __ptr=0xf4baa0) at /opt/rh/devtoolset-3/root/usr/include/c++/4.9.2/bits/unique_ptr.h:76
#16 0x000000000069f247 in std::unique_ptr<FIX8::ClientSessionBase, std::default_delete<FIX8::ClientSessionBase> >::~unique_ptr (this=0x7ffcc3eccd90, __in_chrg=<value optimized out>)
at /opt/rh/devtoolset-3/root/usr/include/c++/4.9.2/bits/unique_ptr.h:236
#17 0x00000000006850c4 in main (argc=4, argv=0x7ffcc3ecd438) at /code/bhavuk/interim/hft/fix8/fix8client.cpp:342
(gdb)

Environment

None

Status

Assignee

David Dight

Reporter

Bhavuk Samrat

Labels

Branch

dev

Products

Pro

Components

Fix versions

Affects versions

2.7.0

Priority

Major