|
From: Maynard J. <may...@us...> - 2013-09-03 20:44:04
|
On 08/16/2013 10:45 AM, Maynard Johnson wrote: > On 08/16/2013 09:55 AM, Julian Seward wrote: >> >> Maynard, >> >> Florian landed a change last night -- r13498/r2742 -- which should fix this. >> Pls yell if it's still broken. > OK, thanks. I'll be out for a couple weeks as of this afternoon, and so will verify the fix when I return. I did 'svn up' on my valgrind directory and re-tested. I get a different error now (below) -- so far, only on my Intel Core 2 Duo/RHEL 6.4 system, not on my POWER7/RHEL 6.4 box. Is there some debug data I can collect? ----------------------------------------------------------- [maynard@oc3431575272 myJavaStuff]$ valgrind --tool=none java ThreadLoop 1 ==10580== Nulgrind, the minimal Valgrind tool ==10580== Copyright (C) 2002-2012, and GNU GPL'd, by Nicholas Nethercote. ==10580== Using Valgrind-3.9.0.SVN and LibVEX; rerun with -h for copyright info ==10580== Command: java ThreadLoop 1 ==10580== BBPTR vex: the `impossible' happened: deltaIRExpr vex storage: T total 42014720 bytes allocated vex storage: P total 640 bytes allocated valgrind: the 'impossible' happened: LibVEX called failure_exit(). ==10580== at 0x38086447: report_and_quit (m_libcassert.c:260) ==10580== by 0x380864AE: panic (m_libcassert.c:350) ==10580== by 0x38086508: vgPlain_core_panic_at (m_libcassert.c:355) ==10580== by 0x3808651A: vgPlain_core_panic (m_libcassert.c:360) ==10580== by 0x38015FC2: failure_exit (m_translate.c:731) ==10580== by 0x380B5BE8: vpanic (main_util.c:226) ==10580== by 0x380C1A5F: deltaIRExpr (ir_opt.c:4386) ==10580== by 0x380CAA0E: do_iropt_BB (ir_opt.c:4461) ==10580== by 0x380B3A29: LibVEX_Translate (main_main.c:725) ==10580== by 0x380137C0: vgPlain_translate (m_translate.c:1602) ==10580== by 0x38046E0A: handle_chain_me (scheduler.c:1028) ==10580== by 0x38048C77: vgPlain_scheduler (scheduler.c:1326) ==10580== by 0x380769F9: run_a_thread_NORETURN (syswrap-linux.c:103) -------------------------------------------------------- -Maynard > > -Maynard >> >> J >> >> On 08/14/2013 02:51 PM, Maynard Johnson wrote: >>> On 08/13/2013 03:03 PM, Florian Krohm wrote: >>>> On 08/13/2013 09:51 PM, Maynard Johnson wrote: >>>>> Using an SVN checkout done today, I get the following error when running a test java app under Valgrind: >>> Sorry, but I forgot to say yesterday that I was only seeing this error on my Intel Core 2 Duo laptop. The current valgrind from SVN trunk worked OK on my ppc64 box. >>> >>> I'm at a different work location today and using a Sandybridge laptop (Intel Core i7) -- and oddly, I cannot reproduce the error, using the same JVM. >>> >>> -Maynard >>>>> >>>>> [maynard@oc3431575272 myJavaStuff]$ valgrind --tool=none java ThreadLoop 1 >>>>> ==18410== Nulgrind, the minimal Valgrind tool >>>>> ==18410== Copyright (C) 2002-2012, and GNU GPL'd, by Nicholas Nethercote. >>>>> ==18410== Using Valgrind-3.9.0.SVN and LibVEX; rerun with -h for copyright info >>>>> ==18410== Command: java ThreadLoop 1 >>>>> ==18410== >>>>> --18410-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting >>>>> --18410-- si_code=1; Faulting address: 0x11; sp: 0x80277d490 >>>>> >>>>> valgrind: the 'impossible' happened: >>>>> Killed by fatal signal >>>>> ==18410== at 0x380BF6BB: deepCopyIRExpr (ir_defs.c:2130) >>>>> ==18410== by 0x380BFB14: deepCopyIRExprVec (ir_defs.c:2093) >>>> >>>> I bet that e is IRExprP__BBPTR which is ((IRExpr*)17) which is 0x11, >>>> the faulting address. Looks as if deepCopyIRExprVec does not handle the >>>> special expressions introduced recently. There may be other places. I >>>> haven't checked. Unless you beat me to it I'll look at fixing it tomorrow. >>>> >>>> Florian >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Get 100% visibility into Java/.NET code with AppDynamics Lite! >>> It's a free troubleshooting tool designed for production. >>> Get down to code-level detail for bottlenecks, with <2% overhead. >>> Download for free and get started troubleshooting in minutes. >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Valgrind-developers mailing list >>> Val...@li... >>> https://lists.sourceforge.net/lists/listinfo/valgrind-developers >>> >> > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |