Closed Bug 142128 Opened 22 years ago Closed 11 years ago

Memory leak in nsClipboard::SelectionReceiver()

Categories

(Core :: DOM: Selection, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
mozilla1.1alpha

People

(Reporter: pj, Unassigned)

References

()

Details

(Keywords: memory-leak)

How to reproduce: Start mozilla, paste a url in the window, once it is finished
loading paste another one.

==5515== 4 bytes in 1 blocks are definitely lost in loss record 6 of 131
==5515==    at 0x400428DC: malloc (vg_clientfuncs.c:100)
==5515==    by 0x408672A8: alloc_list (in
/usr/pkg/pkg1/xfree86-4.1.0/lib/libX11.so.6.2)
==5515==    by 0x40867700: _XTextPropertyToTextList (in
/usr/pkg/pkg1/xfree86-4.1.0/lib/libX11.so.6.2)
==5515==    by 0x4086777B: _XmbTextPropertyToTextList (in
/usr/pkg/pkg1/xfree86-4.1.0/lib/libX11.so.6.2)
==5515==    by 0x40829008: XmbTextPropertyToTextList (in
/usr/pkg/pkg1/xfree86-4.1.0/lib/libX11.so.6.2)
==5515==    by 0x49E62651: nsClipboard::SelectionReceiver(_GtkWidget *,
_GtkSelectionData *) (nsClipboard.cpp:574)
==5515==    by 0x49E62514: nsClipboard::SelectionReceivedCB(_GtkWidget *,
_GtkSelectionData *, unsigned int) (nsClipboard.cpp:509)
==5515==    by 0x406E2253: gtk_marshal_NONE__POINTER_INT (gtkmarshal.c:325)
==5515==    by 0x40713395: gtk_handlers_run (gtksignal.c:1917)
==5515==    by 0x4071278D: gtk_signal_real_emit (gtksignal.c:1478)
Keywords: mlk
bz says component is Selection, changing. Sorry for the spam.
Component: XP Toolkit/Widgets → Selection
-> default owner + QA
Assignee: jaggernaut → mjudge
QA Contact: jrgm → pmac
ok this is pasting and or copying not selection that is leaking.  I understand 
that some motion involving selection was made, but I dont believe this is mine. 
I am marking 1.1alpha since memory leaks are very bad.  I will endevor to find 
someone who is a linux/copy/paste expert to take this bug.  If not I will 
attempt myself.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1alpha
Is this still leaking?
Someone with purify or a similar tool would need to check.
Keywords: qawanted
Where do you get that tool?  I'd be willing to test if nobody else did.
http://www-306.ibm.com/software/awdtools/purify/

First hit on Google or "purify" and all.  ;)
quite a steal at only 3.000€ ;-)
does bug 318069 help?
Assignee: mjudge → nobody
Status: ASSIGNED → NEW
QA Contact: pmac → selection
Is this still an issue? If so, are there any free tools I can check it with?
Please reopen this bug if you can still reproduce it and have details about how it can be tested.
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: qawanted
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.