Skip to content
New issue

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

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

Already on GitHub? # to your account

Invalid memory accesses detected by valgrind #2177

Closed
shoamano83 opened this issue May 9, 2018 · 1 comment
Closed

Invalid memory accesses detected by valgrind #2177

shoamano83 opened this issue May 9, 2018 · 1 comment

Comments

@shoamano83
Copy link
Contributor

Bug Report

Valgrind reports several invalid memory accesses while running a simple sequence.

Precondition
  • Build Valgrind 3.13 from source and install (since Ubuntu 16.04 offers only up to 3.11)
  • Pair the Linux system and Android phone through Bluetooth
  • Build SDL Core with default configuration
Reproduction Steps
  1. Start sdl_hmi ($ google-chrome index.html)
  2. Start SDL Core with following command:
    $ LD_LIBRARY_PATH=. valgrind ./smartDeviceLinkCore > valgrind_output.txt 2>&1
  3. On Android phone, Launch RPC builder app and attempt to establish a connection over Bluetooth
  4. Hit Ctrl-C to stop SDL Core
Expected Behavior

Valgrind does not report invalid memory access issues.

Observed Behavior

Valgrind reports several invalid memory access issues. Please refer to the attached log file.

OS & Version Information
  • OS/Version: Ubuntu 16.04 (amd64), running on VirtualBox on Mac
  • SDL Core Version: commit df9b670 from develop branch
  • HMI: commit 5fc453a64b9962a66e203299e5a0ac57bb62541d from master branch
  • Testing Against: Nexus 6 (Android 5.0.1), running rpc_builder_app from latest master branch
Test Case, Sample Code, and / or Example App
@jacobkeeler
Copy link
Contributor

Closing with the merge of #2178

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants