[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

y.gribov at samsung dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 16 14:02:00 GMT 2013


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

--- Comment #39 from Yury Gribov <y.gribov at samsung dot com> ---
True. My problems manifest themselves later in initialization process so I
forgot about OPs problem. It seems that my last suggestion would not be able to
catch all the instances of this error indeed.

The original proposal (which results in link error) should be able to rule out
all problems at the cost of reduced functionality. Personally I think that
safety and defined behavior are more important...

Thoughts?

-Y



More information about the Gcc-bugs mailing list