FS#79445 - [nvidia-utils] 535.98-1 SIGABRT in eglinfo

Attached to Project: Arch Linux
Opened by drewcifer (drew6017) - Tuesday, 22 August 2023, 20:16 GMT
Last edited by Toolybird (Toolybird) - Thursday, 24 August 2023, 06:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
`eglinfo` aborts while printing extensions in latest nvidia driver.
GPU: 1080 Ti (nvidia-dkms)
Kernel: 6.4.11-zen1-1

Steps to reproduce:
Run `eglinfo`

```
PID: 27766 (eglinfo)
UID: 1000 (--)
GID: 984 (users)
Signal: 6 (ABRT)
Timestamp: Tue 2023-08-22 14:53:32 CDT (40s ago)
Command Line: eglinfo
Executable: /usr/bin/eglinfo
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-9ed7a82b81ac4513832f1d39095621cd.scope
Unit: user@1000.service
User Unit: app-org.kde.konsole-9ed7a82b81ac4513832f1d39095621cd.scope
Slice: user-1000.slice
Owner UID: 1000 (--)
Boot ID: d49787e7e847449eb8530bd0114277ba
Machine ID: dc8d937fb9104e968dfc167c95917ce9
Hostname: --
Storage: /var/lib/systemd/coredump/core.eglinfo.1000.d49787e7e847449eb8530bd0114277ba.27766.1692734012000000.zst (present)
Size on Disk: 2.0M
Message: Process 27766 (eglinfo) of user 1000 dumped core.

Stack trace of thread 27766:
#0 0x00007f878088e83c n/a (libc.so.6 + 0x8e83c)
#1 0x00007f878083e668 raise (libc.so.6 + 0x3e668)
#2 0x00007f87808264b8 abort (libc.so.6 + 0x264b8)
#3 0x00007f8780827390 n/a (libc.so.6 + 0x27390)
#4 0x00007f87808987b7 n/a (libc.so.6 + 0x987b7)
#5 0x00007f878089930e n/a (libc.so.6 + 0x9930e)
#6 0x00007f8780899480 n/a (libc.so.6 + 0x99480)
#7 0x00007f878089ba38 n/a (libc.so.6 + 0x9ba38)
#8 0x00007f878089cdaa malloc (libc.so.6 + 0x9cdaa)
#9 0x00007f877e931dc5 n/a (libnvidia-eglcore.so.535.98 + 0x1531dc5)
#10 0x00007f877e92577d n/a (libnvidia-eglcore.so.535.98 + 0x152577d)
#11 0x00007f877e9264cc n/a (libnvidia-eglcore.so.535.98 + 0x15264cc)
#12 0x00007f877e9265ec n/a (libnvidia-eglcore.so.535.98 + 0x15265ec)
#13 0x00007f877e94052b n/a (libnvidia-eglcore.so.535.98 + 0x154052b)
#14 0x00007f877e9406b0 n/a (libnvidia-eglcore.so.535.98 + 0x15406b0)
#15 0x00007f8780442f72 n/a (libEGL_nvidia.so.0 + 0x42f72)
#16 0x00007f87804485a4 n/a (libEGL_nvidia.so.0 + 0x485a4)
#17 0x0000564a005c6823 n/a (eglinfo + 0x8823)
#18 0x0000564a005ca3a5 n/a (eglinfo + 0xc3a5)
#19 0x0000564a005c226e n/a (eglinfo + 0x426e)
#20 0x00007f8780827cd0 n/a (libc.so.6 + 0x27cd0)
#21 0x00007f8780827d8a __libc_start_main (libc.so.6 + 0x27d8a)
#22 0x0000564a005c26e5 n/a (eglinfo + 0x46e5)
ELF object binary architecture: AMD x86-64
```
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 24 August 2023, 06:42 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by loqs (loqs) - Tuesday, 22 August 2023, 20:45 GMT
Can you rule out it being an issue in malloc as provided by glibc by trying the following which requires the jemalloc package:
LD_PRELOAD=/usr/lib/libjemalloc.so eglinfo
If it is an issue in libnvidia-eglcore.so.535.98 it needs to go upstream to nvidia [1] which provides the user space binaries prebuilt.

[1] https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
Comment by drewcifer (drew6017) - Wednesday, 23 August 2023, 18:58 GMT
You were right. It was glibc's malloc.
Comment by Toolybird (Toolybird) - Wednesday, 23 August 2023, 19:17 GMT

Loading...