Weird interference problem apparently caused by Lazarus app lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Manlio · 2022-02-01 13:15 A MacOS Monterey user reports that when my Lazarus-created app is running, he is unable to launch Photoshop -- the icon bounces in the dock, but the program doesn't start. If he closes my program, then Photoshop launches normally. This only happen with Adobe Photoshop Elements 2021, no other program is affected in the same way. After my program is closed and Adobe Photoshop starts, an error system dump is generated, which I attach here. My app is eledit9 / net.eledit.eledit9.  My app is an ebook reader, and doesn't use any unusual libraries or systems resources. I tried analyzing the attached system dump, and what is listed under my app looks very similar to many other running apps. I couldn't find any smoking gun in there, but my user later confirmed, after more tests, that Photoshop invariably doesn't start whenever my app is running, and it invariably starts again after my app is closed. And again, no other app seems to be affected. Has anything like that ever happened to you? Does anyone have an idea of what could be causing this weird situation, and how to fix it? Thank you! ---------------------------------------------------------------------- marcov · 2022-02-01 13:30 Hard to say as it is Photoshop's problem rather than the Lazarus app. Since Photoshop is a well known app, I think the best would be to ask on a Photoshop forum about its possible copyright protection software (e.g. refusing to run when unknown/unsigned) apps are running. The only other possible thing I can image is if it opens network server sockets and somehow keeps a port occupied that PS wants to use. ---------------------------------------------------------------------- Manlio · 2022-02-01 13:52 Thanks for the good points. I'll try the Photoshop forums if no useful clues can be suggested from the error dump. I don't think it's a case of software protection, because the Photoshop error reports states "hang" as the problem. Also, my app doesn't keep open sockets, it only download files on request, using the synapse library. ---------------------------------------------------------------------- Zvoni · 2022-02-01 14:27 Are you accessing any dylib's that belong to Photoshop? Maybe you're blocking the dylib's (for whatever reason) ---------------------------------------------------------------------- marcov · 2022-02-01 14:31 Or maybe it is a focus thing (the lazarus gui app trying to get focus during photoshops startup). See if the problem persists if the app is minimized. ---------------------------------------------------------------------- engkin · 2022-02-01 15:57 Can't resist noticing: Elements eledit9 / net.eledit.eledit9 I would suggest giving this user two apps. One with the same name like yours but is a simple empty form. The other is your app with a different name. Just a guess.