Skip to content

Instantly share code, notes, and snippets.

@tanner0101
Created March 28, 2019 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanner0101/bafc913f2046c1e13950f24088be3fa5 to your computer and use it in GitHub Desktop.
Save tanner0101/bafc913f2046c1e13950f24088be3fa5 to your computer and use it in GitHub Desktop.
valgrind-output
==27371==
==27371== Process terminating with default action of signal 2 (SIGINT)
==27371== at 0x53659F3: futex_wait_cancelable (futex-internal.h:88)
==27371== by 0x53659F3: __pthread_cond_wait_common (pthread_cond_wait.c:502)
==27371== by 0x53659F3: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:655)
==27371== by 0x3FD1DC: $s21NIOConcurrencyHelpers13ConditionLockC4lock9whenValueyx_tF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3A812C: $s3NIO15EventLoopFutureC4wait4file4linexs12StaticStringV_SutKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x4FDD3C: $s5Vapor11ApplicationC3runyyKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x463610: main (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== HEAP SUMMARY:
==27371== in use at exit: 6,530,784 bytes in 22,458 blocks
==27371== total heap usage: 325,772 allocs, 303,314 frees, 127,844,068 bytes allocated
==27371==
==27371== Thread 1:
==27371== 264 bytes in 1 blocks are definitely lost in loss record 1,122 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x520A79F: _registerProtocols((anonymous namespace)::ProtocolMetadataPrivateState&, swift::TargetProtocolRecord<swift::InProcess> const*, swift::TargetProtocolRecord<swift::InProcess> const*) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x524FDB9: swift_addNewDSOImage (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4010732: call_init (dl-init.c:72)
==27371== by 0x4010732: _dl_init (dl-init.c:119)
==27371== by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==27371==
==27371== 264 bytes in 1 blocks are definitely lost in loss record 1,123 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x52119C5: _registerProtocolConformances(ConformanceState&, swift::RelativeDirectPointer<swift::TargetProtocolConformanceDescriptor<swift::InProcess>, false, int> const*, swift::RelativeDirectPointer<swift::TargetProtocolConformanceDescriptor<swift::InProcess>, false, int> const*) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x524FDCB: swift_addNewDSOImage (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4010732: call_init (dl-init.c:72)
==27371== by 0x4010732: _dl_init (dl-init.c:119)
==27371== by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==27371==
==27371== 264 bytes in 1 blocks are definitely lost in loss record 1,124 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x52091C5: _registerTypeMetadataRecords(TypeMetadataPrivateState&, swift::TargetTypeMetadataRecord<swift::InProcess> const*, swift::TargetTypeMetadataRecord<swift::InProcess> const*) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x524FDDD: swift_addNewDSOImage (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4010732: call_init (dl-init.c:72)
==27371== by 0x4010732: _dl_init (dl-init.c:119)
==27371== by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==27371==
==27371== 288 bytes in 1 blocks are definitely lost in loss record 1,131 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51F1C91: swift_slowAlloc (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51F1CFE: _swift_allocObject_(swift::TargetHeapMetadata<swift::InProcess> const*, unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F6F94B: $sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51E74D8: $ss15ContiguousArrayV28_allocateBufferUninitialized15minimumCapacitys01_abD0VyxGSi_tFZ (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x35A083: $s3NIO20BlockingIOThreadPoolC5startyyFyyXEfU_ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x359E6D: $s3NIO20BlockingIOThreadPoolC5startyyF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x54304B: $s7Service8ServicesV5VaporE7defaultACyFZTf4d_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x542528: $s7Service8ServicesV5VaporE7defaultACyFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1ABDAA: $s3App3appy5Vapor11ApplicationC7Service11EnvironmentVKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x4635F0: main (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 336 bytes in 1 blocks are possibly lost in loss record 1,141 of 1,234
==27371== at 0x4C31B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x40134A6: allocate_dtv (dl-tls.c:286)
==27371== by 0x40134A6: _dl_allocate_tls (dl-tls.c:530)
==27371== by 0x5360227: allocate_stack (allocatestack.c:627)
==27371== by 0x5360227: pthread_create@@GLIBC_2.2.5 (pthread_create.c:644)
==27371== by 0x40B1C45: _dispatch_root_queue_poke_slow (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libdispatch.so)
==27371== by 0x4068105: $s8Dispatch0A5QueueC5async5group3qos5flags7executeyAA0A5GroupCSg_AA0A3QoSVAA0A13WorkItemFlagsVyyXBtF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftDispatch.so)
==27371== by 0x359F8F: $s3NIO20BlockingIOThreadPoolC5startyyF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x54304B: $s7Service8ServicesV5VaporE7defaultACyFZTf4d_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x542528: $s7Service8ServicesV5VaporE7defaultACyFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1ABDAA: $s3App3appy5Vapor11ApplicationC7Service11EnvironmentVKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x4635F0: main (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 336 bytes in 1 blocks are possibly lost in loss record 1,142 of 1,234
==27371== at 0x4C31B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x40134A6: allocate_dtv (dl-tls.c:286)
==27371== by 0x40134A6: _dl_allocate_tls (dl-tls.c:530)
==27371== by 0x5360227: allocate_stack (allocatestack.c:627)
==27371== by 0x5360227: pthread_create@@GLIBC_2.2.5 (pthread_create.c:644)
==27371== by 0x40B1C45: _dispatch_root_queue_poke_slow (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libdispatch.so)
==27371== by 0x40B5535: _dispatch_worker_thread (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libdispatch.so)
==27371== by 0x535F6DA: start_thread (pthread_create.c:463)
==27371== by 0x77DF88E: clone (clone.S:95)
==27371==
==27371== 336 bytes in 1 blocks are possibly lost in loss record 1,143 of 1,234
==27371== at 0x4C31B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x40134A6: allocate_dtv (dl-tls.c:286)
==27371== by 0x40134A6: _dl_allocate_tls (dl-tls.c:530)
==27371== by 0x5360227: allocate_stack (allocatestack.c:627)
==27371== by 0x5360227: pthread_create@@GLIBC_2.2.5 (pthread_create.c:644)
==27371== by 0x3A4250: $s3NIO27MultiThreadedEventLoopGroupC18threadInitializersACSayyAA6ThreadCcG_tcfcTf4gn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x39C0B4: $s3NIO27MultiThreadedEventLoopGroupC10numThreadsACSi_tcfC (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3A5BF8: $s3NIO27MultiThreadedEventLoopGroupC15numberOfThreadsACSi_tcfC (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x4FCEC7: $s5Vapor11ApplicationC6config11environment8servicesAC7Service6ConfigV_AG11EnvironmentVAG8ServicesVtKcfC (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1ABED7: $s3App3appy5Vapor11ApplicationC7Service11EnvironmentVKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x4635F0: main (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 2,688 bytes in 8 blocks are possibly lost in loss record 1,201 of 1,234
==27371== at 0x4C31B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x40134A6: allocate_dtv (dl-tls.c:286)
==27371== by 0x40134A6: _dl_allocate_tls (dl-tls.c:530)
==27371== by 0x5360227: allocate_stack (allocatestack.c:627)
==27371== by 0x5360227: pthread_create@@GLIBC_2.2.5 (pthread_create.c:644)
==27371== by 0x3A4250: $s3NIO27MultiThreadedEventLoopGroupC18threadInitializersACSayyAA6ThreadCcG_tcfcTf4gn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x39C0B4: $s3NIO27MultiThreadedEventLoopGroupC10numThreadsACSi_tcfC (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3A5BF8: $s3NIO27MultiThreadedEventLoopGroupC15numberOfThreadsACSi_tcfC (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x53EC70: $s5Vapor9NIOServerC5start8hostname4port3NIO15EventLoopFutureCyytGSSSg_SiSgtF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x53FDA5: $s5Vapor9NIOServerCAA6ServerA2aDP5start8hostname4port3NIO15EventLoopFutureCyytGSSSg_SiSgtFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x503DA3: $s5Vapor12ServeCommandV3run5using3NIO15EventLoopFutureCyytG0C00C7ContextV_tKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x503F38: $s5Vapor12ServeCommandV0C00C8RunnableAadEP3run5using3NIO15EventLoopFutureCyytGAD0C7ContextV_tKFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1D769B: $s7ConsoleAAP7CommandE4_run33_241066C70BE048BADDF40F0EFCBC6045LL_5input2on3NIO15EventLoopFutureCyytGAC0B8Runnable_p_AC0B5InputVz7Service9Container_ptKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1D6405: $s7ConsoleAAP7CommandE3run_5input2on3NIO15EventLoopFutureCyytGAC0B8Runnable_p_AC0B5InputVz7Service9Container_ptF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 16,384 bytes in 1 blocks are possibly lost in loss record 1,214 of 1,234
==27371== at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51FA2F3: swift::MetadataAllocator::Allocate(unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA38C: swift_allocateGenericValueMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA984: swift_getGenericMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F7986E: $sSp10initialize4from5countySPyxG_SitF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x517B3DF: $ss22_ContiguousArrayBufferV13_copyContents8subRange12initializingSpyxGSnySiG_AFtFTf4xng_n (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4FB9716: $ss22_ContiguousArrayBufferVyxGs01_bC8ProtocolssADP13_copyContents8subRange12initializingSpy7ElementQzGSnySiG_AKtFTW (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F73393: $ss20_ArrayBufferProtocolPsE22_arrayOutOfPlaceUpdateyys011_ContiguousaB0Vy7ElementQzGz_S2iySpyAGG_SitXEtF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F7042D: $sSa16_copyToNewBuffer8oldCountySi_tF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F7363C: $sSa034_makeUniqueAndReserveCapacityIfNotB0yyF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x1AF5C8: $sSa6appendyyxnFTf4gn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x286ECA: $s6Fluent15QuerySupportingP0A3SQLAD0A8SQLQuery0B0RpzAF_16SelectExpressionQZ0B3KeyRtzrlE05queryH5Apply_2toyAK_AGztFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 16,384 bytes in 1 blocks are possibly lost in loss record 1,215 of 1,234
==27371== at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51FA2F3: swift::MetadataAllocator::Allocate(unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51F070C: swift_initEnumMetadataSinglePayload (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51C1999: $sSNsSxRzSZ6StrideRpzrlE5IndexOMr (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51E2408: $sSqMr (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x5202D8D: swift::MetadataCacheEntryBase<(anonymous namespace)::GenericCacheEntry, void const*>::doInitialization(swift::ConcurrencyControl&, swift::MetadataCompletionQueueEntry*, swift::MetadataRequest) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA9F5: swift_getGenericMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F66ECB: $sSqMa (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x3F3DC4: $s3NIO22ThreadSpecificVariableV12currentValuexSgvsTf4gn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3F391D: $s3NIO22ThreadSpecificVariableV12currentValuexSgvs (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1ECA7E: $sSe4CoreE17anyDecodeProperty9valueType7keyPathAA09ReflectedD0VSgypXp_s06AnyKeyH0CtKFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1EC03B: $s4Core11ReflectablePAASeRzrlE18anyReflectProperty9valueType7keyPathAA09ReflectedE0VSgypXp_s06AnyKeyI0CtKFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 16,384 bytes in 1 blocks are possibly lost in loss record 1,216 of 1,234
==27371== at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51FA2F3: swift::MetadataAllocator::Allocate(unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA046: swift_allocateGenericClassMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA984: swift_getGenericMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x23ED3F: $s11DatabaseKit0A14ConnectionPoolCMa (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x240649: $s11DatabaseKit0A0PAAE17newConnectionPool6config2onAA0adE0CyxGAA0adE6ConfigV_3NIO14EventLoopGroup_ptF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x23F162: $s11DatabaseKit0A19ConnectionPoolCacheC07requireD03forAA0acD0CyAA010ConfiguredA0VyxGGAA0A10IdentifierVyxG_tKAA0A0RzlF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x23D9BD: $s7Service9ContainerP11DatabaseKitE14connectionPool2toAD0c10ConnectionF0CyAD010ConfiguredC0Vyqd__GGAD0C10IdentifierVyqd__G_tKAD0C0Rd__lF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x23A4B6: $s7Service9ContainerP11DatabaseKitE23requestCachedConnection2to04poolB03NIO15EventLoopFutureCy0G0Qyd__GAD0C10IdentifierVyqd__G_AaB_ptAD0C0Rd__lF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x5321C9: $s5Vapor7RequestC18databaseConnection2to3NIO15EventLoopFutureCy0D0QzG11DatabaseKit0J10IdentifierVyxGSg_tAL0J0RzlF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x532AB8: $s5Vapor7RequestC11DatabaseKit0C11ConnectableAadEP18databaseConnection2to3NIO15EventLoopFutureCy0G0Qyd__GAD0C10IdentifierVyqd__GSg_tAD0C0Rd__lFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x25ABB0: $s6Fluent5ModelPAAE5query2on15withSoftDeletedAA12QueryBuilderCy8DatabaseQzxG0J3Kit0J11Connectable_p_SbtFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 16,384 bytes in 1 blocks are possibly lost in loss record 1,217 of 1,234
==27371== at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51FA2F3: swift::MetadataAllocator::Allocate(unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA046: swift_allocateGenericClassMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FA984: swift_getGenericMetadata (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F92671: $ss22KeyedDecodingContainerVyAByxGqd__c3KeyQyd__Rszs0abC8ProtocolRd__lufC (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x1F3085: $s4Core17ReflectionDecoderV9container7keyedBys22KeyedDecodingContainerVyxGxm_tKs9CodingKeyRzlF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1F3149: $s4Core17ReflectionDecoderVs0C0AAsADP9container7keyedBys22KeyedDecodingContainerVyqd__Gqd__m_tKs9CodingKeyRd__lFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x51BF8C7: $ss7DecoderP9container7keyedBys22KeyedDecodingContainerVyqd__Gqd__m_tKs9CodingKeyRd__lFTj (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x1A93FF: $s3App4UserC4fromACs7Decoder_p_tKcfc (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1AA296: $s3App4UserCSeAASe4fromxs7Decoder_p_tKcfCTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x51BF866: $sSe4fromxs7Decoder_p_tKcfCTj (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x1EC5F8: $sSe4CoreE17anyDecodeProperty9valueType7keyPathAA09ReflectedD0VSgypXp_s06AnyKeyH0CtKFZ (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 16,384 bytes in 1 blocks are possibly lost in loss record 1,218 of 1,234
==27371== at 0x4C3089F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51FA2F3: swift::MetadataAllocator::Allocate(unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FE77E: swift_getWitnessTable (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51B2564: $ss22_ContiguousArrayBufferVyxGSlsWI (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FEE3A: swift_getWitnessTable (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51B24F4: $ss22_ContiguousArrayBufferVyxGSKsWI (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FEE3A: swift_getWitnessTable (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51BA34A: $sSayxGs14_ArrayProtocolsWITm (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51FEE3A: swift_getWitnessTable (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F703CC: $sSa16_copyToNewBuffer8oldCountySi_tF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x4F7363C: $sSa034_makeUniqueAndReserveCapacityIfNotB0yyF (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x1AF5C8: $sSa6appendyyxnFTf4gn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 32,832 (64 direct, 32,768 indirect) bytes in 1 blocks are definitely lost in loss record 1,221 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51F1C91: swift_slowAlloc (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51F1CFE: _swift_allocObject_(swift::TargetHeapMetadata<swift::InProcess> const*, unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x369B68: $s3NIO10ByteBufferV8_StorageC12reallocSlice_8capacityAESnys6UInt32VG_AItFTf4xnn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x367F4B: $s3NIO10ByteBufferV21_copyStorageAndRebase33_243B594EFDF92ACEC7911DAF9CEF250ELL8capacity12resetIndicesys6UInt32V_SbtF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x367FD9: $s3NIO10ByteBufferV21_copyStorageAndRebase13extraCapacity12resetIndicesys6UInt32V_SbtF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x347289: $s3NIO10ByteBufferV4_set5bytes2ats6UInt32Vx_AHtAA20ContiguousCollectionRzs5UInt8V7ElementRtzlFSW_Tgq5Tf4xnn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x345452: $s3NIO10ByteBufferV5MySQLE17checkPacketLengths5Int32VSgyKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x31E7CF: $s5MySQL0A16SQLPacketDecoderC23decodeStatementProtocol3ctx6buffer14statementState12capabilities3NIO08DecodingK0OAI21ChannelHandlerContextC_AI10ByteBufferVzAA0a12SQLStatementgK0OAA0A15SQLCapabilitiesVtKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x31CC75: $s5MySQL0A16SQLPacketDecoderC6decode3ctx6buffer3NIO13DecodingStateOAG21ChannelHandlerContextC_AG10ByteBufferVztKF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3212A8: $s5MySQL0A16SQLPacketDecoderC3NIO013ByteToMessageD0AadEP6decode3ctx6bufferAD13DecodingStateOAD21ChannelHandlerContextC_AD0F6BufferVztKFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x38D9B8: $sTA (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 1,238,890 (720,000 direct, 518,890 indirect) bytes in 10,000 blocks are definitely lost in loss record 1,233 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51F1C91: swift_slowAlloc (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51F1CFE: _swift_allocObject_(swift::TargetHeapMetadata<swift::InProcess> const*, unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x206127: $s10Foundation4DataV11InlineSliceVyAESWcfCTf4xd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x2061D2: $s10Foundation4DataV15_RepresentationOyAESWcfCTf4xd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x206407: $s10Foundation4DataVyACxcSTRzs5UInt8V7ElementRtzlufCSS8UTF8ViewV_Tg5Tf4xd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x30C451: $s5MySQL0A7SQLTextVAA0A18SQLDataConvertibleA2aDP09convertToaD0AA0aD0VyFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x319AB8: $sSS5MySQL0A18SQLDataConvertibleA2aBP09convertToaC0AA0aC0VyFTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x2E9F28: $s5MySQL0A14SQLDataEncoderV6encodeyAA0aC0VSE_pFTf4nd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x2F0C04: $s5MySQL0A13SQLConnectionC5queryy3NIO15EventLoopFutureCyytGAA0A8SQLQueryO_ySDyAA0A9SQLColumnVAA0A7SQLDataVGKctF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x27E665: $s5MySQL0A11SQLDatabaseC06FluentaB0E12queryExecute_2on4into3NIO15EventLoopFutureCyytGAD0dA8SQLQueryV_AA0A13SQLConnectionCySDyAA0A9SQLColumnVAA0A7SQLDataVG_AOtKctFZTf4nnnd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x27B6DF: $s5MySQL0A11SQLDatabaseC6Fluent15QuerySupporting0daB0AdEP12queryExecute_2on4into3NIO15EventLoopFutureCyytG0E0Qz_10ConnectionQzy6OutputQz_ARtKctFZTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== 1,300,879 (80 direct, 1,300,799 indirect) bytes in 1 blocks are definitely lost in loss record 1,234 of 1,234
==27371== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27371== by 0x51F1C91: swift_slowAlloc (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x51F1CFE: _swift_allocObject_(swift::TargetHeapMetadata<swift::InProcess> const*, unsigned long, unsigned long) (in /home/tanner/swift/swift-5.0-RELEASE-ubuntu18.04/usr/lib/swift/linux/libswiftCore.so)
==27371== by 0x3B0B4E: $s3NIO15EventLoopFutureC05eventC04file4lineACyxGAA0bC0_p_s12StaticStringVSutc33_1CAEE0056AB83634CE1A29DE57BC300CLlfCTf4gddd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3B0B78: $s3NIO16EventLoopPromiseV05eventC04file4lineACyxGAA0bC0_p_s12StaticStringVSutcfCTf4gddd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x39F233: $s3NIO9EventLoopPAAE10newPromise2of4file4lineAA0bcE0Vyqd__Gqd__m_s12StaticStringVSutlFTf4dddn_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x3963F3: $s3NIO9EventLoopPAAE10newPromise2of4file4lineAA0bcE0Vyqd__Gqd__m_s12StaticStringVSutlF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x1AC930: $s3NIO9EventLoopP5AsyncE10newPromise_4file4lineAA0bcF0Vyqd__Gqd__m_s12StaticStringVSutlF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x2F7133: $s5MySQL0A13SQLConnectionC4send_10onResponse3NIO15EventLoopFutureCyytGSayAA0A9SQLPacketOG_SbAKKctF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x2F0F9B: $s5MySQL0A13SQLConnectionC5queryy3NIO15EventLoopFutureCyytGAA0A8SQLQueryO_ySDyAA0A9SQLColumnVAA0A7SQLDataVGKctF (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x27E665: $s5MySQL0A11SQLDatabaseC06FluentaB0E12queryExecute_2on4into3NIO15EventLoopFutureCyytGAD0dA8SQLQueryV_AA0A13SQLConnectionCySDyAA0A9SQLColumnVAA0A7SQLDataVG_AOtKctFZTf4nnnd_n (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371== by 0x27B6DF: $s5MySQL0A11SQLDatabaseC6Fluent15QuerySupporting0daB0AdEP12queryExecute_2on4into3NIO15EventLoopFutureCyytG0E0Qz_10ConnectionQzy6OutputQz_ARtKctFZTW (in /home/tanner/dev/sandbox/vapor-memory-leak/.build/x86_64-unknown-linux/release/Run)
==27371==
==27371== LEAK SUMMARY:
==27371== definitely lost: 721,224 bytes in 10,006 blocks
==27371== indirectly lost: 1,852,457 bytes in 10,189 blocks
==27371== possibly lost: 85,616 bytes in 16 blocks
==27371== still reachable: 3,871,487 bytes in 2,247 blocks
==27371== suppressed: 0 bytes in 0 blocks
==27371== Reachable blocks (those to which a pointer was found) are not shown.
==27371== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==27371==
==27371== For counts of detected and suppressed errors, rerun with: -v
==27371== Use --track-origins=yes to see where uninitialised values come from
==27371== ERROR SUMMARY: 1012 errors from 46 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment