Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931630 - media-video/motion Intermittent segfault when quitting
Summary: media-video/motion Intermittent segfault when quitting
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Johannes Willem (Hans) Fernhout
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-09 13:17 UTC by Paul Osmialowski
Modified: 2024-05-10 19:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output, greater than copy-paste limit (info.txt,17.42 KB, text/plain)
2024-05-09 13:18 UTC, Paul Osmialowski
Details

Note You need to log in before you can comment on or make changes to this bug.
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.