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

SDL_Core crashing during app registration (due to incorrect messaging I believe) #182

Closed
jgrix opened this issue Aug 3, 2015 · 0 comments

Comments

@jgrix
Copy link
Contributor

jgrix commented Aug 3, 2015

Have a custom HMI implementation and I'm assuming I have some incorrect messaging. SDL Core functions with out issues when using the web based HMI.

**Messaging captured:**
{"id":110,"jsonrpc":"2.0","method":"VR.AddCommand","params":{"appID":1966668963,"cmdID":55,"grammarID":1094205203,"type":"Choice","vrCommands":["Muse"]}}
{"id":111,"jsonrpc":"2.0","method":"VR.AddCommand","params":{"appID":1966668963,"cmdID":56,"grammarID":1094205203,"type":"Choice","vrCommands":["Nile"]}}
{"id":112,"jsonrpc":"2.0","method":"VR.AddCommand","params":{"appID":1966668963,"cmdID":57,"grammarID":1094205203,"type":"Choice","vrCommands":["Nine Inch Nails"]}}
{"id":113,"jsonrpc":"2.0","method":"VR.AddCommand","params":{"appID":1966668963,"cmdID":58,"grammarID":1094205203,"type":"Choice","vrCommands":["Opeth"]}}
{"id":114,"jsonrpc":"2.0","method":"VR.AddCommand","params":{"appID":1966668963,"cmdID":59,"grammarID":1094205203,"type":"Choice","vrCommands":["A Perfect Circle"]}}
{"id":115,"jsonrpc":"2.0","method":"VR.AddC

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff737fe700 (LWP 3670)]
0x000000000184ceaa in Json::Reader::currentValue (this=0x235fd98)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:794
794    return *(nodes_.top());

**Backtrace**
(gdb) backtrace
#0  0x000000000184ceaa in Json::Reader::currentValue (this=0x235fd98)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:794
#1  0x000000000184ad10 in Json::Reader::readValue (this=0x235fd98)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:210
#2  0x000000000184b8a8 in Json::Reader::readObject (this=0x235fd98)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:485
#3  0x000000000184ab7a in Json::Reader::readValue (this=0x235fd98)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:183
#4  0x000000000184a93c in Json::Reader::parse (this=0x235fd98, 
    beginDoc=0x7fff6c000938 "\360A", endDoc=0x7fff6c0016b2 "", root=..., 
    collectComments=true)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:144
#5  0x000000000184a7a9 in Json::Reader::parse (this=0x235fd98, document=..., 
    root=..., collectComments=true)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/jsoncpp/src/lib_json/json_reader.cpp:101
#6  0x000000000182d72f in NsMessageBroker::CMessageBroker::onMessageReceived (
    this=0x20e99e8 <NsMessageBroker::CMessageBroker::getInstance()::instance>, 
---Type <return> to continue, or q <return> to quit---
    fd=17, aJSONData=...)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/MessageBroker/src/lib_messagebroker/CMessageBroker.cpp:295
#7  0x00000000018398a1 in NsMessageBroker::TcpServer::Recv (this=0x2329ff0, 
    fd=17)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/MessageBroker/src/server/mb_tcpserver.cpp:122
#8  0x000000000183a120 in NsMessageBroker::TcpServer::WaitMessage (
    this=0x2329ff0, ms=1000)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/MessageBroker/src/server/mb_tcpserver.cpp:237
#9  0x000000000183a578 in NsMessageBroker::TcpServer::MethodForThread (
    this=0x2329ff0, arg=0x0)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/MessageBroker/src/server/mb_tcpserver.cpp:312
#10 0x0000000001130731 in System::ThreadArgImpl<NsMessageBroker::TcpServer>::Call (this=0x2326ee0)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/MessageBroker/include/system.h:96
#11 0x000000000183544d in System::Thread::Call (arg=0x235a1a0)
    at /home/gmix/REPO/SDLCoreCurrent/sdl_core/src/3rd_party-static/MessageBroker/src/lib_messagebroker/system.cpp:97
#12 0x00007ffff7576182 in start_thread (arg=0x7fff737fe700)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:312
#13 0x00007ffff4cc547d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

@jgrix jgrix closed this as completed Aug 5, 2015
AGaliuzov pushed a commit to AGaliuzov/sdl_core that referenced this issue Apr 18, 2016
…n_RegisterAppInterface_with_not_supported_ttsName_SUCCESS_instead_of_WARNINGS

Add WARNINGS result code to not supported ttsName
LitvinenkoIra pushed a commit to LitvinenkoIra/sdl_core that referenced this issue Aug 1, 2017
…nt_GetInteriorVehicleDataConsent_RPC

Feature/implement get interior vehicle data consent rpc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant