Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931630

Summary: media-video/motion Intermittent segfault when quitting
Product: Gentoo Linux Reporter: Paul Osmialowski <newchief>
Component: Current packagesAssignee: Johannes Willem (Hans) Fernhout <hfern>
Status: UNCONFIRMED ---    
Severity: normal CC: media-video, newchief, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output, greater than copy-paste limit

Description Paul Osmialowski 2024-05-09 13:17:37 UTC
This was quite hard to catch as it occurs very rarely (yet I'm starting to suspect it happens usually after recompilation). After quitting motion (with Ctrl+c), it sometimes, very rarely segfault. The trace looks like this:

```
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f38f94e1477 in __malloc_arena_thread_freeres () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f38dbfff6c0 (LWP 17165))]
(gdb) bt
#0  0x00007f38f94e1477 in __malloc_arena_thread_freeres () at /lib64/libc.so.6
#1  0x00007f38f94d107c in start_thread () at /lib64/libc.so.6
#2  0x00007f38f954cb18 in clone3 () at /lib64/libc.so.6
(gdb)
```


Reproducible: Always

Steps to Reproduce:
1. build and configure media-video/motion
2. run motion
3. quit motion with Ctrl+c
Actual Results:  
Sometimes it segfaults when quitting.


Expected Results:  
It should never segfault.
Comment 1 Paul Osmialowski 2024-05-09 13:18:53 UTC
Created attachment 892613 [details]
emerge --info output, greater than copy-paste limit
Comment 2 Paul Osmialowski 2024-05-09 13:19:17 UTC
See an attachment for the `emerge --info` output.