Git development
 help / color / mirror / Atom feed
* Fwd: Bug: SEGV in git when applying the patches
       [not found] ` <CANmdXCFFfRJiCMV5U7Ap8wd=ek7Rs92TuaXDk8XNqQ_U7OxSKw@mail.gmail.com>
@ 2013-08-05 11:01   ` Rafal W.
  2013-08-05 11:09     ` John Keeping
  0 siblings, 1 reply; 3+ messages in thread
From: Rafal W. @ 2013-08-05 11:01 UTC (permalink / raw)
  To: git@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

Hi,
When applying patch via git, it is doing sometimes SEGV.
Please find more details in the attached crash logs.
---
kenorb

[-- Attachment #2: git_2013-07-08-150841_kenorbs-MacBook-Air.crash --]
[-- Type: application/octet-stream, Size: 9411 bytes --]

Process:         git [12130]
Path:            /usr/local/Cellar/git/1.8.2.1/bin/git
Identifier:      git
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [12129]
User ID:         501

Date/Time:       2013-07-08 15:08:36.476 +0100
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10
Sleep/Wake UUID: 49B43E8F-57F2-4852-8789-0C8D062D50CD

Interval Since Last Report:          5 sec
Crashes Since Last Report:           1
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      37ADCA7F-7916-DF49-3AE5-7E94011F1122

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 000000010d99f000-000000010dad4000 [ 1236K] r-x/rwx SM=COW  /usr/local/Cellar/git/1.8.2.1/bin/git

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib             	0x00007fff92a556b0 strlen + 16
1   libsystem_c.dylib             	0x00007fff92aa3067 strdup + 21
2   git                           	0x000000010da7eaeb xstrdup + 15
3   git                           	0x000000010d9a3a33 apply_patch + 3814
4   git                           	0x000000010d9a26ae cmd_apply + 3375
5   git                           	0x000000010d9a0771 handle_internal_command + 339
6   git                           	0x000000010d9a0235 main + 233
7   libdyld.dylib                 	0x00007fff97f157e1 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000000ffffffff  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x00007fff5225f110  rsp: 0x00007fff5225f0e8
   r8: 0x00007f844b80a200   r9: 0x00007f844b800000  r10: 0x0000000000000000  r11: 0x000000010db33560
  r12: 0x0000000000000000  r13: 0x00007f844b807004  r14: 0x0000000000000000  r15: 0x00007f844b403e90
  rip: 0x00007fff92a556b0  rfl: 0x0000000000010286  cr2: 0x0000000000000000
Logical CPU: 1

Binary Images:
       0x10d99f000 -        0x10dad3fff +git (0) <2C10ED5A-06AF-32B5-8F78-137A17D0BB80> /usr/local/bin/git
    0x7fff6d59f000 -     0x7fff6d5d393f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
    0x7fff8e16d000 -     0x7fff8e182ff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff90763000 -     0x7fff90771ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff9080a000 -     0x7fff90825ff7  libsystem_kernel.dylib (2050.24.15) <A9F97289-7985-31D6-AF89-151830684461> /usr/lib/system/libsystem_kernel.dylib
    0x7fff90abf000 -     0x7fff90acafff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff90ba6000 -     0x7fff90baeff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff9165a000 -     0x7fff91660fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff918e7000 -     0x7fff918f9ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff91cdb000 -     0x7fff91ce0fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff91f48000 -     0x7fff9203dfff  libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
    0x7fff921bb000 -     0x7fff921ddff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
    0x7fff92911000 -     0x7fff9291ffff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
    0x7fff9295b000 -     0x7fff9295cff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    0x7fff92a53000 -     0x7fff92b1fff7  libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
    0x7fff92b67000 -     0x7fff92b6ffff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff93093000 -     0x7fff93094ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff93afe000 -     0x7fff93b00fff  com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff93b01000 -     0x7fff93c1992f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff93c1a000 -     0x7fff93c66ff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
    0x7fff93c8e000 -     0x7fff93cb3ff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff94257000 -     0x7fff9425cfff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff9427e000 -     0x7fff94380fff  libcrypto.0.9.8.dylib (47.1) <72AA650B-0453-3BB4-BA03-824627BB199C> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff9438a000 -     0x7fff9438bfff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff946af000 -     0x7fff946b5ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff94a75000 -     0x7fff94a77fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
    0x7fff9511a000 -     0x7fff95150fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff95151000 -     0x7fff95152ff7  libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
    0x7fff9677c000 -     0x7fff9677cfff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff97f13000 -     0x7fff97f16ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff98261000 -     0x7fff982c9ff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff99416000 -     0x7fff99465ff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff99491000 -     0x7fff994c8ff7  libssl.0.9.8.dylib (47.1) <B7C438BB-79FF-37B3-B8FB-253E5135CBB4> /usr/lib/libssl.0.9.8.dylib
    0x7fff996d1000 -     0x7fff996d3ff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff99ba0000 -     0x7fff99bceff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff99beb000 -     0x7fff99becff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff99bf7000 -     0x7fff99bfefff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff9a226000 -     0x7fff9a227fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 4186
    thread_create: 2
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=60.2M resident=11.9M(20%) swapped_out_or_unallocated=48.3M(80%)
Writable regions: Total=17.6M written=192K(1%) resident=248K(1%) swapped_out=0K(0%) unallocated=17.4M(99%)
 
REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             9396K
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
__DATA                             1012K
__LINKEDIT                         52.2M
__TEXT                             8140K
shared memory                        12K
===========                      =======
TOTAL                             134.4M

System Profile:
Model: MacBookAir3,2, BootROM MBA31.0061.B07, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.66f61
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D5946382020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D5946382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD TS256C, 251 GB
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821b, 0x04530000 / 4
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0240, 0x04300000 / 2

[-- Attachment #3: git_2013-07-08-173513_kenorbs-MacBook-Air.crash --]
[-- Type: application/octet-stream, Size: 9357 bytes --]

Process:         git [6996]
Path:            /usr/local/Cellar/git/1.8.2.1/bin/git
Identifier:      git
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [6995]
User ID:         501

Date/Time:       2013-07-08 17:35:09.861 +0100
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          8703 sec
Crashes Since Last Report:           1
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      37ADCA7F-7916-DF49-3AE5-7E94011F1122

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 000000010e6ee000-000000010e823000 [ 1236K] r-x/rwx SM=COW  /usr/local/Cellar/git/1.8.2.1/bin/git

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib             	0x00007fff86c6d6b0 strlen + 16
1   libsystem_c.dylib             	0x00007fff86cbb067 strdup + 21
2   git                           	0x000000010e7cdaeb xstrdup + 15
3   git                           	0x000000010e6f2a33 apply_patch + 3814
4   git                           	0x000000010e6f16ae cmd_apply + 3375
5   git                           	0x000000010e6ef771 handle_internal_command + 339
6   git                           	0x000000010e6ef235 main + 233
7   libdyld.dylib                 	0x00007fff8d2877e1 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000000ffffffff  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x00007fff51510110  rsp: 0x00007fff515100e8
   r8: 0x00007ff8b380a200   r9: 0x00007ff8b3800000  r10: 0x0000000000000000  r11: 0x000000010e882560
  r12: 0x0000000000000000  r13: 0x00007ff8b3807004  r14: 0x0000000000000000  r15: 0x00007ff8b3403f90
  rip: 0x00007fff86c6d6b0  rfl: 0x0000000000010286  cr2: 0x0000000000000000
Logical CPU: 1

Binary Images:
       0x10e6ee000 -        0x10e822fff +git (0) <2C10ED5A-06AF-32B5-8F78-137A17D0BB80> /usr/local/bin/git
    0x7fff6e2ee000 -     0x7fff6e32293f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
    0x7fff86c6b000 -     0x7fff86d37ff7  libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
    0x7fff87343000 -     0x7fff8734bfff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff87c27000 -     0x7fff87c28ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff881cb000 -     0x7fff881ccfff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8821e000 -     0x7fff88254fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff88479000 -     0x7fff8849eff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff8870a000 -     0x7fff8870bff7  libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
    0x7fff88c33000 -     0x7fff88c3bff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff88d31000 -     0x7fff88d43ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff8a8ac000 -     0x7fff8a8aefff  com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8a8af000 -     0x7fff8a8c4ff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff8ae07000 -     0x7fff8ae35ff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff8c5a4000 -     0x7fff8c5affff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff8d285000 -     0x7fff8d288ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff8d579000 -     0x7fff8d579fff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff8d592000 -     0x7fff8d594fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
    0x7fff8d5db000 -     0x7fff8d62aff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff8d770000 -     0x7fff8d775fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff8d80f000 -     0x7fff8d831ff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
    0x7fff8d8e2000 -     0x7fff8d8e8ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff8e6e0000 -     0x7fff8e6e1ff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    0x7fff8e7b0000 -     0x7fff8e8b2fff  libcrypto.0.9.8.dylib (47.1) <72AA650B-0453-3BB4-BA03-824627BB199C> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff8f3ea000 -     0x7fff8f3f0fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff8f513000 -     0x7fff8f515ff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8fd78000 -     0x7fff8fd79fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8fd7a000 -     0x7fff8fd88ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff8ff96000 -     0x7fff8ff9dfff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8ff9e000 -     0x7fff8ffb9ff7  libsystem_kernel.dylib (2050.24.15) <A9F97289-7985-31D6-AF89-151830684461> /usr/lib/system/libsystem_kernel.dylib
    0x7fff902bb000 -     0x7fff90307ff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
    0x7fff90b87000 -     0x7fff90b95fff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
    0x7fff90e9a000 -     0x7fff90f8ffff  libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
    0x7fff90f90000 -     0x7fff90fc7ff7  libssl.0.9.8.dylib (47.1) <B7C438BB-79FF-37B3-B8FB-253E5135CBB4> /usr/lib/libssl.0.9.8.dylib
    0x7fff91200000 -     0x7fff91268ff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff91774000 -     0x7fff91775ff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff93524000 -     0x7fff9363c92f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff9375e000 -     0x7fff93763fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 877
    thread_create: 2
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=60.3M resident=18.1M(30%) swapped_out_or_unallocated=42.2M(70%)
Writable regions: Total=17.6M written=192K(1%) resident=248K(1%) swapped_out=0K(0%) unallocated=17.4M(99%)
 
REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             9396K
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
__DATA                             1060K
__LINKEDIT                         52.3M
__TEXT                             8140K
shared memory                        12K
===========                      =======
TOTAL                             134.5M

System Profile:
Model: MacBookAir3,2, BootROM MBA31.0061.B07, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.66f61
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D5946382020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D5946382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD TS256C, 251 GB
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821b, 0x04530000 / 4
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0240, 0x04300000 / 2

[-- Attachment #4: git_2013-07-08-201624_kenorbs-MacBook-Air.crash --]
[-- Type: application/octet-stream, Size: 9373 bytes --]

Process:         git [15129]
Path:            /usr/local/Cellar/git/1.8.2.1/libexec/git-core/git
Identifier:      git
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [15128]
User ID:         501

Date/Time:       2013-07-08 20:16:19.878 +0100
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          9672 sec
Crashes Since Last Report:           1
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      37ADCA7F-7916-DF49-3AE5-7E94011F1122

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 000000010b911000-000000010ba46000 [ 1236K] r-x/rwx SM=COW  /usr/local/Cellar/git/1.8.2.1/bin/git

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib             	0x00007fff86c6d6b0 strlen + 16
1   libsystem_c.dylib             	0x00007fff86cbb067 strdup + 21
2   git                           	0x000000010b9f0aeb xstrdup + 15
3   git                           	0x000000010b915a33 apply_patch + 3814
4   git                           	0x000000010b9146ae cmd_apply + 3375
5   git                           	0x000000010b912771 handle_internal_command + 339
6   git                           	0x000000010b912235 main + 233
7   libdyld.dylib                 	0x00007fff8d2877e1 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000000ffffffff  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x00007fff542ed110  rsp: 0x00007fff542ed0e8
   r8: 0x00007fa99b80a200   r9: 0x00007fa99b800000  r10: 0x0000000000000000  r11: 0x000000010baa5560
  r12: 0x0000000000000000  r13: 0x00007fa99b807004  r14: 0x0000000000000000  r15: 0x00007fa99b403f90
  rip: 0x00007fff86c6d6b0  rfl: 0x0000000000010286  cr2: 0x0000000000000000
Logical CPU: 1

Binary Images:
       0x10b911000 -        0x10ba45fff +git (0) <2C10ED5A-06AF-32B5-8F78-137A17D0BB80> /usr/local/bin/git
    0x7fff6b511000 -     0x7fff6b54593f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
    0x7fff86c6b000 -     0x7fff86d37ff7  libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
    0x7fff87343000 -     0x7fff8734bfff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff87c27000 -     0x7fff87c28ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff881cb000 -     0x7fff881ccfff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8821e000 -     0x7fff88254fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff88479000 -     0x7fff8849eff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff8870a000 -     0x7fff8870bff7  libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
    0x7fff88c33000 -     0x7fff88c3bff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff88d31000 -     0x7fff88d43ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff8a8ac000 -     0x7fff8a8aefff  com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8a8af000 -     0x7fff8a8c4ff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff8ae07000 -     0x7fff8ae35ff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff8c5a4000 -     0x7fff8c5affff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff8d285000 -     0x7fff8d288ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff8d579000 -     0x7fff8d579fff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff8d592000 -     0x7fff8d594fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
    0x7fff8d5db000 -     0x7fff8d62aff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff8d770000 -     0x7fff8d775fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff8d80f000 -     0x7fff8d831ff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
    0x7fff8d8e2000 -     0x7fff8d8e8ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff8e6e0000 -     0x7fff8e6e1ff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    0x7fff8e7b0000 -     0x7fff8e8b2fff  libcrypto.0.9.8.dylib (47.1) <72AA650B-0453-3BB4-BA03-824627BB199C> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff8f3ea000 -     0x7fff8f3f0fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff8f513000 -     0x7fff8f515ff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8fd78000 -     0x7fff8fd79fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8fd7a000 -     0x7fff8fd88ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff8ff96000 -     0x7fff8ff9dfff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8ff9e000 -     0x7fff8ffb9ff7  libsystem_kernel.dylib (2050.24.15) <A9F97289-7985-31D6-AF89-151830684461> /usr/lib/system/libsystem_kernel.dylib
    0x7fff902bb000 -     0x7fff90307ff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
    0x7fff90b87000 -     0x7fff90b95fff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
    0x7fff90e9a000 -     0x7fff90f8ffff  libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
    0x7fff90f90000 -     0x7fff90fc7ff7  libssl.0.9.8.dylib (47.1) <B7C438BB-79FF-37B3-B8FB-253E5135CBB4> /usr/lib/libssl.0.9.8.dylib
    0x7fff91200000 -     0x7fff91268ff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff91774000 -     0x7fff91775ff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff93524000 -     0x7fff9363c92f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff9375e000 -     0x7fff93763fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1105
    thread_create: 2
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=60.3M resident=18.0M(30%) swapped_out_or_unallocated=42.3M(70%)
Writable regions: Total=17.6M written=192K(1%) resident=248K(1%) swapped_out=0K(0%) unallocated=17.4M(99%)
 
REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             9396K
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
__DATA                             1060K
__LINKEDIT                         52.3M
__TEXT                             8140K
shared memory                        12K
===========                      =======
TOTAL                             134.5M

System Profile:
Model: MacBookAir3,2, BootROM MBA31.0061.B07, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.66f61
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D5946382020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334348302D5946382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD TS256C, 251 GB
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821b, 0x04530000 / 4
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0240, 0x04300000 / 2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: Bug: SEGV in git when applying the patches
  2013-08-05 11:01   ` Fwd: Bug: SEGV in git when applying the patches Rafal W.
