FROM : Daniel DeCovnick
DATE : Sun Dec 19 23:31:22 2004
It doesn't stay open long enough to attach to. In fact, it doesn't even
stay open long enough to get a PID. `sample' doesn't get it, even with
the -wait flag.
-Daniel DeCovnick
http://www.softyards.com
danhd123 AT mac DOT com
On Dec 19, 2004, at 10:53 AM, Douglas Davidson wrote:
>
> On Dec 18, 2004, at 6:10 PM, Daniel DeCovnick wrote:
>
>
>> I have a couple of applications I've written that provide services.
>> However, I've recently found that one of them no longer works. It
>> worked when I wrote it and it worked on systems up through 10.3.5,
>> but not on 10.3.6 or 10.3.7. Strangely, the other app I've written
>> works just fine. They both register services at -awakeFromNib (I'm
>> not sure if I should do it sooner, but it seems to work fine), and
>> the service methods are almost identical (check the pasteboard to
>> make sure it contains the right type, get the string on the
>> pasteboard, check that the string exists, put the string into a text
>> field and trigger an IBAction). The only significant difference is
>> that the failing app provides one service, and the other app provides
>> two. What happens when I trigger the failing service is that the
>> application will appear, then disappear in the Dock, and the
>> triggering application will hang for 60 seconds or so. If I open the
>> service providing application manually during this time, the service
>> finishes running. Anyone have any ideas? Thanks.
>
> It sounds very much as though the service-providing application is
> crashing or otherwise exiting. Try running it in gdb and seeing what
> happens.
>
> Douglas Davidson
>
DATE : Sun Dec 19 23:31:22 2004
It doesn't stay open long enough to attach to. In fact, it doesn't even
stay open long enough to get a PID. `sample' doesn't get it, even with
the -wait flag.
-Daniel DeCovnick
http://www.softyards.com
danhd123 AT mac DOT com
On Dec 19, 2004, at 10:53 AM, Douglas Davidson wrote:
>
> On Dec 18, 2004, at 6:10 PM, Daniel DeCovnick wrote:
>
>
>> I have a couple of applications I've written that provide services.
>> However, I've recently found that one of them no longer works. It
>> worked when I wrote it and it worked on systems up through 10.3.5,
>> but not on 10.3.6 or 10.3.7. Strangely, the other app I've written
>> works just fine. They both register services at -awakeFromNib (I'm
>> not sure if I should do it sooner, but it seems to work fine), and
>> the service methods are almost identical (check the pasteboard to
>> make sure it contains the right type, get the string on the
>> pasteboard, check that the string exists, put the string into a text
>> field and trigger an IBAction). The only significant difference is
>> that the failing app provides one service, and the other app provides
>> two. What happens when I trigger the failing service is that the
>> application will appear, then disappear in the Dock, and the
>> triggering application will hang for 60 seconds or so. If I open the
>> service providing application manually during this time, the service
>> finishes running. Anyone have any ideas? Thanks.
>
> It sounds very much as though the service-providing application is
> crashing or otherwise exiting. Try running it in gdb and seeing what
> happens.
>
> Douglas Davidson
>
| Related mails | Author | Date |
|---|---|---|
| Daniel DeCovnick | Dec 19, 03:10 | |
| Douglas Davidson | Dec 19, 19:53 | |
| Daniel DeCovnick | Dec 19, 23:31 | |
| Frederick Cheung | Dec 19, 23:37 | |
| Douglas Davidson | Dec 19, 23:42 | |
| Daniel DeCovnick | Dec 20, 00:13 |






Cocoa mail archive

