[SERVER-5096] mongobridge memory corruption in replica set tests Created: 25/Feb/12  Updated: 15/Oct/15  Resolved: 15/Oct/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Tests seem to pass anyway, but memory corruption is probably not ideal.

<http://buildbot.mongodb.org/builders/Nightly%20Linux%2032-bit/builds/838/steps/test_3/logs/stdio>

 m31006| *** glibc detected *** /mnt/slaves/Linux_32bit_Nightly/mongo/mongobridge: double free or corruption (fasttop): 0x09fd8328 ***
 m31006| ======= Backtrace: =========
 m31006| /lib/i686/nosegneg/libc.so.6[0x17a651]
 m31006| /lib/i686/nosegneg/libc.so.6(cfree+0x90)[0x17dcd0]
 m31006| /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x332111]
 m31006| /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0x30ecad]
 m31006| /usr/lib/libstdc++.so.6(_ZNSsD1Ev+0x57)[0x311857]
 m31006| /mnt/slaves/Linux_32bit_Nightly/mongo/mongobridge[0x8301b90]
 m31006| /lib/i686/nosegneg/libc.so.6(exit+0xee)[0x13c94e]
 m31006| /mnt/slaves/Linux_32bit_Nightly/mongo/mongobridge[0x8110236]
 m31006| /mnt/slaves/Linux_32bit_Nightly/mongo/mongobridge(_ZNK9ForwarderclEv+0x9e3)[0x8117823]
 m31006| /mnt/slaves/Linux_32bit_Nightly/mongo/mongobridge(_ZN5boost6detail11thread_dataI9ForwarderE3runEv+0x22)[0x8117ab2]
 m31006| /mnt/slaves/Linux_32bit_Nightly/mongo/mongobridge(thread_proxy+0x7c)[0x85c700c]
 m31006| /lib/i686/nosegneg/libpthread.so.0[0x936542]
 m31006| /lib/i686/nosegneg/libc.so.6(clone+0x5e)[0x1e5b6e]
 m31006| ======= Memory map: ========
 m31006| 00110000-00266000 r-xp 00000000 08:01 606462     /lib/i686/nosegneg/libc-2.7.so
 m31006| 00266000-00268000 r--p 00156000 08:01 606462     /lib/i686/nosegneg/libc-2.7.so
 m31006| 00268000-00269000 rw-p 00158000 08:01 606462     /lib/i686/nosegneg/libc-2.7.so
 m31006| 00269000-0026c000 rw-p 00269000 00:00 0 
 m31006| 00281000-0035f000 r-xp 00000000 08:01 215132     /usr/lib/libstdc++.so.6.0.8
 
...
 



 Comments   
Comment by Kamran K. [ 15/Oct/15 ]

I believe this bug has gone away. We're also reworking mongobridge as part of SERVER-19301, so we'll keep an eye out for similar issues in Evergreen.

Generated at Thu Feb 08 03:07:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.