Hello,

Valgrind 3.4.0 and 3.8.0 asserts because we have large generated C functions 
which compile into very large code blocks causing valgrind to


valgrind: m_debuginfo/storage.c:456 (vgModuleLocal_addDiCfSI): Assertion 
'cfsi.len < 5000000' failed.
==30429==    at 0x3802EDA7: report_and_quit (m_libcassert.c:235)
==30429==    by 0x3802EFDB: vgPlain_assert_fail (m_libcassert.c:309)
==30429==    by 0x38067FA0: vgModuleLocal_addDiCfSI (storage.c:456)
==30429==    by 0x380B0E25: run_CF_instructions (readdwarf.c:3622)
==30429==    by 0x380B1AE1: vgModuleLocal_read_callframe_info_dwarf3 
(readdwarf.c:4173)
==30429==    by 0x3805FB77: vgModuleLocal_read_elf_debug_info (readelf.c:2486)
==30429==    by 0x3805A999: di_notify_ACHIEVE_ACCEPT_STATE (debuginfo.c:611)
==30429==    by 0x3805B48A: vgPlain_di_notify_mmap (debuginfo.c:918)
==30429==    by 0x3808342A: vgModuleLocal_generic_PRE_sys_mmap 
(syswrap-generic.c:2066)
==30429==    by 0x380A46C2: vgSysWrap_amd64_linux_sys_mmap_before 
(syswrap-amd64-linux.c:1012)
==30429==    by 0x38077438: vgPlain_client_syscall (syswrap-main.c:1451)
==30429==    by 0x38075935: vgPlain_scheduler (scheduler.c:1057)
==30429==    by 0x3809C6E6: run_a_thread_NORETURN (syswrap-linux.c:102)


How does one increase this number?  Is it in any way related to this?


./VEX/priv/main_util.c:#define N_TEMPORARY_BYTES 5000000

Thanks,
Greg
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to