public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/59136] New: llvm-symbolizer shouldn't be started always
@ 2013-11-14 16:23 jakub at gcc dot gnu.org
  2013-11-14 16:29 ` [Bug sanitizer/59136] " kcc at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-11-14 16:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59136

            Bug ID: 59136
           Summary: llvm-symbolizer shouldn't be started always
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

I've noticed that libasan/liblsan now start external llvm-symbolizer for all
programs just in case they would be buggy, that looks like a very bad idea to
me.  It is quite a big overhead, and the usual case for sanitization should be
that no problems are reported, so IMNSHO if you really need external
symbolizer, at least start it on the first diagnostic output that should be
symbolized.
Furthermore, it doesn't have stderr redirected to /dev/null and passes by
default options e.g. llvm 3.3 llvm-symbolizer doesn't grok, so pretty much for
everything it emits ugly error messages.
And, when I've tried to LD_PRELOAD=./liblsan.so.0.0.0 ls -l
it because of the starting llvm-symbolizer just in case created a beatiful
fork-bomb.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-09 20:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14 16:23 [Bug sanitizer/59136] New: llvm-symbolizer shouldn't be started always jakub at gcc dot gnu.org
2013-11-14 16:29 ` [Bug sanitizer/59136] " kcc at gcc dot gnu.org
2013-11-15  6:59 ` samsonov at google dot com
2013-11-15  7:26 ` jakub at gcc dot gnu.org
2013-11-15  7:34 ` samsonov at google dot com
2013-11-15  9:25 ` [Bug sanitizer/59136] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-11-15 12:42 ` samsonov at google dot com
2013-11-24 15:44 ` burnus at gcc dot gnu.org
2013-11-24 15:48 ` hjl.tools at gmail dot com
2013-11-24 18:21 ` hjl.tools at gmail dot com
2013-12-16 15:57 ` jakub at gcc dot gnu.org
2013-12-16 16:07 ` glider at google dot com
2014-01-09 18:13 ` jakub at gcc dot gnu.org
2014-01-09 20:10 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).