Closed ramosian-glider closed 9 years ago
Do you have a small reproducer?
Reported by konstantin.s.serebryany
on 2012-06-29 11:12:54
Can you run the program under GDB and provide the backtrace?
Reported by ramosian.glider
on 2012-06-29 11:13:10
I reproduced this in a VM with Fedora 17 (64 bit) and one of the Firefox Debug+Asan
builds. The GDB trace is here (partial): http://decoder.pastebin.mozilla.org/1683698
The full trace is very long, I suspect it's some recursion repeating on the stack.
Reported by decoder.oh
on 2012-06-29 11:45:34
got it. sscanf is hurting us.
Will fix.
Reported by konstantin.s.serebryany
on 2012-06-29 12:00:07
I hope this is fixed in LLVM r159424.
Please let us know whether it is actually fixed on your side.
You don't need to rebuild the entire firefox, just re-link it with fresh asan run-time.
Reported by konstantin.s.serebryany
on 2012-06-29 13:09:23
Fixed
Yeah, we had this problem in DR on Fedora too. Some genius in glibc decided it would
be good for sscanf to call malloc. =P
Reported by rnk@google.com
on 2012-06-29 14:41:04
Adding Project:AddressSanitizer as part of GitHub migration.
Reported by ramosian.glider
on 2015-07-30 09:12:59
Originally reported on Google Code with ID 85
Reported by
sidhpurwala.huzaifa
on 2012-06-29 11:06:50