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 60000 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

Reply via email to