Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #12419

Closed
Open
Created Jun 18, 2014 by Georg Koppen@gk

TBBs with ASan create alloc_dealloc_mismatch warnings

TBBs with ASan based on ESR 24 still create fatal alloc_dealloc_mismatch warnings although it seems not so often/fast if compiling the bundle with GCC 4.9.0:

=================================================================
==2659==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x60800014a620
    #0 0x7eff150cd207 in operator delete(void*) (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/TorBrowser/Tor/libasan.so.1+0x58207)
    #1 0x7efefd4f5103 (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libxul.so+0x102e6103)
    #2 0x7efefd41515e (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libxul.so+0x1020615e)
    #3 0x7efef95a36d0 (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libxul.so+0xc3946d0)
    #4 0x7efefc83582c (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libxul.so+0xf62682c)
    #5 0x7efefc76c8dc (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libxul.so+0xf55d8dc)
    #6 0x7efefc8386b1 (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libxul.so+0xf6296b1)
    #7 0x7eff10ba7f58 (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libnspr4.so+0x144f58)
    #8 0x7eff14e5fe99 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7e99)
    #9 0x7eff137ae3fc in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xf43fc)

0x60800014a620 is located 0 bytes inside of 96-byte region [0x60800014a620,0x60800014a680)
allocated by thread T50 (Image Scaler) here:
    #0 0x7eff150cc4cf in malloc (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/TorBrowser/Tor/libasan.so.1+0x574cf)
    #1 0x7eff0e54cc60 in moz_xmalloc (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libmozalloc.so+0x1c60)

Thread T50 (Image Scaler) created by T0 here:
    #0 0x7eff1509b69a in __interceptor_pthread_create (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/TorBrowser/Tor/libasan.so.1+0x2669a)
    #1 0x7eff10ba70ad (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libnspr4.so+0x1440ad)
    #2 0x7eff10bc20bf (/home/firefox64/asan/ubsan/tor-browser_en-US/Browser/libnspr4.so+0x15f0bf)

SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ??:0 operator delete(void*)
==2659==HINT: if you don't care about these warnings you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0
==2659==ABORTING
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking