indigo-dc / oidc-agent

oidc-agent for managing OpenID Connect tokens on the command line
MIT License
115 stars 30 forks source link

oidc-agent crashes on start-up #600

Closed vrbanecd closed 2 months ago

vrbanecd commented 2 months ago

Observed oidc-agent crashing on startup.

dijana@oidc-machine:~$ oidc-agent -d
OIDC_SOCK=/tmp/oidc-62lsKv/oidc-agent.3569; export OIDC_SOCK;
OIDCD_PID=3984; export OIDCD_PID;
echo Agent pid $OIDCD_PID
Segmentation fault
dijana@oidc-machine:~$ 
dijana@oidc-machine:~$ dpkg -l oidc-agent
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-============================================================
ii  oidc-agent     5.2.1-1      amd64        Commandline tools for obtaining OpenID Connect Access tokens
dijana@oidc-machine:~$ 
dijana@oidc-machine:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:    22.04
Codename:   jammy
dijana@oidc-machine:~$ 

Attached is a zip file, containing a single file: the core dump generated with gdb. oidc-agent.core.zip

olifre commented 2 months ago

That might be fixed by #601 . Could you try the temporary workaround suggested in that PR to confirm?

vrbanecd commented 2 months ago

Yes, that works. Thanks!

olifre commented 2 months ago

Great, thanks for the confirmation! As soon as the new release 5.2.2 is out, it should also work without the file, i.e. in clean / initial setups without any tricks :wink: .