Overview
Artifact ID: | 5d5a385815419f33e70625ab77001b911da346cd |
---|---|
Ticket: | fd7ad198e58e6f63fabdb79c48d417ea925b7664
out of memory (can't allocate region) |
User & Date: | navratil 2011-10-08 14:22:33 |
Changes
- comment changed to:
I can't sync on Mac OS X Lion. sync crash with out of memory message. <pre> gdb --args /Users/navratil/src/fossil/fossil sync GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ...... done (gdb) break malloc_error_break Breakpoint 1 at 0x7fff8a1986c0 (gdb) run Starting program: /Users/navratil/src/fossil/fossil sync /Users/navratil/src/fossil/fossil: 5 scan steps for 1 rows in [SELECT 1 FROM main.sqlite_master WHERE name=='stashfile' AND sql GLOB '* isLink *'] /Users/navratil/src/fossil/fossil: 5 scan steps for 1 rows in [SELECT 1 FROM main.sqlite_master WHERE name=='stashfile'] /Users/navratil/src/fossil/fossil: 5 scan steps for 1 rows in [SELECT 1 FROM main.sqlite_master WHERE name=='undo' AND sql GLOB '* isLink *'] /Users/navratil/src/fossil/fossil: 5 scan steps for 1 rows in [SELECT 1 FROM main.sqlite_master WHERE name=='undo'] /Users/navratil/src/fossil/fossil: 5 scan steps for 1 rows in [SELECT 1 FROM main.sqlite_master WHERE name=='undo_vfile' AND sql GLOB '* islink *'] /Users/navratil/src/fossil/fossil: 5 scan steps for 1 rows in [SELECT 1 FROM main.sqlite_master WHERE name=='undo_vfile'] Server: http://navratil@192.168.1.249:8098 Bytes Cards Artifacts Deltas Sent: 648 12 0 0 Received: 898 11 0 1 Total network traffic: 576 bytes sent, 712 bytes received fossil(78531) malloc: *** mmap(size=18446744067267100672) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Breakpoint 1, 0x00007fff8a1986c0 in malloc_error_break () (gdb) bt #0 0x00007fff8a1986c0 in malloc_error_break () #1 0x00007fff8a15b477 in szone_error () #2 0x00007fff8a15d404 in allocate_pages () #3 0x00007fff8a15dba4 in large_malloc () #4 0x00007fff8a163dee in szone_malloc_should_clear () #5 0x00007fff8a164972 in szone_realloc () #6 0x00007fff8a198243 in malloc_zone_realloc () #7 0x00007fff8a199032 in realloc () #8 0x000000010002e59e in fossil_realloc (p=Cannot access memory at address 0x0 ) at main_.c:510 #9 0x000000010000f79e in content_get (rid=1606416160, pBlob=0x7fff5fbff720) at content_.c:275 #10 0x000000010005222f in verify_rid [inlined] () at /Users/navratil/src/fossil/bld/verify_.c:48 #11 0x000000010005222f in verify_at_commit () at verify_.c:79 #12 0x0000000100011262 in db_end_transaction (rollbackFlag=8) at db_.c:142 #13 0x000000010005afb1 in client_sync (pushFlag=1606417040, pullFlag=1606417040, cloneFlag=1606417040, privateFlag=1606417040, configRcvMask=1606417040, configSendMask=1606417040) at xfer_.c:1728 #14 0x0000000100044ad4 in sync_cmd () at sync_.c:233 #15 0x000000010002be07 in main (argc=1606417602, argv=0x7fff5fbffcc2) at main_.c:378 </pre>
- foundin changed to: "1.19 [080d27a6b2] 2011-10-05 08:00:00 UTC"
- private_contact changed to: "799fcce709e3f04aa96834caec7945b22b8b6a57"
- severity changed to: "Critical"
- status changed to: "Open"
- title changed to: "out of memory (can't allocate region)"
- type changed to: "Code_Defect"