-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV on macOS during typing a search string in Navigator window #3139
Comments
A new crash with a slightly different callstack:
|
Now I was able to reproduce the issue during lldb attached and could even create a core-dump file for further analysis:
The content of register rbx (=register
|
I was able to compile a Debug version and reproduce the bug. Here the location of the crash:
called from tf_eval_int()
content of ctx:
The name of the array to be sorted is "Medialib Playlist". TODO: check in
|
I have tried to reproduce this too over the last few days, and it didn't happen for me from using medialibrary search. The main problem with this kind of bugs is they are not easy to fix even when you have a callstack pointing to the crash. Instead -- it requires finding the place which either over-released some object, or missed a retain, and that happens in some other time and place than the crash location. |
I will keep collecting data here and keep track of it. It's not a high priority issue. |
@nospam2000 can you check if this issue still occurs? I recently fixed a bug caused by search.. maybe related |
I fetched the latest source version (commit 52935d9 (master, Date: Fri Nov 29 21:40:57 2024 +0100) and built it using this command and started it from shell and attached XCode then for debugging:
After some minutes I was able to reproduce the issue. the part 0x58, 0x53 of the pointer =="XS" which could be part of a string. |
Steps to reproduce the problem
View of Navigator window is set to "Folders".
Music is playing a playlist.
Type a search string in the "Search" field of the Navigator window.
What's going on? Describe the problem in as much detail as possible.
Sometimes this causes a SIGSEGV. It happened to me around 5 times in the last week. Not so easy to reproduce.
I did not press enter, it happened during typing.
Here the last part of the call stack, full details see comments below
According to source code and register dump the pointer
it
is invalid when callingpl_meta_for_key
.Information about the software:
Deadbeef version: devel (9d13e9d)
OS: macOS Sonoma 14.4.1
MacOS Crash Reporter output:
The text was updated successfully, but these errors were encountered: