Skip to content

Crash on exit: pointer being freed was not allocated #5

@ryandesign

Description

@ryandesign

svn-all-fast-export (the latest version of the code in this repository as of 2015-12-01), installed using the svn2git port I recently added to MacPorts, crashes after doing a conversion, on OS X 10.11 El Capitan, built using Qt 5.5.1, Subversion 1.9.3 and APR 1.5.2 also installed by MacPorts.

The terminal output ends with:

svn-all-fast-export(14669,0x7fff71d09000) malloc: *** error for object 0x7fc2ca80d400: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

The crash log OS X writes says:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
*** error for object 0x7fc2ca80d400: pointer being freed was not allocated


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff8a619002 __pthread_kill + 10
1   libsystem_pthread.dylib             0x00007fff856ff5c5 pthread_kill + 90
2   libsystem_c.dylib                   0x00007fff8efa46e7 abort + 129
3   libsystem_malloc.dylib              0x00007fff93ab0070 free + 425
4   libapr-1.0.dylib                    0x0000000109b071b3 apr_allocator_destroy + 27
5   libapr-1.0.dylib                    0x0000000109b07761 apr_pool_terminate + 36
6   libsystem_c.dylib                   0x00007fff8efa546b __cxa_finalize_ranges + 345
7   libsystem_c.dylib                   0x00007fff8efa576f exit + 55
8   svn-all-fast-export                 0x0000000109a4b89b start + 59

I don't know if this is relevant, but this Subversion mailing list post says crashes in apr_pool_terminate could be due to failing to clear an error with svn_error_clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions