Closed Bug 283693 Opened 20 years ago Closed 20 years ago

crash dragging messages to other folders [nsNativeDragTarget::ProcessDrag]

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 125386
Thunderbird1.1

People

(Reporter: mscott, Assigned: mscott)

References

Details

(Keywords: crash)

Attachments

(1 file)

I'm pretty sure this is a pretty recent regression.

We now crash if you try to drag a message from one folder to another.

the current drag session is NULL because the drag service says we aren't doing a
drag anymore...

Here's the stack:

nsBaseDragService::GetCurrentSession(nsBaseDragService * const 0x01c98118,
nsIDragSession * * 0x0011e4a4) line 219
nsNativeDragTarget::ProcessDrag(IDataObject * 0x00000000, unsigned int 1401,
unsigned long 1, _POINTL {...}, unsigned long * 0x0011e624) line 221 + 56 bytes
nsNativeDragTarget::DragOver(nsNativeDragTarget * const 0x02e65670, unsigned
long 1, _POINTL {...}, unsigned long * 0x0011e624) line 288
OLE32! 775f8ede()
OLE32! 775f90c8()
OLE32! 775cfbdf()
OLE32! 775d0038()
nsDragService::StartInvokingDragSession(nsDragService * const 0x01c98118,
IDataObject * 0x032b89b8, unsigned int 3) line 176 + 25 bytes
nsDragService::InvokeDragSession(nsDragService * const 0x01c98118, nsIDOMNode *
0x02bcdb4c, nsISupportsArray * 0x032d4f98, nsIScriptableRegion * 0x0328a1b0,
unsigned int 3) line 144 + 25 bytes
 
we crash here:

  // Set the current action into the Gecko specific type
  nsCOMPtr<nsIDragSession> currSession;
  mDragService->GetCurrentSession ( getter_AddRefs(currSession) );
  currSession->SetDragAction(geckoAction);

dereferencing currSession
Status: NEW → ASSIGNED
Keywords: crash
Target Milestone: --- → Thunderbird1.1
This regression was caused by Bug #125386. Backing out that view manager changes
makes drag and drop work again without crashing. Roc can you please take a look
at this? (It's probably the weekend already in New Zealand). 
Severity: normal → critical
Blocks: 125386
I had to make a few tweaks to Boris's suggested fix to get it to compile.
Flags: blocking-aviary1.1?

*** This bug has been marked as a duplicate of 125386 ***
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Flags: blocking-aviary1.1?
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: