public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed)
@ 2016-11-17  3:37 Gene Pavlovsky
  2016-11-17 13:30 ` Csaba Raduly
  2016-11-20 16:42 ` Gene Pavlovsky
  0 siblings, 2 replies; 4+ messages in thread
From: Gene Pavlovsky @ 2016-11-17  3:37 UTC (permalink / raw)
  To: cygwin

Hey everybody!

I'm using TortoiseGit with Cygwin git (Cygwin workarounds enabled in
advanced TortoiseGit settings). For the most part, everything works
correctly.
The only problem: in TortoiseGit log for any repository, right-click
any commit, pick "show changes as unified diff", there's an error
dialog:

```
Could not get unified diff.
   1 [main] git 2292 child_copy: cygheap read copy failed,
0x180302408..0x18030F230, done 0, windows pid 2292, Win32 error 6
411 [main] git 2292 C:\cygwin\bin\git.exe: *** fatal error - ccalloc
would have returned NULL
```

Actually I've had this several months ago, just never got around to
posting this to the list.

TortoiseGit 2.3.0.0
Cygwin 64-bit 2.876
Cygwin git 2.8.3-1
Windows 7 x64

Appreciate any help!
Thanks.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed)
  2016-11-17  3:37 TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed) Gene Pavlovsky
@ 2016-11-17 13:30 ` Csaba Raduly
  2016-11-17 14:00   ` Gene Pavlovsky
  2016-11-20 16:42 ` Gene Pavlovsky
  1 sibling, 1 reply; 4+ messages in thread
From: Csaba Raduly @ 2016-11-17 13:30 UTC (permalink / raw)
  To: cygwin list

Hi Gene,

On Thu, Nov 17, 2016 at 12:42 AM, Gene Pavlovsky wrote:
> Hey everybody!
>
> I'm using TortoiseGit with Cygwin git (Cygwin workarounds enabled in
> advanced TortoiseGit settings). For the most part, everything works
> correctly.

Although this is probably unrelated, I've had problems with
TortoiseSVN and Cygwin's svn (not Git), because Tortoise uses DOS line
endings (\r\n) whereas Cygwin programs use Unix line endings (\n).

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed)
  2016-11-17 13:30 ` Csaba Raduly
@ 2016-11-17 14:00   ` Gene Pavlovsky
  0 siblings, 0 replies; 4+ messages in thread
From: Gene Pavlovsky @ 2016-11-17 14:00 UTC (permalink / raw)
  To: cygwin

>> I'm using TortoiseGit with Cygwin git (Cygwin workarounds enabled in
>> advanced TortoiseGit settings). For the most part, everything works
>> correctly.
>
> Although this is probably unrelated, I've had problems with
> TortoiseSVN and Cygwin's svn (not Git), because Tortoise uses DOS line
> endings (\r\n) whereas Cygwin programs use Unix line endings (\n).

TortoiseGit doesn't seem to have line endings-related problems (in
general), but who knows, maybe they missed a spot...
I'll post this issue to TortoiseGit's bug tracker. I wonder if anybody
else is using TortoiseGit with Cygwin's git and "Show changes as
unified diff" in TortoiseGit's log work for them?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed)
  2016-11-17  3:37 TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed) Gene Pavlovsky
  2016-11-17 13:30 ` Csaba Raduly
@ 2016-11-20 16:42 ` Gene Pavlovsky
  1 sibling, 0 replies; 4+ messages in thread
From: Gene Pavlovsky @ 2016-11-20 16:42 UTC (permalink / raw)
  To: cygwin

On 17 November 2016 at 02:42, Gene Pavlovsky <gene.pavlovsky@gmail.com> wrote:
> Hey everybody!
>
> I'm using TortoiseGit with Cygwin git (Cygwin workarounds enabled in
> advanced TortoiseGit settings). For the most part, everything works
> correctly.
> The only problem: in TortoiseGit log for any repository, right-click
> any commit, pick "show changes as unified diff", there's an error
> dialog:
>
> ```
> Could not get unified diff.
>    1 [main] git 2292 child_copy: cygheap read copy failed,
> 0x180302408..0x18030F230, done 0, windows pid 2292, Win32 error 6
> 411 [main] git 2292 C:\cygwin\bin\git.exe: *** fatal error - ccalloc
> would have returned NULL
> ```
>
> Actually I've had this several months ago, just never got around to
> posting this to the list.

I've submitted an issue to the TortoiseGit issue tracker, the fix was
committed and it works now on my system.
https://gitlab.com/tortoisegit/tortoisegit/issues/2868
--Gene

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2016-11-20  2:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-17  3:37 TortoiseGit + Cygwin git: unified diff fails (cygheap read copy failed) Gene Pavlovsky
2016-11-17 13:30 ` Csaba Raduly
2016-11-17 14:00   ` Gene Pavlovsky
2016-11-20 16:42 ` Gene Pavlovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).