2016-07-11 12:48 GMT+02:00 Thomas Deutschmann <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi, > > Rainer Gerhards wrote: >> Can you try clang 's address sanitizer? This often works much >> better than valgrind for me. It would make sense to also compile >> jmalloc with it. > > I tried that. All I am seeing is the following probably unrelated > compiler warning: > >> libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. >> -I../../runtime -I../.. -I../../grammar -I/usr/include/libfastjson >> -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith >> -Wmissing-format-attribute -Werror=implicit-function-de claration >> -pthread -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt >> -fsanitize=address -ggdb -c mmcount.c -fPI C -DPIC -o >> .libs/mmcount_la-mmcount.o mmcount.c:270:9: warning: cast from >> 'uchar *' (aka 'unsigned char *') to 'msg_t *' (aka 'struct msg *') >> increases required alignment from 1 to 8 [-Wcast-align] pMsg = >> (msg_t*) ppString[0]; ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. >
that should not pose a problem, it's in for several years. Nevertheless, there exists an issue tracker to fix this in 8.21.0. > However when I build rsyslog with "-fsanitize=address" I don't hit the > problem. Building rsyslog with clang but without "-fsanitize=address" > flag triggers the problem. did you build jemalloc also with -fsanitize=address? If that doesn't work, I unforutnately have no idea left... Rainer > > > - -- > Regards, > Thomas > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.1 > > iQJ7BAEBCgBmBQJXg3lbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w > ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzM0M1ODQ4MkM0MDIyOTJEMkUzQzVDMDY5 > NzA5RjkwQzNDOTZGRkM4AAoJEJcJ+Qw8lv/ILP0P+NJbe8S2nCtvM09gOI2jLzcn > rZsgU5Qf0TLjNcij6OJ1VP0bJzaPUCyWdfqaaIU/qzbF92WNvDx9I3Fyozd3EiCX > 6VmWXmFqUInd+qSP3ZLOKXQxFWtgHg5pADb0/5/mBhmiwhCdtsCTJgDXj0mXlQzt > UM+9oEBkcBysjWl1Q1bSdrmeovNywSk1KWQuRMbsaIG/AHxaOF0WoqJy7G7pvBh/ > OOTx09AvpERPYxfhBaMv6v33Wy6CNr+nMQ4fKRX6NotCitVLmQM9QFTgnidKCn02 > GJxKJil7uM20QzVUpRJ84DReEzuJgo/KLy8mpH/XNJeZKZ/vhl5ukTzKE7JPn789 > Xm3ScoweS8hC6ZFLsvBRBR9BLkioUBVLJ7SyNKJQblnGm5Yx2gxMuRQ6OR42W3ur > 28iUtl6tNTk2Ajsjxg9coAysZ4lwEidkEpk/m6lDDS3Z1pRVNIrlBoCcqyNmEZiC > rACbDwtMnlw909ZlLzIyq+PHheb8wYH8polGF8+oOpICLLRtmkTxhmCQx4eFW31/ > DDoxzXdQd0A3xGrIqUaMYIUDPUbb9jJ7pXyUPsAobfEggFGySsRcrMQDl2K8Ed8K > CSDJYWZGPWrq588thEsNwrZ+X1Q6pFoIaPYlxyotidX91k0zWao5Ph+ekmJJVM/b > mhimzX8FbMlqwqmUCv8= > =75m8 > -----END PGP SIGNATURE----- > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

