# Problem with gitk

3 messages from 2025-07-09 to 2025-07-10. Participants: Nicolas Ratier, Johannes Sixt, Junio C Hamano.
Thread: https://gitlist.dev/t/63769

## Nicolas Ratier, 2025-07-09 10:23

Subject: Problem with gitk
Message-ID: <d3ab5bcc-6f71-455c-933a-a63a9b39e8b9@femto-st.fr>
URL: https://gitlist.dev/e/d3ab5bcc-6f71-455c-933a-a63a9b39e8b9%40femto-st.fr

```
Hello,

I have this error with gitk :

$ gitk

and inside the window of gitk :

Erreur à l'exécution de git log :

wrong # args: should be

"safe_open_command_redirect cmd redir"


+ My git is clean (I tried git status, qgit etc ...)

+ I reinstall gitk without success

+ google don't have any information about the problem

+ and chatgpt doesn't give useful help ...

Thanks for help, I don't know what to do...

Nicolas





```

## Johannes Sixt, 2025-07-09 15:08

Subject: Re: Problem with gitk
Message-ID: <a6c5d181-5cdb-4070-96a6-cf88c3a5c838@kdbg.org>
URL: https://gitlist.dev/e/a6c5d181-5cdb-4070-96a6-cf88c3a5c838%40kdbg.org
In-Reply-To: <d3ab5bcc-6f71-455c-933a-a63a9b39e8b9@femto-st.fr>

```
Am 09.07.25 um 12:23 schrieb Nicolas Ratier:
> I have this error with gitk :
> 
> $ gitk
> 
> and inside the window of gitk :
> 
> Erreur à l'exécution de git log :
> 
> wrong # args: should be
> 
> "safe_open_command_redirect cmd redir"

You are suffering from an incorrect backport of the recent security
fixes to a Git version before 2.43.7. Tell your maintainer to look into
this. I can help if necessary.

For example, see here:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/2116253

-- Hannes


```

## Junio C Hamano, 2025-07-10 15:59

Subject: Re: Problem with gitk
Message-ID: <xmqq1pqo82am.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqq1pqo82am.fsf%40gitster.g
In-Reply-To: <a6c5d181-5cdb-4070-96a6-cf88c3a5c838@kdbg.org>

```
Johannes Sixt <j6t@kdbg.org> writes:

> Am 09.07.25 um 12:23 schrieb Nicolas Ratier:
>> I have this error with gitk :
>> 
>> $ gitk
>> 
>> and inside the window of gitk :
>> 
>> Erreur à l'exécution de git log :
>> 
>> wrong # args: should be
>> 
>> "safe_open_command_redirect cmd redir"
>
> You are suffering from an incorrect backport of the recent security
> fixes to a Git version before 2.43.7. Tell your maintainer to look into
> this. I can help if necessary.
>
> For example, see here:
> https://bugs.launchpad.net/ubuntu/+source/git/+bug/2116253
>
> -- Hannes

Whew.

I first misread the above report and response and was afraid that we
started from an in-between version and botched our backport down to
older maintenance tracks, but after double checking that what we
shipped (Git 2.43.7 and upwards) recently does not have this issue,
I realized that there are distro packagers that backport even further
into the past, where some mistakes happened.

Thanks for a quick response.




```
