Last Comment Bug 300044 - [OS BUG][10.4] serious system stablity problems require restart after drag image or link to application Dock
: [OS BUG][10.4] serious system stablity problems require restart after drag im...
Status: VERIFIED INVALID
: hang, relnote
Product: Camino Graveyard
Classification: Graveyard
Component: Drag & Drop (show other bugs)
: unspecified
: PowerPC Mac OS X
: -- critical (vote)
: Future
Assigned To: Mike Pinkerton (not reading bugmail)
:
Mentors:
: 314164 317413 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-07 20:47 PDT by Shawn Smith
Modified: 2006-01-16 00:21 PST (History)
8 users (show)
sfraser_bugs: camino1.0-
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Sample of Hung Camino (5.17 KB, text/plain)
2005-07-08 07:51 PDT, Shawn Smith
no flags Details
Crash Report from the Dock when dragging an XML file (13.33 KB, text/plain)
2005-09-20 10:57 PDT, Steve Jacobs (irc: encro)
no flags Details

Description Shawn Smith 2005-07-07 20:47:46 PDT
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050707 Camino/0.9a1+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050707 Camino/0.9a1+

If I drag an image from Camino to iPhoto 5 in the dock and iPhoto is not started
I crash the dock and then proceed to beachball Camino.  This leads to all
applications becomming hung and then to complete system stablity problems
(beachballs on all apps) requiring a reboot.

Reproducible: Always

Steps to Reproduce:
1.  Launch Camino
2.  Drag image to iPhoto 5 icon in dock (iPhoto not running)

Actual Results:  
Dock crashes and restarts.  Camino continues with a beachball with all
applications becoming unstable shortly thereafter resulting in the need for a
reboot to regain stablity.

Expected Results:  
iPhoto should launch and import the photo to the libary.  Expected results can
be seen with Safari.
Comment 1 Shawn Smith 2005-07-07 20:48:56 PDT
Running on Tiger 4.0.1.  iBook G4.
Comment 2 Smokey Ardisson (offline for a while; not following bugs - do not email) 2005-07-08 00:11:10 PDT
FWIW, dragging an image to iPhoto is not supposed to work (see bug 193950), but
Camino shouldn't be hanging, either.

Reporter, please *attach* a sample of Camino while it's hanging. 
/Applications/Utilities/Activity Monitor, select Camino, click "Inspect" then
click "Sample", save the resulting sample as a text file and attach to this bug
via the "Create a New Attachment" link above.
Comment 3 Shawn Smith 2005-07-08 07:51:35 PDT
Created attachment 188679 [details]
Sample of Hung Camino

Per request sample attached.
Comment 4 Mike Pinkerton (not reading bugmail) 2005-07-08 08:08:04 PDT
this is what i thought. if the dock crashes, the drag won't complete and it'll
spin until it does. the OS *should* time out and cancel the drag automatically
after some length of time. If you let it sit, does everything eventually come
back to normal?
Comment 5 Mike Pinkerton (not reading bugmail) 2005-07-08 11:42:30 PDT
the fact that we can destabilize the OS has been filed as rdar://4174164 (it
also happens if you drag a link from the content area to safari's dock icon).

