Skip to content

[Bug]: Memory Exception #377

@souzadevinicius

Description

@souzadevinicius

What happened?

python3(61861,0x16ba5b000) malloc: *** error for object 0x49b400000: pointer being freed was not allocated
python3(61861,0x16ba5b000) malloc: *** set a breakpoint in malloc_error_break to debug

What did you expect to see?

No response

What version of fastdup were you runnning on?

2.45

What version of Python were you running on?

3.11.11

Operating System

macOS Tahoe Apple M4 Pro

Reproduction steps

import fastdup


def main():
    fd = fastdup.create(
        work_dir="fastdup_work_dir/",
        input_dir="./Pictures",
    )
    fd.run(run_mode=1)


if __name__ == "__main__":
    main()

Relevant log output

python3(61861,0x16ba5b000) malloc: *** error for object 0x49b400000: pointer being freed was not allocated
python3(61861,0x16ba5b000) malloc: *** set a breakpoint in malloc_error_break to debug
[61921:573795:20251109,153132.294307:WARNING process_memory_mac.cc:93] mach_vm_read(0x14ce14000, 0x8000): (os/kern) invalid address (1)
[61921:573795:20251109,153132.294855:WARNING process_memory_mac.cc:93] mach_vm_read(0x14cf40000, 0x8000): (os/kern) invalid address (1)
[61921:573795:20251109,153132.295271:WARNING process_memory_mac.cc:93] mach_vm_read(0x14d09c000, 0x8000): (os/kern) invalid address (1)
[61921:573795:20251109,153132.299924:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
[61921:573795:20251109,153132.299951:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libobjc.A.dylib
[61921:573795:20251109,153132.299965:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
[61921:573795:20251109,153132.299979:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/liboah.dylib
[61921:573795:20251109,153132.300009:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libc++abi.dylib
[61921:573795:20251109,153132.300103:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libRosetta.dylib
[61921:573795:20251109,153132.300143:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libc++.1.dylib
[61921:573795:20251109,153132.300165:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
[61921:573795:20251109,153132.300194:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
[61921:573795:20251109,153132.300222:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/Network.framework/Versions/A/Network
[61921:573795:20251109,153132.300238:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/Security.framework/Versions/A/Security
[61921:573795:20251109,153132.300252:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/LoggingSupport.framework/Versions/A/LoggingSupport
[61921:573795:20251109,153132.300269:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libquic.dylib
[61921:573795:20251109,153132.300284:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libsqlite3.dylib
[61921:573795:20251109,153132.300299:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libdispatch.dylib
[61921:573795:20251109,153132.300311:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libdyld.dylib
[61921:573795:20251109,153132.300323:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_asl.dylib
[61921:573795:20251109,153132.300337:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_c.dylib
[61921:573795:20251109,153132.300354:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_malloc.dylib
[61921:573795:20251109,153132.300366:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_notify.dylib
[61921:573795:20251109,153132.300377:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_secinit.dylib
[61921:573795:20251109,153132.300387:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_kernel.dylib
[61921:573795:20251109,153132.300398:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_platform.dylib
[61921:573795:20251109,153132.300409:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_pthread.dylib
[61921:573795:20251109,153132.300421:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libsystem_trace.dylib
[61921:573795:20251109,153132.300434:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/system/libxpc.dylib
[61921:573795:20251109,153132.300451:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
[61921:573795:20251109,153132.300470:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
[61921:573795:20251109,153132.300496:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
[61921:573795:20251109,153132.300532:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
[61921:573795:20251109,153132.300551:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/BaseBoard.framework/Versions/A/BaseBoard
[61921:573795:20251109,153132.300570:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
[61921:573795:20251109,153132.300583:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
[61921:573795:20251109,153132.300627:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/ExtensionFoundation.framework/Versions/A/ExtensionFoundation
[61921:573795:20251109,153132.300644:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/AppServerSupport.framework/Versions/A/AppServerSupport
[61921:573795:20251109,153132.300681:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/AudioToolboxCore.framework/Versions/A/AudioToolboxCore
[61921:573795:20251109,153132.300702:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/OSLog.framework/Versions/A/OSLog
[61921:573795:20251109,153132.300715:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libspindump.dylib
[61921:573795:20251109,153132.300729:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
[61921:573795:20251109,153132.300742:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler
[61921:573795:20251109,153132.300752:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
[61921:573795:20251109,153132.300860:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
[61921:573795:20251109,153132.300874:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
[61921:573795:20251109,153132.300892:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/IconFoundation.framework/Versions/A/IconFoundation
[61921:573795:20251109,153132.300906:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/RenderBox.framework/Versions/A/RenderBox
[61921:573795:20251109,153132.300935:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libTelephonyUtilDynamic.dylib
[61921:573795:20251109,153132.300956:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/libsandbox.1.dylib
[61921:573795:20251109,153132.300969:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/AVFCore.framework/Versions/A/AVFCore
[61921:573795:20251109,153132.300996:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/PrivateFrameworks/AttributeGraph.framework/Versions/A/AttributeGraph
[61921:573795:20251109,153132.301020:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
[61921:573795:20251109,153132.301068:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
[61921:573795:20251109,153132.301183:WARNING mach_o_image_annotations_reader.cc:85] unexpected crash info version 7 in /usr/lib/dyld

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions