Analyze performance – Debugging Failed – gdbserver exited with code 1

Sysprogs forums Forums VisualGDB Analyze performance – Debugging Failed – gdbserver exited with code 1

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #21520
    tomas.khandl
    Participant

    Hi,

    I want analyze performance on my raspberryPi c++ project but I’m still getting some errors.

    Building and running Release/Debug works fine.

    I’m using VS2017 15.5.2, visual GDB 5.3.

    valgrind-3.7.0 on my raspberry PI 3b+

     

    When I ran “Profile with debugging”, then I’ll get “gdbserver exited with code 1”

    Gdb session:

    blank

     

    Exception details:

    ig: gdbserver exited with code 1
    at v4.f2()
    at v4.k_2(DebugCustomizationSettings a)
    at uu.w1()
    at VisualGDB.GDBDebugEngine.x(tw1 a, i2 b)

     

    Valgrind diagnostics:


    ==819== For interactive control, run ‘callgrind_control -h’.
    –819– WARNING: Serious error when reading debug info
    –819– When reading debug info from /lib/arm-linux-gnueabihf/ld-2.24.so:
    –819– Ignoring non-Dwarf2/3/4 block in .debug_info
    –819– WARNING: Serious error when reading debug info
    –819– When reading debug info from /lib/arm-linux-gnueabihf/ld-2.24.so:
    –819– Last block truncated in .debug_info; ignoring
    ==819== (action at startup) vgdb me …
    ==819==
    ==819== TO DEBUG THIS PROCESS USING GDB: start GDB like this
    ==819==   /path/to/gdb /home/pi/Projects/{projectName}/../../VisualGDB/Release/{projectName}
    ==819== and then give GDB the following command
    ==819==   target remote | /usr/lib/valgrind/../../bin/vgdb –pid=819 –vgdb-prefix=/tmp/296519e9-fcb7-4b2c-a44f-0f59509bce73
    ==819== –pid is optional if only one valgrind process is running
    ==819==

     

    vgdb:

    vgdb error: no FIFO found and no pid given

     

    Same result with “Debug and get ready to profile”. “Profile without debugging” just open some console but nothing happen. (maybe it is running in “loop” in my menu?)

    It looks like issue with valgrind. Have you some list of compatible versions?

    There is posibility to set requested args to valgrind? Do you need some more info like logs or files?

     

    Thanks

     

    #21523
    support
    Keymaster

    Hi,

    It looks like an incompatibility between the debug information format stored in the object files and valgrind. You might be able to resolve it by explicitly forcing the debug format to an older version of DWARF by adding “-gdwarf-2/3/4” to the CFLAGS/CXXFLAGS.

    You can access advanced VisualGDB logs (that include all command lines launched via SSH) via View->Other Windows->VisualGDB Diagnostics Console.

    You can add extra arguments to Valgrind via the “Additional Valgrind flags” field in the New Profiling Session window.

    If you need any further help, do not hesitate to get back to us.

    #21539
    tomas.khandl
    Participant

    Thanks for fast response.

    When I’m using MSBUILD for that project, will it be sufficient to add that flag “-gdwarf-2/3/4” to project Properties-> configuration properties -> c/c++ -> command line -> additional options?

    Correct me if I’m wrong.

     

    Anyway after some searching I found, that it’s probably Valgrind bug:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810295

     

    I’ll try your suggestion this evening and also upgrade Valgrind and write here results.

     

    #21553
    support
    Keymaster

    Hi,

    The MSBuild projects define a GUI option for the debug information format (C/C++ -> General -> Debug Information Format), so specifying it via command line would result in 2 different settings passed via the command line. Please instead change the corresponding GUI setting. If the value you are trying to add is not shown in the dropdown list, simply enter the corresponding flag (e.g. -gdwarf-5) in the field directly.

    #21556
    tomas.khandl
    Participant

    Hi,

    thanks for info. Mentioned libraries wasn’t built by my project and thus I decided to upgrade Valgrind to to lastest version – valgrind-3.14.0.GIT (Changing flags didn’t help, as I expected).

    The issue with warnings regarding reading of debug info is solved. It looks the valgrind didn’t support compressed symbols till version 3.11 (probably you could verify that finding and handle it).

    But I’m still unable to profile my application because I’m getting all other errors. Do you have an idea what could be wrong?

    Thanks

    #21557
    support
    Keymaster

    Hi,

    We would advise running a few quick experiments to understand what components could be causing this:

    • Try profiling a “hello, world” program with VisualGDB.
    • If it doesn’t work, try running valgrind manually (let us know if you need help with command lines).
    • It the “hello, world” works, try running valgrind manually with your program.

    If it looks like the problem is between valgrind and your specific project, please try simplifying it (e.g. removing some sources/libraries/optimization settings). If the problem occurs with VisualGDB, but doesn’t occur otherwise, it’s likely caused by some arguments VisualGDB is using. In this case please try comparing the command lines that work and the command lines used by VisualGDB (from View->Other->VisualGDB Diagnostics Console).

    If you need further help at any step, don’t hesitate to get back to us.

    #21573
    tomas.khandl
    Participant

    Hi,

    Yeah, hello world have same issues like my project.

    I think Valgrind is OK, because profiling without debug is working since I’ve updated it.

    It looks like the GDB is launching with wrong params like Valgrind output says.

     

    gdb version:

    GNU gdbserver (Raspbian 7.12-6) 7.12.0.20161007-git

    #21575
    support
    Keymaster

    Hi,

    Thanks for checking this. We should be able to help you resolve this if you could attach the output from the VisualGDB Diagnostics Console showing all command lines it launches and the corresponding output from valgrind.

    #21612
    tomas.khandl
    Participant

    Hi,

    Here is diagnostic output

    
    Searching for active configuration for raspTest2\raspTest2.vcxproj...
    Trying fast lookup...
    Found! Configuration name = Debug
    Searching for active configuration for raspTest2\raspTest2.vcxproj...
    Trying fast lookup...
    Found! Configuration name = Debug
    Locating deployed dependencies for project...
    Searching for active configuration for raspTest2\raspTest2.vcxproj...
    Trying fast lookup...
    Found! Configuration name = Debug
    Received X11 channel request. Trying localhost:6000...
    Received X11 channel request. Trying localhost:6000...
    Deploying 1 items...
    Deploying output of raspTest2-Debug...
    Deploying E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2 to /tmp/raspTest2 on 192.168.100.58...
    Querying stat for E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "stat" "/tmp/raspTest2" --printf "%s %Y"
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "chmod" +x "/tmp/raspTest2"
    Deployed all items.
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "mkdir" -p "/tmp/134eafe4-6ec0-423b-a109-7ecca924430d"
    Received X11 channel request. Trying localhost:6000...
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "which" valgrind
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "mkfifo" "/tmp/134eafe4-6ec0-423b-a109-7ecca924430d/valgrind.log"
    Received X11 channel request. Trying localhost:6000...
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "mkfifo" "/tmp/134eafe4-6ec0-423b-a109-7ecca924430d/callgrind.out"
    Deploying 1 items...
    Deploying output of raspTest2-Debug...
    Deploying E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2 to /tmp/raspTest2 on 192.168.100.58...
    Querying stat for E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "stat" "/tmp/raspTest2" --printf "%s %Y"
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "chmod" +x "/tmp/raspTest2"
    Deployed all items.
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "which" "vgdb"
    Valgrind reader process exited with code 0
    SSH: executing command: export LD_LIBRARY_PATH="" && export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "vgdb" --vgdb-prefix="/tmp/134eafe4-6ec0-423b-a109-7ecca924430d" --port=2000
    Waiting for gdb server to start (up to 1000 msec)...
    GDBServer started in 104 msec. IsRunning = False, TriggerMatched = False
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "echo" > /tmp/134eafe4-6ec0-423b-a109-7ecca924430d/callgrind.out
    SSH: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "rm" -rf '/tmp/134eafe4-6ec0-423b-a109-7ecca924430d'
    

    And Vallgrind output:

    
    ==11111== Callgrind, a call-graph generating cache profiler
    ==11111== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
    ==11111== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
    ==11111== Command: /tmp/raspTest2
    ==11111== Parent PID: 11038
    ==11111==
    ==11111== For interactive control, run 'callgrind_control --vgdb-prefix=/tmp/7e277faf-5ee0-44a7-9ab3-3c9faf9c4cd2 -h'.
    ==11111== (action at startup) vgdb me ...
    ==11111==
    ==11111== TO DEBUG THIS PROCESS USING GDB: start GDB like this
    ==11111==   /path/to/gdb /tmp/raspTest2
    ==11111== and then give GDB the following command
    ==11111==   target remote | /usr/local/lib/valgrind/../../bin/vgdb --vgdb-prefix=/tmp/7e277faf-5ee0-44a7-9ab3-3c9faf9c4cd2 --pid=11111
    ==11111== --pid is optional if only one valgrind process is running
    ==11111==
    

    Thanks

    • This reply was modified 6 years, 3 months ago by tomas.khandl.
    #21614
    tomas.khandl
    Participant

    It looks like inconsistency with temporary folders.

    #21622
    support
    Keymaster

    Hi,

    Thanks for sharing the output. It looks like VisualGDB doesn’t launch valgrind at all (or you did not attach the relevant part of the log).

    Either way, please try this build, it will log more details about valgrind-related tools in the diagnostics console: http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2395.msi

    Please try reproducing the problem again and attach the entire contents of the VisualGDB Diagnostics Console so we could see what exactly is going on.

    #21626
    tomas.khandl
    Participant

    I’ve attached log except initialization of console.
    Here is whole log from new version.

    
    VisualGDB build 5.4.4.2395
    Startup initialization took 1473 msec
    [+34 msec] Got DTE
    [+35 msec] Got MCS
    [+37 msec] Got services
    [+904 msec] Checking fonts/colors
    [+916 msec] Checked fonts/colors
    [+916 msec] Checking out features
    [+919 msec] Checked out features
    [+1093 msec] Constructed Add-in
    [+1104 msec] Loading settings...
    [+1104 msec] Loaded settings.
    [+1104 msec] Created normal commands
    [+1109 msec] Created context commands
    [+1110 msec] Created combo commands
    [+1111 msec] Created drop down commands
    [+1113 msec] Registered commands
    [+1408 msec] Startup project reset
    [+1422 msec] Settings validated
    [+1473 msec] Startup project set
    Searching for active configuration for raspTest2\raspTest2.vcxproj...
    Trying fast lookup...
    Found! Configuration name = Debug
    Searching for active configuration for raspTest2\raspTest2.vcxproj...
    Trying fast lookup...
    Found! Configuration name = Debug
    Locating deployed dependencies for project...
    Searching for active configuration for raspTest2\raspTest2.vcxproj...
    Trying fast lookup...
    Found! Configuration name = Debug
    Received X11 channel request. Trying localhost:6000...
    Deploying 1 items...
    Deploying output of raspTest2-Debug...
    Deploying E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2 to /tmp/raspTest2 on 192.168.100.58...
    Querying stat for E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2
    SSH [1]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "stat" "/tmp/raspTest2" -c "%s %Y"
    SSH [1]: command exited with code 0 after 57 msec
    SSH [2]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "chmod" +x "/tmp/raspTest2"
    SSH [2]: command exited with code 0 after 48 msec
    Deployed all items.
    SSH [3]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "mkdir" -p "/tmp/5a1490b2-2216-465a-a123-1534b7645f35"
    SSH [3]: command exited with code 0 after 43 msec
    Received X11 channel request. Trying localhost:6000...
    SSH [4]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "which" valgrind
    SSH [4]: command exited with code 0 after 52 msec
    SSH [5]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "mkfifo" "/tmp/5a1490b2-2216-465a-a123-1534b7645f35/valgrind.log"
    SSH [5]: command exited with code 0 after 50 msec
    SSH [6]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "mkfifo" "/tmp/5a1490b2-2216-465a-a123-1534b7645f35/callgrind.out"
    Received X11 channel request. Trying localhost:6000...
    SSH [6]: command exited with code 0 after 56 msec
    Deploying 1 items...
    Deploying output of raspTest2-Debug...
    Deploying E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2 to /tmp/raspTest2 on 192.168.100.58...
    Querying stat for E:\RASPBERRY_PI\raspTest2\VisualGDB\Debug\raspTest2
    SSH [7]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "stat" "/tmp/raspTest2" -c "%s %Y"
    SSH [7]: command exited with code 0 after 60 msec
    SSH [8]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "chmod" +x "/tmp/raspTest2"
    SSH [8]: command exited with code 0 after 51 msec
    Deployed all items.
    Launching Valgrind...
    SSH [9]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && valgrind --log-file="/tmp/5a1490b2-2216-465a-a123-1534b7645f35/valgrind.log" --vgdb-prefix="/tmp/5a1490b2-2216-465a-a123-1534b7645f35" --tool=callgrind --callgrind-out-file="/tmp/5a1490b2-2216-465a-a123-1534b7645f35/callgrind.out" --vgdb=yes --vgdb-error=0 /tmp/raspTest2
    SSH [10]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && cat "/tmp/5a1490b2-2216-465a-a123-1534b7645f35/valgrind.log"
    Valgrind reader process (attempt #0) exited with code 0, valgrind process is still running, no output detected
    SSH [11]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "which" "vgdb"
    SSH [11]: command exited with code 0 after 51 msec
    SSH [12]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "vgdb" --vgdb-prefix="/tmp/5a1490b2-2216-465a-a123-1534b7645f35" --port=2000
    Waiting for gdb server to start (up to 1000 msec)...
    SSH [12]: command exited with code 1 after 354 msec
    GDBServer started in 299 msec. IsRunning = False, TriggerMatched = False
    SSH [13]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "echo" > /tmp/5a1490b2-2216-465a-a123-1534b7645f35/callgrind.out
    SSH [13]: command exited with code 0 after 47 msec
    SSH [14]: executing command: export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0" && export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true" && export INFINALITY_FT_CONTRAST="0" && export INFINALITY_FT_STEM_FITTING_STRENGTH="25" && export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100" && export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0" && export INFINALITY_FT_GAMMA_CORRECTION="0 100" && export TEXTDOMAIN="Linux-PAM" && export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="10" && export INFINALITY_FT_BRIGHTNESS="0" && export INFINALITY_FT_USE_VARIOUS_TWEAKS="true" && export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE="0" && export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10" && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" && export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11" && export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true" && export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40" && export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25" && export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE="0" && export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25" && export INFINALITY_FT_FRINGE_FILTER_STRENGTH="0" && "rm" -rf '/tmp/5a1490b2-2216-465a-a123-1534b7645f35'
    SSH [14]: command exited with code 0 after 44 msec
    

    Vallgrind output is simmilar as before and vgdb output is same.

    ==4768== Callgrind, a call-graph generating cache profiler
    ==4768== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
    ==4768== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
    ==4768== Command: /tmp/raspTest2
    ==4768== Parent PID: 4701
    ==4768==
    ==4768== For interactive control, run 'callgrind_control --vgdb-prefix=/tmp/5a1490b2-2216-465a-a123-1534b7645f35 -h'.
    ==4768== (action at startup) vgdb me ...
    ==4768==
    ==4768== TO DEBUG THIS PROCESS USING GDB: start GDB like this
    ==4768== /path/to/gdb /tmp/raspTest2
    ==4768== and then give GDB the following command
    ==4768== target remote | /usr/local/lib/valgrind/../../bin/vgdb --vgdb-prefix=/tmp/5a1490b2-2216-465a-a123-1534b7645f35 --pid=4768
    ==4768== --pid is optional if only one valgrind process is running
    ==4768==

    • This reply was modified 6 years, 3 months ago by tomas.khandl.
    #21639
    support
    Keymaster

    Hi,

    Thanks for the detailed log. It looks like both valgrind components involved in debugging are started with matching settings, so the problem is likely caused by some settings on your Raspberry Pi interfering with valgrind. One quick way to fix this would be to reset the SD card image (we have just rechecked valgrind with the latest SD card image).

    Another way would be to narrow this down by running the commands manually. I.e. restart Raspberry Pi to clean the /tmp folder and run the following commands manually:

    mkdir /tmp/5a1490b2-2216-465a-a123-1534b7645f35
    mkfifo /tmp/5a1490b2-2216-465a-a123-1534b7645f35/callgrind.out
    mkfifo /tmp/5a1490b2-2216-465a-a123-1534b7645f35/valgrind.log
    valgrind --log-file="/tmp/5a1490b2-2216-465a-a123-1534b7645f35/valgrind.log" --vgdb-prefix="/tmp/5a1490b2-2216-465a-a123-1534b7645f35" --tool=callgrind --callgrind-out-file="/tmp/5a1490b2-2216-465a-a123-1534b7645f35/callgrind.out" --vgdb=yes --vgdb-error=0 /tmp/raspTest2
    vgdb --vgdb-prefix="/tmp/5a1490b2-2216-465a-a123-1534b7645f35" --port=2000

    If the problem can be reproduced, please try experimenting with the prefix (e.g. locating it in a different directory or removing it completely).

    If the problem does not reproduce, please try using the full command lines from the log (with the environment). If this causes the issue, try experimenting with the environment part to pinpoint a specific environment variable that breaks valgrind and remove it via Tools->VisualGDB->Manage SSH connections->Per-host settings.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Analyze performance – Debugging Failed – gdbserver exited with code 1’ is closed to new replies.