What causes the hard crash here?

Got a crash log from a customer. Does anyone have an idea what is crashing here:

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

Application Specific Information:
Performing @selector(menuItemAction:) from sender NSMenuItem 0xb6370c0
abort() called
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x9f8b749a __pthread_kill + 10
1 libsystem_pthread.dylib 0x9f99aec3 pthread_kill + 90
2 libsystem_c.dylib 0x9f817a44 abort + 141
3 libc++abi.dylib 0x9e67fc17 abort_message + 135
4 libc++abi.dylib 0x9e6a0391 default_terminate_handler() + 244
5 libc++abi.dylib 0x9e69d571 std::__terminate(void (*)()) + 14
6 libc++abi.dylib 0x9e69cf9b __cxa_throw + 122
7 libc++abi.dylib 0x9e69d682 operator new(unsigned long) + 98
8 com.xojo.XojoFramework 0x024d4150 0x2350000 + 1589584
9 com.mothsoftware.mailarchiverx 0x0171fef8 ValentinaDataSource.SelectedRows%A1i4%o + 851
10 com.mothsoftware.mailarchiverx 0x01723360 ValentinaDataSource.GetRowTagInformation%i4%osi4 + 239
11 com.mothsoftware.mailarchiverx 0x01723c48 ValentinaDataSource.LoadDependentDataForRow%%oi4 + 351
12 com.mothsoftware.mailarchiverx 0x0172088a ValentinaDataSource.=Selected%%oi4b + 1150

Is this a memory problem? I’ve had the customer repeat the action he did. The crash is reproducible but the app uses <1 GB when the app crashes.

Xojo 2016r4, Mac OS 10.12.3

7 libc++abi.dylib 0x9e69d682 operator new(unsigned long) + 98

likely out of memory

Sugar. Thanks for confirming. Still strange. The customer selected less than 10k records in the table. I just tried with more than 36k and everything worked fine.

If memory adddress space for the app is full and fragmented, getting a continuous block can be difficult.

Please sign on feedback reports asking Xojo to catch this exception and raise OutOfMemoryExceptoon.

@Christian: done.