|
From: yoni <Yo...@ce...> - 2009-01-25 12:29:39
|
Hi
I ran it again with signal transfered to application:
gdb) handle SIGILL pass nostop
Signal Stop Print Pass to program Description
SIGILL No Yes Yes Illegal instruction
(gdb) run aidc.out
Starting program: /usr/local/sbin/valgrind aidc.out
Executing new program: /usr/local/lib/valgrind/ppc32-linux/memcheck
Program received signal SIGILL, Illegal instruction.
==10303== Memcheck, a memory error detector.
==10303== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
Program received signal SIGSEGV, Segmentation fault.
local_strlen (str=0xc <Address 0xc out of bounds>) at m_debuglog.c:407
407 m_debuglog.c: No such file or directory.
in m_debuglog.c
(gdb) bt
#0 local_strlen (str=0xc <Address 0xc out of bounds>) at m_debuglog.c:407
#1 0x380a97bc in myvprintf_str (send=0x3802d3d8 <add_to_myprintf_buf>,
send_arg2=0x387c5bd0, flags=0, width=0, str=0x4a <Address 0x4a out of
bounds>,
capitalise=0 '\0') at m_debuglog.c:463
#2 0x380a9f7c in vgPlain_debugLog_vprintf (send=0x3802d3d8
<add_to_myprintf_buf>, send_arg2=0x387c5bd0,
format=0x38190c90 "%sUsing LibVEX rev %s, a library for dynamic binary
translation.%s", vargs=0x387c5d50) at m_debuglog.c:742
#3 0x3802d4b4 in vprintf_to_buf (prbuf=<value optimized out>, format=<value
optimized out>, vargs=<value optimized out>) at m_libcprint.c:122
#4 0x3802dc0c in vgPlain_vmessage (kind=Vg_UserMsg, format=0x38190c90
"%sUsing LibVEX rev %s, a library for dynamic binary translation.%s",
vargs=0x387c5d50) at m_libcprint.c:358
#5 0x3802ddb4 in vgPlain_message (kind=<value optimized out>, format=<value
optimized out>) at m_libcprint.c:385
#6 0x38033874 in _start_in_C_linux (pArgc=0x3818f308) at m_main.c:817
#7 0x380307dc in _start ()
(gdb) Quit
Julian Seward-2 wrote:
>
>
>> Program received signal SIGILL, Illegal instruction.
>> 0x380303e4 in vgPlain_machine_get_hwcaps () at m_machine.c:453
>> 453 m_machine.c: No such file or directory.
>> in m_machine.c
>
> This SIGILL is OK. You should tell GDB to pass the signal to Valgrind
> and continue. Then what happens?
>
>> It seem the svn is a bit premature, Is it possible to get only the patch
>> concerning the ELF reader ?
>
> Unrelated problem.
>
> J
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Valgrind-users mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
>
--
View this message in context: http://www.nabble.com/valgrind-not-printing-symbol-names-despite-debug-information-included-tp21558085p21650695.html
Sent from the Valgrind - Users mailing list archive at Nabble.com.
|