https://bugs.kde.org/show_bug.cgi?id=385127

            Bug ID: 385127
           Summary: Segfault when loading the assembly of strcmp
           Product: kcachegrind
           Version: 0.8.0kde
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: josef.weidendor...@gmx.de
          Reporter: elouan.pig...@gmail.com
  Target Milestone: ---

Hi,
I was looking at kcachegrind, to have a look i compilled the most basic empty C
program without any library that looks like this :

int main(void)
{
    return 0;
}

I tried compilling it using both gcc and clang, adding the "-g" option, and i
used valgrind with "--dump-instr=yes --collect-jumps=yes --tool=callgrind"

The issue is when trying to have a look at the bottom right "Machine Code" tab,
on the "strcmp" function, kcachegrind segfault directly.

I don't really know what i can add to help, hmm apparently i can't add multiple
attachements when submitting a bug, what i'm gonna do is upload the related
files...

uname -a : Linux dev 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017
x86_64 GNU/Linux
valgrind --version : valgrind-3.13.0
gcc : 7.2.0
kcachegrind : 0.8.0kde (installed using pacman )

Here is a archive with the callgrind.out, the a.out and the code+binary used
when segfault : http://s000.tinyupload.com/?file_id=41787805261408517736

Feel free to ask for more if you can't reproduce it, i might compille
kcachegrind with debug flags and so on when i'll have time like tomorow or
something..

Have a good day !

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to