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

A number of valgrind errors #220

Open
deepfire opened this issue Mar 19, 2017 · 0 comments
Open

A number of valgrind errors #220

deepfire opened this issue Mar 19, 2017 · 0 comments

Comments

@deepfire
Copy link

Game: /nix/store/d4qb15n9kycxbbngwnnngl6xzjf0nc8s-glxinfo-8.3.0/bin/glxinfo

Tracefile: glxinfo.bin
Logfile: /tmp/vogltrace.glxinfo.2017_03_19-05_44_19.log (will have PID appended)
==32397== Conditional jump or move depends on uninitialised value(s)
==32397==    at 0x4C2D820: rindex (in /nix/store/j6575j2yywgbymdr3pbnz9b5caa6jyz0-valgrind-3.12
.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==32397==    by 0x6879C26: dirname (in /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/l
ib/libc-2.25.so)
==32397==    by 0x4273CD: tool_trace_mode(vogl::vector<vogl::command_line_param_desc>*) (in /ni
x/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/vogl64)
==32397==    by 0x406A6D: main (in /nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/
bin/vogl64)
==32397==
==32397== Conditional jump or move depends on uninitialised value(s)
==32397==    at 0x6879C2A: dirname (in /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/l
ib/libc-2.25.so)
==32397==    by 0x4273CD: tool_trace_mode(vogl::vector<vogl::command_line_param_desc>*) (in /ni
x/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/vogl64)
==32397==    by 0x406A6D: main (in /nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/
bin/vogl64)
==32397==
==32397== Conditional jump or move depends on uninitialised value(s)
==32397==    at 0x6879C2F: dirname (in /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/l
ib/libc-2.25.so)
==32397==    by 0x4273CD: tool_trace_mode(vogl::vector<vogl::command_line_param_desc>*) (in /ni
x/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/vogl64)
==32397==    by 0x406A6D: main (in /nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/
bin/vogl64)
==32397==
==32397== Use of uninitialised value of size 8
==32397==    at 0x6879C31: dirname (in /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/l
ib/libc-2.25.so)
==32397==    by 0x4273CD: tool_trace_mode(vogl::vector<vogl::command_line_param_desc>*) (in /ni
x/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/vogl64)
==32397==    by 0x406A6D: main (in /nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/
bin/vogl64)
==32397==
==32397== Use of uninitialised value of size 8
==32397==    at 0x6879C50: dirname (in /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/l
ib/libc-2.25.so)
==32397==    by 0x4273CD: tool_trace_mode(vogl::vector<vogl::command_line_param_desc>*) (in /ni
x/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/vogl64)
==32397==    by 0x406A6D: main (in /nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/
bin/vogl64)
==32397==
==32397== Use of uninitialised value of size 8
==32397==    at 0x6879C81: dirname (in /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/l
ib/libc-2.25.so)
==32397==    by 0x4273CD: tool_trace_mode(vogl::vector<vogl::command_line_param_desc>*) (in /ni
x/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/vogl64)
==32397==    by 0x406A6D: main (in /nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/
bin/vogl64)
==32397==

LD_PRELOAD="/nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05-13/bin/libvogltrace64.so:$
LD_PRELOAD"

VOGL_CMD_LINE="--vogl_tracefile glxinfo.bin --vogl_logfile /tmp/vogltrace.glxinfo.2017_03_19-05
_44_19.log"

launch string:
VOGL_CMD_LINE="--vogl_tracefile glxinfo.bin --vogl_logfile /tmp/vogltrace.glxinfo.2017_03_19-05_44_19.log" LD_PRELOAD="/nix/store/39zy0ghhwspl84afgfy7gravdh04i4y1-vogl-2016-05
-13/bin/libvogltrace64.so:$LD_PRELOAD"  /nix/store/d4qb15n9kycxbbngwnnngl6xzjf0nc8s-glxinfo-8.3
.0/bin/glxinfo
name of display: :1
Segmentation fault
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