repeated thread creation and destruction (observer on /tmp leaked?)

RESOLVED WORKSFORME

Status

()

Firefox
Untriaged
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: Stefan, Unassigned)

Tracking

28 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
User Agent: 

Steps to reproduce:

1. start firefox under gdb
2. open testcase.html, click on browse-button, switch to /tmp, cancel dialog
3. start file generation and deletion in /tmp (using test.sh)


Actual results:

gdb reports thread creation/destruction messages as long as files are generated in /tmp 
[New Thread 0x... (LWP ..)]
...
[Thread 0x... (LWP ...) exited]


Expected results:

Do not create/destruct threads when nothing observes the directory.
(Reporter)

Updated

4 years ago
OS: Other → Linux
Hardware: Other → x86_64
(Reporter)

Comment 1

4 years ago
Created attachment 8438611 [details]
testcase.html
(Reporter)

Comment 2

4 years ago
Created attachment 8438612 [details]
test.sh (helper script for generation/deletion of files kk$i in /tmp)
(Reporter)

Comment 3

4 years ago
$ strace -fFeinotify_add_watch,inotify_init,inotify_rm_watch firefox

inotify-items are never removed.
(Reporter)

Comment 4

4 years ago
It's a gtk issue.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.