@ 2013-08-05 11:09     ` John Keeping
  2013-08-05 11:10       ` Rafal W.
  0 siblings, 1 reply; 3+ messages in thread
From: John Keeping @ 2013-08-05 11:09 UTC (permalink / raw)
  To: Rafal W.; +Cc: git@vger.kernel.org

On Mon, Aug 05, 2013 at 12:01:44PM +0100, Rafal W. wrote:
> Hi,
> When applying patch via git, it is doing sometimes SEGV.
> Please find more details in the attached crash logs.

This looks like the issue fixed by commit 212eb96 (apply: carefully
strdup a possibly-NULL name, 2013-06-21), which is in Git 1.8.3.3 and
later.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: Bug: SEGV in git when applying the patches
  2013-08-05 11:09     ` John Keeping
@ 2013-08-05 11:10       ` Rafal W.
  0 siblings, 0 replies; 3+ messages in thread
From: Rafal W. @ 2013-08-05 11:10 UTC (permalink / raw)
  To: John Keeping; +Cc: git@vger.kernel.org

Thank you, I'll test with the newer version.
---
kenorb


On 5 August 2013 12:09, John Keeping <john@keeping.me.uk> wrote:
> On Mon, Aug 05, 2013 at 12:01:44PM +0100, Rafal W. wrote:
>> Hi,
>> When applying patch via git, it is doing sometimes SEGV.
>> Please find more details in the attached crash logs.
>
> This looks like the issue fixed by commit 212eb96 (apply: carefully
> strdup a possibly-NULL name, 2013-06-21), which is in Git 1.8.3.3 and
> later.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-05 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CANmdXCGZKBwjUP2FgcgmBQ12Gv-ttv78y0ZDjfWRAmR69S2mNQ@mail.gmail.com>
     [not found] ` <CANmdXCFFfRJiCMV5U7Ap8wd=ek7Rs92TuaXDk8XNqQ_U7OxSKw@mail.gmail.com>
2013-08-05 11:01   ` Fwd: Bug: SEGV in git when applying the patches Rafal W.
2013-08-05 11:09     ` John Keeping
2013-08-05 11:10       ` Rafal W.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox