Package: valgrind
Version: 1:3.12.0~svn20160714-1+b1

It would be nice if I could use exp-sgcheck with dumpasn1.

Steps:

$ wget http://www.grfc.ru/upload/medialibrary/eec/016301.p7b
$ valgrind --tool=exp-sgcheck dumpasn1 016301.p7b
[...]
exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion
'!already_present' failed.

host stacktrace:
==19941==    at 0x38058F58: show_sched_status_wrk (m_libcassert.c:343)
==19941==    by 0x38059074: report_and_quit (m_libcassert.c:419)
==19941==    by 0x38059201: vgPlain_assert_fail (m_libcassert.c:485)
==19941==    by 0x3804EDF3: add_blocks_to_StackTree (sg_main.c:559)
==19941==    by 0x380508FB: shadowStack_new_frame.isra.22 (sg_main.c:1883)
==19941==    by 0x80518230D: ???
==19941==    by 0x802D8DF2F: ???
==19941==    by 0x80206455F: ???
==19941==    by 0x400F7EC: _dl_sort_fini (dl-fini.c:40)
==19941==    by 0x80206455F: ???
==19941==    by 0x1BFF: ???
==19941==    by 0x802EDDFFF: ???
==19941==    by 0x802D8DDBF: ???
==19941==    by 0x14085: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable (lwpid 19941)
==19941==    at 0x400F818: _dl_sort_fini (dl-fini.c:120)
==19941==    by 0x400FB19: _dl_fini (dl-fini.c:192)
==19941==    by 0x4E6591F: __run_exit_handlers (exit.c:83)
==19941==    by 0x4E65979: exit (exit.c:105)
==19941==    by 0x4E502B7: (below main) (libc-start.c:325)


Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.

Reply via email to