Launchpad has imported 11 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1589890.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2019-10-19T20:29:40+00:00 Hpfeil wrote:

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101
Firefox/69.0

Steps to reproduce:

Version: 68.1.2 (64-bit) Linux
Open Thunderbird, read, respond, write new messages.


Actual results:

Depending on the session activity, lots of files left in /tmp. Typical files:
nscopy.tmp
nsemail-1.eml
nsemail-2.eml
nsemail.eml
nsemail.html
nsmail.tmp

These files are owner read/write only. If left alone, more such files
accumulate during each Thunderbird session. Not a priority, just
somewhat sloppy, like a memory leak.


Expected results:

Those files should have been deleted upon each session close.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/0

------------------------------------------------------------------------
On 2019-10-20T19:45:16+00:00 Jorg K wrote:

Hmm, interesting. I played with temporary files in bug 1568896 comment
#8 on Windows. They all got cleaned up when TB closed. That's not the
case on Linux?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/1

------------------------------------------------------------------------
On 2019-10-20T20:34:53+00:00 Hpfeil wrote:

No, Jorg, not on Linux. Before I suggested that it might be a bug, I planned to 
write a script around Thunderbird to "rm /tmp/ns*" upon exit.  This morning I 
found these.  nsemail-0,1,2,3 were from yesterday, the rest today.
nscopy-1.tmp
nscopy-2.tmp
nscopy-3.tmp
nscopy-4.tmp
nscopy.tmp
nsemail-1.eml
nsemail-2.eml
nsemail-3.eml
nsemail-4.eml
nsemail-5.eml
nsemail-6.eml
nsemail-7.eml
nsemail-8.eml
nsemail.eml
nsmail-1.tmp
nsmail-2.tmp
nsmail-3.tmp
nsmail.tmp

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/2

------------------------------------------------------------------------
On 2019-10-20T20:36:28+00:00 Hpfeil wrote:

(In reply to Henry Pfeil from comment #2)
> No, Jorg, not on Linux. Before I suggested that it might be a bug, I planned 
> to write a script around Thunderbird to "rm /tmp/ns*" upon exit.  This 
> morning I found these.  nsemail-0,1,2,3 were from last night, after I cleared 
> /tmp, the rest today.
> nscopy-1.tmp
> nscopy-2.tmp
> nscopy-3.tmp
> nscopy-4.tmp
> nscopy.tmp
> nsemail-1.eml
> nsemail-2.eml
> nsemail-3.eml
> nsemail-4.eml
> nsemail-5.eml
> nsemail-6.eml
> nsemail-7.eml
> nsemail-8.eml
> nsemail.eml
> nsmail-1.tmp
> nsmail-2.tmp
> nsmail-3.tmp
> nsmail.tmp

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/3

------------------------------------------------------------------------
On 2019-10-20T21:08:17+00:00 Hpfeil wrote:

Sorry about the double, I thought I was editing the message so you'd know the 
files were all created after I had deleted the ones in the original post. 
The four nsmail*.tmp files are all copies of the same jpg image that I sent in 
one message as a lone attachment. In examining the other files, I noticed that 
I need to change my habit of replying to a recent message, then changing the 
subject and deleting the old content to create a new message, suffering from 
congenital indolence as I oftentimes do. I found huge reference lists of 
previous threads in the header. I was under the impression that a new Subject 
meant a new message. Apparently you can change the subject in any reply and it 
remains a reply to the previous message. Perhaps it is that habit that leaves 
behind the /tmp files? 
The nscopy files are all the same message in text and html format with the 
attached image in mime format.
I cleared ns*, opened t-bird, sent myself a test message, then closed t-bird. 
These four are all from that message, in both txt and html format.
nscopy.tmp
nsemail.eml
nsemail.html
nsmail.tmp

I download the latest tarball, extract the Thunderbird folder, then move
it to /usr/lib64. Would installing via a package manager change the
result?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/4

------------------------------------------------------------------------
On 2019-10-23T06:24:59+00:00 Vseerror wrote:

(In reply to Jorg K (GMT+2) from comment #1)
> temporary files ...  all got cleaned up when TB closed. 

Me too, under controlled shutdown in Windows.  However my %tmp% also has
a couple hundred files over a period of a few months so there must be
circumstances where cleanup doesn't happen.

Anyway, among the open bugs we have https://mzl.la/2MGutmu  and the last
bug fixed was perhaps Bug 235432 - Mailnews/Thunderbird leaves unused
nsqmail.tmp (nsqmail-*.tmp, nsemail.eml) files in temporary folder (TEMP
or /tmp) after quit

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/5

------------------------------------------------------------------------
On 2019-10-23T08:51:45+00:00 Jorg K wrote:

OK, I spontaneously checked C:\Users\jorgk\AppData\Local\Temp and found four 
left-over temp files :-(
nsemail.eml with versions -1 and -2 and a nsmail.eml. The former three only 
contained headers, the latter one contained a message attachment, so message 
which I had sent out as an attachment. So yes, there must be some hole 
somewhere.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/6

------------------------------------------------------------------------
On 2019-10-28T12:19:45+00:00 Mkmelin+mozilla wrote:

Yeah I see the nsmail tmp files too. I also thought we put those in a
per-user subdir of tmp at some point, or was that only for opened
attachments?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/7

------------------------------------------------------------------------
On 2019-11-04T13:21:35+00:00 Vseerror wrote:

(In reply to Magnus Melin [:mkmelin] from comment #7)
> Yeah I see the nsmail tmp files too. I also thought we put those in a 
> per-user subdir of tmp at some point, or was that only for opened attachments?

A number of issues have been fixed over the years: https://mzl.la/34uiBKd
And some not: https://mzl.la/2Nc90lr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/8

------------------------------------------------------------------------
On 2019-11-18T20:16:21+00:00 Vseerror wrote:

bug 58979 suggests the use of a subdir.

One open bug is Bug 368380 - lots of temp files left around

In the intervening years, the following have been fixed (Plus some tmp bugs not 
related to sending mail - compact, etc)
Bug 235432 TB13 - Mailnews/Thunderbird leaves unused nsqmail.tmp 
(nsqmail-*.tmp, nsemail.eml) files in temporary folder (TEMP or /tmp) after quit
Bug 299655 TB15 - /tmp files left behind, some world-readable

These bugs have comments from some users that their issue was not fixed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/18

------------------------------------------------------------------------
On 2019-11-18T20:16:33+00:00 Vseerror wrote:

*** Bug 1597294 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1853007/comments/20


** Changed in: thunderbird
       Status: Unknown => New

** Changed in: thunderbird
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853007

Title:
  nsemail and nscopy files left in /tmp

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1853007/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to