[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/13903] fails an external calling in "C" programm by inline asse
From: |
kdiman1982 at gmail dot com |
Subject: |
[Bug gas/13903] fails an external calling in "C" programm by inline assembler (Core i5 x86_64) |
Date: |
Mon, 26 Mar 2012 18:35:16 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13903
--- Comment #3 from kdiman <kdiman1982 at gmail dot com> 2012-03-26 18:35:16
UTC ---
+++++++++++++++++OUTPUT OF VALGRIND+++++++++++++++++++
==16385== Memcheck, a memory error detector==16385== Copyright (C) 2002-2010,
and GNU GPL'd, by Julian Seward et al.==16385== Using Valgrind-3.6.1 and
LibVEX; rerun with -h for copyright info
==16385== Command: ./call64
==16385==
address of printf: 0x400490
==16385== Invalid read of size 4
==16385== at 0x5614969: vfprintf (vfprintf.c:1269)
==16385== by 0x561F52B: fprintf (fprintf.c:33)
==16385== by 0x4005D2: main (in /home/user/gas/call64)
==16385== Address 0x1000000bf is not stack'd, malloc'd or (recently) free'd
==16385==
==16385==
==16385== Process terminating with default action of signal 11 (SIGSEGV)
==16385== Access not within mapped region at address 0x1000000BF
==16385== at 0x5614969: vfprintf (vfprintf.c:1269)
==16385== by 0x561F52B: fprintf (fprintf.c:33)
==16385== by 0x4005D2: main (in /home/user/gas/call64)
==16385== If you believe this happened as a result of a stack
==16385== overflow in your program's main thread (unlikely but
==16385== possible), you can try to increase the size of the
==16385== main thread stack using the --main-stacksize= flag.
==16385== The main thread stack size used in this run was 8388608.
==16385==
==16385== HEAP SUMMARY:
==16385== in use at exit: 0 bytes in 0 blocks
==16385== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==16385==
==16385== All heap blocks were freed -- no leaks are possible
==16385==
==16385== For counts of detected and suppressed errors, rerun with: -v
==16385== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)
SEGMENTATION FAULT
+++++++++++++++++OUTPUT OF VALGRIND+++++++++++++++++++
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.