Re: [Valgrind-users] location of stack allocation printed a at 0x8B43AF0: ??? ...
On Thu, 2019-03-21 at 20:00 +0100, Matthias Apitz wrote: > Hello, > > Why are only the '???' marks printed for the localtion of the stack > allocation? This is with 3.18.0 on Linux x64: 3.18.0 ? Last release is 3.14. > > ==24390== Conditional jump or move depends on uninitialised value(s) > ==24390==at 0x8B5DC3A: CatTmFilterExclude (CATTmFilter.c:215) > ==24390==by 0x8B8069C: SRVCatSearchMedia (SRVCatSearchMedia.c:579) > ==24390==by 0x74D3683: SlnpRunModule (SLNPInterpreter.c:567) > ==24390==by 0x74D31C7: SlnpInterpreter (SLNPInterpreter.c:287) > ==24390==by 0x414543: SlnpMainLoop (OPServer.c:874) > ==24390==by 0x413ED3: OPServer (OPServer.c:258) > ==24390==by 0x413792: main (OPDaemon.c:407) > ==24390== Uninitialised value was created by a stack allocation > ==24390==at 0x8B43AF0: ??? (in /home/sisis/guru/libcopz39.so) > ==24390== > > /home/sisis/guru # file libcopz39.so > libcopz39.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), > dynamically linked, BuildID[sha1]=eb1d460ebb565dedfe48bf5f534d2c097d9ca59c, > with debug_info, not stripped > > The *.o files in the shared lib have been compiled with 'gcc -m64 -g ...' Can you check what file/line nr corresponds to 0x8B43AF0, using another tool (gdb, or whatever) ? Thanks Philippe ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] VEX temporary storage exhausted
On Wed, 2019-03-20 at 23:20 +0100, Yuri D'Elia wrote: > On Wed, Mar 20 2019, Philippe Waroquiers wrote: > > Easiest thing to try initially is to recompile with a bigger size. > > After bumping buffers 10x, I get this: > > ==14645== Memcheck, a memory error detector > ==14645== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. > ==14645== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info > ==14645== Command: ./src/slic3r-gui > ==14645== > > valgrind: m_translate.c:1815 (vgPlain_translate): Assertion 'tres.status == > VexTransOK' failed. Strange. The only thing I see that can cause this failure is VexTransOutputFull. So, the next trial is to bump x10 m_translate.c N_TMPBUF You have to edit similarly the 6 in VG_(add_to_transtab) Philippe > > host stacktrace: > ==14645==at 0x58049D7C: show_sched_status_wrk (m_libcassert.c:369) > ==14645==by 0x58049E97: report_and_quit (m_libcassert.c:440) > ==14645==by 0x5804A034: vgPlain_assert_fail (m_libcassert.c:506) > ==14645==by 0x58064ECC: vgPlain_translate (m_translate.c:1815) > ==14645==by 0x580AAD4A: handle_chain_me (scheduler.c:1134) > ==14645==by 0x580ACDCF: vgPlain_scheduler (scheduler.c:1483) > ==14645==by 0x580FF770: thread_wrapper (syswrap-linux.c:103) > ==14645==by 0x580FF770: run_a_thread_NORETURN (syswrap-linux.c:156) > > sched status: > running_tid=1 > > Thread 1: status = VgTs_Runnable (lwpid 14645) > ==14645==at 0x541E124: (anonymous > namespace)::wxPNGImageData::DoLoadPNGFile(wxImage*, (anonymous > namespace)::wxPNGInfoStruct&) [clone .constprop.45] (in > /usr/local/stow/wxWidgets-3.1.2/lib/libwx_gtk3u_core-3.1.so.2.0.0) > ==14645==by 0x541F1B2: wxPNGHandler::LoadFile(wxImage*, wxInputStream&, > bool, int) (in > /usr/local/stow/wxWidgets-3.1.2/lib/libwx_gtk3u_core-3.1.so.2.0.0) > ==14645==by 0x5400A93: wxImage::DoLoad(wxImageHandler&, wxInputStream&, > int) (in /usr/local/stow/wxWidgets-3.1.2/lib/libwx_gtk3u_core-3.1.so.2.0.0) > ... > > > > ___ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
[Valgrind-users] location of stack allocation printed a at 0x8B43AF0: ??? ...
Hello, Why are only the '???' marks printed for the localtion of the stack allocation? This is with 3.18.0 on Linux x64: ==24390== Conditional jump or move depends on uninitialised value(s) ==24390==at 0x8B5DC3A: CatTmFilterExclude (CATTmFilter.c:215) ==24390==by 0x8B8069C: SRVCatSearchMedia (SRVCatSearchMedia.c:579) ==24390==by 0x74D3683: SlnpRunModule (SLNPInterpreter.c:567) ==24390==by 0x74D31C7: SlnpInterpreter (SLNPInterpreter.c:287) ==24390==by 0x414543: SlnpMainLoop (OPServer.c:874) ==24390==by 0x413ED3: OPServer (OPServer.c:258) ==24390==by 0x413792: main (OPDaemon.c:407) ==24390== Uninitialised value was created by a stack allocation ==24390==at 0x8B43AF0: ??? (in /home/sisis/guru/libcopz39.so) ==24390== /home/sisis/guru # file libcopz39.so libcopz39.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=eb1d460ebb565dedfe48bf5f534d2c097d9ca59c, with debug_info, not stripped The *.o files in the shared lib have been compiled with 'gcc -m64 -g ...' Thanks matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users