Joerg Schad created MESOS-2530:
----------------------------------
Summary: Alloc-dealloc-mismatch in OsSendfileTest.sendfile
Key: MESOS-2530
URL: https://issues.apache.org/jira/browse/MESOS-2530
Project: Mesos
Issue Type: Bug
Reporter: Joerg Schad
Assignee: Joerg Schad
GCC's AdressSanitizer stumbled acrosss the following issue (thanks [~tillt]):
{noformat}
[----------] 1 test from OsSendfileTest
[ RUN ] OsSendfileTest.sendfile
=================================================================
==65404== ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs
operator delete) on 0x60
300000fe40
#0 0x2b8d6acc99da (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0x119da)
#1 0x52df06
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x52df06)
#2 0x593e59
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x593e59)
#3 0x58bd83
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x58bd83)
#4 0x567561
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x567561)
#5 0x568049
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x568049)
#6 0x5688a4
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x5688a4)
#7 0x56fb6e
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x56fb6e)
#8 0x595713
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x595713)
#9 0x58d2e3
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x58d2e3)
#10 0x56e0bb
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x56e0bb)
#11 0x4ca74b
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x4ca74b)
#12 0x2b8d6f385ec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4)
0x60300000fe40 is located 0 bytes inside of 446-byte region
[0x60300000fe40,0x60300000fffe)
allocated by thread T0 here:
#0 0x2b8d6acc988a (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0x1188a)
#1 0x52dba6
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x52dba6)
#2 0x593e59
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x593e59)
#3 0x58bd83
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x58bd83)
#4 0x567561
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x567561)
#5 0x568049
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x568049)
#6 0x5688a4
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x5688a4)
#7 0x56fb6e
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x56fb6e)
#8 0x595713
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x595713)
#9 0x58d2e3
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x58d2e3)
#10 0x56e0bb
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x56e0bb)
#11 0x4ca74b
(/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty/stout-tests+0x4ca74b)
#12 0x2b8d6f385ec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4)
==65404== HINT: if you don't care about these warnings you may set
ASAN_OPTIONS=alloc_dealloc_mismatch=0
==65404== ABORTING
make[7]: *** [check-local] Error 1
make[7]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty'
make[6]: *** [check-am] Error 2
make[6]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty'
make[5]: *** [check-recursive] Error 1
make[5]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty'
make[4]: *** [check] Error 2
make[4]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess/3rdparty'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty/libprocess'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty'
make[1]: *** [check] Error 2
make[1]: Leaving directory
`/mnt/hgfs/till/Development/mesos-private/build/3rdparty'
make: *** [check-recursive] Error 1
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)