Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79648 - [netbrake] `netbrake -b` crashes with a segmentation fault.

Attached to Project: Arch Linux
Opened by Oid Maps (dreieck) - Monday, 11 September 2023, 10:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Passing the `-b` command line option to `netbrake` results in a segmentation fault:

`netbrake -b -r 128k pacman -Su`:
```
Segmentation fault
```

`netbrake -b`:
```
Segmentation fault
```

`dmesg` shows for the latter command:

```[147034.319512] netbrake[16228]: segfault at 0 ip 00007f3e800ae9ba sp 00007ffe04f0cde8 error 4 in libc.so.6[7f3e80026000+15f000] likely on CPU 1 (core 1, socket 0)
[147034.319534] Code: f3 0f 1e fa 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 66 <f3> 0f 6f 20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83
```

`gdb netbrake`, `run -b`:
```
Starting program: /usr/bin/netbrake -b
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7cae9ba in ?? () from /usr/lib/libc.so.6
```
`(gdb) bt`:
```
#0 0x00007ffff7cae9ba in ?? () from /usr/lib/libc.so.6
#1 0x00007ffff7c43b82 in ?? () from /usr/lib/libc.so.6
#2 0x0000555555555223 in ?? ()
#3 0x00007ffff7c27cd0 in ?? () from /usr/lib/libc.so.6
#4 0x00007ffff7c27d8a in __libc_start_main () from /usr/lib/libc.so.6
#5 0x00005555555553fe in ?? ()
```

Additional info:
* package version(s): 0.2-7

Regards!
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:19 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/netbrake/issues/1
Comment by Toolybird (Toolybird) - Monday, 11 September 2023, 20:42 GMT
Thanks, but the backtrace is missing debugging info [1]. As it turns out, netbrake hasn't been compiled since debug pkgs became the default so its debuginfo is not available. Attached is a backtrace containing at least the glibc debug info.

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod
   gdb.txt (1.2 KiB)

Loading...