we still need to figure out what we're doing wrong to the pasteboard that could
cause this in the first place.
Comment 6 Wevah 2005-07-08 14:06:59 PDT
Another way I've found to get out of some drag-hangs is to initiate another
drag. The OS apparently only keeps track of one drag at a time (which makes sense).
Comment 7 Steve Jacobs (irc: encro) 2005-09-20 10:57:50 PDT
Created attachment 196809 [details]
Crash Report from the Dock when dragging an XML file
Comment 8 Steve Jacobs (irc: encro) 2005-09-20 11:07:31 PDT
(In reply to comment #7)
> Created an attachment (id=196809) [edit]
> Crash Report from the Dock when dragging an XML file

I am experiencing the exact same symptoms also when dragging an xml file from
the Camino content area to an application dock icon. After the drag the dock
immediatly crashed and Camino beachballs. I terminate Camino via the PID via the
Command Line as the CPU load increase prevents me from ctrl-clicking
effectively. The system become destabilized, apps don't load and the dock is
non-functional forcing a system reboot. Test cases included using Mail.app and
Newsfire.app

There is something screwy in the Pasteboard code and it's hanging Camino in
DragDispose. I've attached a crash reporter profile which may help to identify
what is going wrong at the receiver end.
Comment 9 Simon Fraser 2005-09-20 11:11:11 PDT
Someone should file this bug with Apple.
Comment 10 Steve Jacobs (irc: encro) 2005-09-20 12:44:16 PDT
(In reply to comment #9)
> Someone should file this bug with Apple.

Mike has filed it already under rdar://4174164
Comment 11 Mike Pinkerton (not reading bugmail) 2005-09-22 06:24:18 PDT
(In reply to comment #10)
> (In reply to comment #9)
> > Someone should file this bug with Apple.
> 
> Mike has filed it already under rdar://4174164

I hope you don't mean me. It's not on my list of radar bugs that I have filed
with apple. What's the title of that radar id?
Comment 12 Steve Jacobs (irc: encro) 2005-09-22 07:46:01 PDT
(In reply to comment #11)
> > > Someone should file this bug with Apple.
> > 
> > Mike has filed it already under rdar://4174164
> 
> I hope you don't mean me. It's not on my list of radar bugs that I have filed
> with apple. What's the title of that radar id?

See Comment #5 written by you regarding destabilization :)
(https://bugzilla.mozilla.org/show_bug.cgi?id=300044#c5)
Comment 13 Mike Pinkerton (not reading bugmail) 2005-09-22 07:49:58 PDT
oh, i think stuart filed that. sorry.
Comment 14 Simon Iannelli 2005-10-24 12:00:45 PDT
I got the same issue here when dragging a image in photoshop in the dock.
Comment 15 Mike Pinkerton (not reading bugmail) 2005-11-01 11:57:11 PST
*** Bug 314164 has been marked as a duplicate of this bug. ***
Comment 16 Samuel Sidler (old account; do not CC) 2005-11-09 12:42:45 PST
We shouldn't have so many problems with dragging images to the dock. Nominating for 1.0. (FF has a similar bug, bug 301619)
Comment 17 Simon Fraser 2005-11-09 18:21:10 PST
I don't think we can do anything about this.
Comment 18 Smokey Ardisson (offline for a while; not following bugs - do not email) 2005-11-11 04:08:43 PST
This bug got some play yesterday at macosxhints: http://www.macosxhints.com/article.php?story=2005111007052983

The drag operations only "work" on 10.4, which explains why I've never been able to reproduce it....

(In reply to comment #17)
> I don't think we can do anything about this.

Mike (comment 5): we still need to figure out what we're doing wrong to the pasteboard that could cause this in the first place.

Steve Jacobs (comment 8): There is something screwy in the Pasteboard code and it's hanging Camino in DragDispose. I've attached a crash reporter profile.

Both seem (to me!) to indicate there's something we're doing that is at least part of the problem.
Comment 19 Chris Lawson (gone) 2005-11-22 06:06:00 PST
*** Bug 317413 has been marked as a duplicate of this bug. ***
Comment 20 Thomas F. O'Connell 2005-11-22 06:49:08 PST
I've been witness to this same bug affecting the Firefox 1.5 beta and RC series. Is anyone else noticing that it's not peculiar to Camino?
Comment 21 Simon Fraser 2005-12-04 20:30:58 PST
This is an OS bug that we can't do anything about. Someone should test to see if the latest software update fixes it.
Comment 22 Shawn Smith 2005-12-04 20:33:56 PST
Hard to believe it is an OS bug when it works just fine from Safari.  Perhaps someone should review the safari code and compare it to the FF 1.5 and Camino Code?
Comment 23 Simon Fraser 2005-12-04 20:55:47 PST
(In reply to comment #22)
> Hard to believe it is an OS bug when it works just fine from Safari.  Perhaps
> someone should review the safari code and compare it to the FF 1.5 and Camino
> Code?

Maybe it depends on what you put on the pasteboard.
Comment 24 Shawn Smith 2005-12-04 20:58:11 PST
Hmm, same test from Safari and Camino/FF.  I drag an image from a Flickr web page to the iPhoto Dock Icon.  With Safari it launches import and works.  With FF/Camino I get a beachball and instabiliy.

??

Don't think the content matters it is something wrong with the FF/Camino Paste Code I think.
Comment 25 froodian (Ian Leue) 2005-12-04 21:01:17 PST
(In reply to comment #21)
> This is an OS bug that we can't do anything about. Someone should test to see
> if the latest software update fixes it.
> 

Tested under latest software updates, and it still hangs.
Comment 26 Stuart Morgan 2005-12-04 22:11:35 PST
If a Camino action destablizes system processes, there is by definition an OS bug. As previously mentioned, it has already been filed.

There are lots of ways to put things onto the pasteboard (which is probably what Simon meant by it depending on what you put there), and just because the way Safari does it works doesn't mean that a) it's practical to do it the same way it gecko, and b) that gecko is necessarily doing anything wrong.

Follow pink's precedent in bug 223315, moving to Future (and retitling) so dupes are less likely to be filed.
Comment 27 Stuart Morgan 2006-01-10 16:13:41 PST
Fixed in 10.4.4.  Closing.
Comment 28 Samuel Sidler (old account; do not CC) 2006-01-16 00:21:46 PST
This has been relnoted.

Note You need to log in before you can comment on or make changes to this bug.


Privacy Policy