This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to generate a useful kdenlive backtrace on MacOS

Tags: None
(comma "," separated)
jorgy
Registered Member
Posts
3
Karma
0
OS
I had posted ~5 weeks ago regarding a crashing problem on MacOS and asking how/where to submit crash reports. I did not get a response.

Now, I've updated to 22.08 and am still getting regular crashes, and one I can reproduce at will. I also posted 2 days ago on the /r/kdenlive an didn't get a response.

I am not a developer, but I am quite linux and unix savvy and am more than willing to help get to the bottom of these issues and make kdenlive better! I had used kino and cinelerra for a long time, then kdenlive, but since I have had macos for my work laptop I had been using iMovie. However, I'm needing to do some rendering on something more powerful, and that has led me back to kdenlive. I'm very impressed with how it has improved in the interim, with so many new goodies. However, I'm a bit discouraged that 1) it crashes as much as it does (not too much of an issue since we have autosave) and 2) my offers to help track down bugs has gone unanswered. I want to submit bug reports with as much information as possible to help the devs.

Here is my post from reddit:



I am running kdenlive on a fully patched (Monterey 12.5.1) x86 macbook pro, and have a situation where I can reproduce a crash both on 22.04.3 and the current 22.08. I have looked at the kdenlive.org page https://kdenlive.org/en/bug-reports/ but it doesn't have a section for MacOS. I have saved off the text from the OS crash report dialog, but I suspect that this isn't enough for the developers. My other technique of using lldb doesn't seem to want to work for kdenlive:

Code: Select all
$ lldb kdenlive
(lldb) target create "kdenlive"
Current executable set to '/Applications/kdenlive.app/Contents/MacOS/kdenlive' (x86_64).
(lldb) r
error: process exited with status -1 (attach failed (Not allowed to attach to process.  Look in the console messages (Console.app), near the debugserver entries, when the attach failed.  The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.))
(lldb)


I did a quick google and it looks like there is a "sandbox restriction" to attaching to the kdenlive binary with lldb.

What is the best way to proceed to be able to help the devs get a good backtrace from MacOS?
Thanks!
Merlimau
Registered Member
Posts
986
Karma
8
This looks like a permission issue to run Kdenlive. Do you have followed these steps https://docs.kdenlive.org/en/getting_st ... e-on-macos to “install” Kdenlive on Mac?
jorgy
Registered Member
Posts
3
Karma
0
OS
Merlimau wrote:This looks like a permission issue to run Kdenlive. Do you have followed these steps https://docs.kdenlive.org/en/getting_st ... e-on-macos to “install” Kdenlive on Mac?


Hello, thanks for replying.

I did follow those steps to get kdenlive running in the first place, and it is able to run as far as the OS is concerned. The permission issue is related to trying to run kdenlive in a debugger so I can get a good stack trace when it crashes.

Thanks anyway!


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]