Bug 1227185 - docker-compose actual version is broken
Summary: docker-compose actual version is broken
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Containers (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Containers Team
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 16:53 UTC by Walddys Emmanuel Dorrejo Céspedes
Modified: 2024-06-28 16:53 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walddys Emmanuel Dorrejo Céspedes 2024-06-28 16:53:43 UTC
When execute `podman compose` or `docker-compose` which is the binary that `podman compose` execute after being called, I got a infinite number of the line:
```
Tools:~ # podman compose 
Run compose workloads via an external provider such as docker-compose or podman-compose

Description:
This command is a thin wrapper around an external compose provider such as docker-compose or podman-compose.  This means that podman compose is executing another tool that implements the compose functionality but sets up the environment in a way to let the compose provider communicate transparently with the local Podman socket.  The specified options as well the command and argument are passed directly to the compose provider.

The default compose providers are docker-compose and podman-compose.  If installed, docker-compose takes precedence since it is the original implementation of the Compose specification and is widely used on the supported platforms (i.e., Linux, Mac OS, Windows).

If you want to change the default behavior or have a custom installation path for your provider of choice, please change the compose_provider field in containers.conf(5).  You may also set PODMAN_COMPOSE_PROVIDER environment variable.

Usage:
podman compose [options]

Examples:
podman compose -f nginx.yaml up --detach
podman --log-level=debug compose -f many-images.yaml pull

>>>> Executing external compose provider "/usr/bin/docker-compose". Please refer to the documentation for details. <<<<

```

Until it crash:
```
>>>> Executing external compose provider "/usr/bin/docker-compose". Please refer to the documentation for details. <<<<

runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x7fac34aa94ac m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7fac34aa94ac
stack: frame={sp:0x7ffc0191c880, fp:0x0} stack=[0x7ffc0111dc38,0x7ffc0191cc70)
0x00007ffc0191c780:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c790:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7a0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7b0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7c0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7d0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7e0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7f0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c800:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c810:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c820:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c830:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c840:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c850:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c860:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c870:  0x0000000000000000  0x00007fac34aa949e 
0x00007ffc0191c880: <0x0000000000000000  0x91f8364092831200 
0x00007ffc0191c890:  0x0000000000000006  0x00007fac34c44740 
0x00007ffc0191c8a0:  0x0000560fd0fd16d0  0x0000000000000178 
0x00007ffc0191c8b0:  0x000000c0000021a0  0x00007fac34a578c2 
0x00007ffc0191c8c0:  0x00007fac34c07210  0x00007fac34a3f64f 
0x00007ffc0191c8d0:  0x0000000000000020  0x0000000000000000 
0x00007ffc0191c8e0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c8f0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c900:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c910:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c920:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c930:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c940:  0x00007fac34c004e0  0x000000000000000a 
0x00007ffc0191c950:  0x00007fac34c44740  0x00007fac34a9a28a 
0x00007ffc0191c960:  0x0000560fd0565ad0  0x91f8364092831200 
0x00007ffc0191c970:  0x00007fac34c006a0  0x00007fac34c006a0 
runtime: unknown pc 0x7fac34aa94ac
stack: frame={sp:0x7ffc0191c880, fp:0x0} stack=[0x7ffc0111dc38,0x7ffc0191cc70)
0x00007ffc0191c780:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c790:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7a0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7b0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7c0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7d0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7e0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c7f0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c800:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c810:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c820:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c830:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c840:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c850:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c860:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c870:  0x0000000000000000  0x00007fac34aa949e 
0x00007ffc0191c880: <0x0000000000000000  0x91f8364092831200 
0x00007ffc0191c890:  0x0000000000000006  0x00007fac34c44740 
0x00007ffc0191c8a0:  0x0000560fd0fd16d0  0x0000000000000178 
0x00007ffc0191c8b0:  0x000000c0000021a0  0x00007fac34a578c2 
0x00007ffc0191c8c0:  0x00007fac34c07210  0x00007fac34a3f64f 
0x00007ffc0191c8d0:  0x0000000000000020  0x0000000000000000 
0x00007ffc0191c8e0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c8f0:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c900:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c910:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c920:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c930:  0x0000000000000000  0x0000000000000000 
0x00007ffc0191c940:  0x00007fac34c004e0  0x000000000000000a 
0x00007ffc0191c950:  0x00007fac34c44740  0x00007fac34a9a28a 
0x00007ffc0191c960:  0x0000560fd0565ad0  0x91f8364092831200 
0x00007ffc0191c970:  0x00007fac34c006a0  0x00007fac34c006a0 

goroutine 1 [running, locked to thread]:
runtime.systemstack_switch()
runtime/asm_amd64.s:436 fp=0xc0000466e0 sp=0xc0000466d8 pc=0x560fd0448b20
runtime.newm1(0x0?)
runtime/proc.go:2150 +0x8c fp=0xc000046720 sp=0xc0000466e0 pc=0x560fd042456c
runtime.newm(0x560fd0403801?, 0x0, 0x560fd05b6fc0?)
runtime/proc.go:2130 +0x12c fp=0xc000046750 sp=0xc000046720 pc=0x560fd042446c
runtime.startTemplateThread()
runtime/proc.go:2175 +0x90 fp=0xc000046780 sp=0xc000046750 pc=0x560fd0424690
runtime.main()
runtime/proc.go:229 +0x1ba fp=0xc0000467e0 sp=0xc000046780 pc=0x560fd042069a
runtime.goexit()
runtime/asm_amd64.s:1571 +0x1 fp=0xc0000467e8 sp=0xc0000467e0 pc=0x560fd044adc1

rax    0x0
rbx    0x806
rcx    0x7fac34aa94ac
rdx    0x6
rdi    0x806
rsi    0x806
rbp    0x7fac34c44740
rsp    0x7ffc0191c880
r8     0x0
r9     0x1
r10    0x8
r11    0x246
r12    0x560fd0fd16d0
r13    0x6
r14    0xc0000021a0
r15    0x7fac0deb721a
rip    0x7fac34aa94ac
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
Error: executing /usr/bin/docker-compose --help: exit status 2
Error: executing /usr/bin/docker-compose --help: exit status 2
Error: executing /usr/bin/docker-compose --help: exit status 2
```

Testing a version major that the actual one in the repository "2.22.0-bp156.1.11" solve the issue.

Looks like the actual binary is broken.

Please release the latest binary.