You are here

Thunderbird 3.0.4 fails to close properly under Linux/Wine

15 posts / 0 new
Last post
darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
Thunderbird 3.0.4 fails to close properly under Linux/Wine

I am running the PortableApps version of Thunderbird 3.0.4 under Wine/Linux and am finding that Thunderbird cannot be closed properly. I run the portable apps off of a mounted USB portable disk drive, and when I exit/close Thunderbird, it leaves an orphaned process running, which in turn leaves a LOT of open files on the mounted disk drive. That in turn prevents the disk drive from being capable of being dismounted properly. This only leaves me with the option of forcefully killing the orphaned process for Thunderbird manually, which is dangerous as that can lead to file corruption.

If this is a Wine bug, then IMHO the Thunderbird/PortableApps developers should take responsibility for seeing to it that this gets resolved. If not, then in either case it should be fixed asap as this is a serious bug that could lead to data loss for a user.

(Sure would be nice if one could subscribe to this forum via email. )

(Nowhere on the PortableApps website could I find a link to a bug tracker. Sure would be nice to be able to search known bugs to see if this has been reported, and if not, to report it.)

Darkstar...

vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 9 months ago
Developer
Joined: 2010-02-13 17:10
Thoughts

I f this is a Wine bug, then IMHO the Thunderbird/PortableApps developers should take responsibility for seeing to it that this gets resolved. If not, then in either case it should be fixed asap as this is a serious bug that could lead to data loss for a user.

If the issue is with Wine why would it be tthe responsibility of PA to fix it? They did not create the WIne, also it is my understanding that PA works in Windows not Linux.

(Sure would be nice if one could subscribe to this forum via email. )

Have you tried the Red Underlined Subscribe Button just below your comment?

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
> If the issue is with Wine

> If the issue is with Wine why would it be tthe responsibility of PA to fix it? They did not create the WIne, also it is my understanding that PA works in Windows not Linux.

The developers of PA understand their software far better than I do as a user and will be in a far better position to resolve (with the developers of Wine) whether the problem lies within Wine or within the mis-usage of the Wine/Windows API. I as a user do NOT want to become a middle man in a finger pointing contest between the two teams.

Speaking as a professional software developer myself (over 35 years), resolving issues between applications and subsystems the apps depend on, IS something that developers themselves should always take responsibility for. Only they can find the best solution that will meet the requirements of their particular app. I as a user can assist in pointing out the symptoms, but beyond that I am in no position to help find a resolution.

PortableApps and most of its sub apps including PortableThunderbird, advertises themselves as being able to run under Wine on Linux systems. (Note the name "Portable") Ergo I expect it to be supported under Wine as well as Windows.

>> (Sure would be nice if one could subscribe to this forum via email. )

> Have you tried the Red Underlined Subscribe Button just below your comment?

Aw! I wouldn't have guessed that was the purpose of a link titled "Subscribe" And now that I have clicked on it I am still NOT sure what it will do for me... I was hoping that there was a way to subscribe via email to this forum so as to be able to easily follow and be notified off all conversations taking place. Typically mail lists are subscribed to in a more global sense, not in a sense of a particular thread which this seems to imply, at least to me.

John T. Haller
John T. Haller's picture
Online
Last seen: 25 min 46 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Check It

It subscribes you to that thread only using your registered email account. We don't provide the ability to subscribe to forums.

Sometimes, the impossible can become possible, if you're awesome!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 1 month ago
Joined: 2007-04-15 21:08
Which process?

Which process is it that's continuing to run? thunderbird.exe or ThunderbirdPortable.exe?

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
It is ThunderbirdPortable.exe

It is ThunderbirdPortable.exe which is the process that continues to hold open files after the app is closed. I noted, (while verifying this) that this seems to be somewhat related to how long ThunderbirdPortable has been opened and how much usage has taken place. If I simply open the app, then immediately close it, there is no problem. But if I open the app, and use it for awhile, the number of opened files that remain opened and assigned to the orphaned process seems to grow. I used the command "lsof /media/My\ Passport" to determine this. (My Passport is the name of my portable USB drive...)

darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
Actually it is two processes

Actually it is two processes which continue to hold open files after ThunderbirdPortable is closed. Wineserver and ThunderbirdPortable.exe Here is a somewhat short but typical output from lsof that shows this after I closed ThunderbirdPortable....

marc@marcslaptop:~/> lsof /media/My\ Passport/
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
wineserve 10957 marc 19r REG 8,33 144832 47916 /media/My Passport/PortableApps/ThunderbirdPortable/ThunderbirdPortable.exe
wineserve 10957 marc 36r DIR 8,33 32768 47780 /media/My Passport/PortableApps/ThunderbirdPortable
wineserve 10957 marc 69r REG 8,33 144832 47916 /media/My Passport/PortableApps/ThunderbirdPortable/ThunderbirdPortable.exe
wineserve 10957 marc 73r REG 8,33 144832 47916 /media/My Passport/PortableApps/ThunderbirdPortable/ThunderbirdPortable.exe
wineserve 10957 marc 74r REG 8,33 365744 47150 /media/My Passport/PortableApps/PortableApps.com/PortableAppsPlatform.exe
wineserve 10957 marc 75r REG 8,33 365744 47150 /media/My Passport/PortableApps/PortableApps.com/PortableAppsPlatform.exe
PortableA 10971 marc mem REG 8,33 365744 47150 /media/My Passport/PortableApps/PortableApps.com/PortableAppsPlatform.exe
Thunderbi 10976 marc cwd DIR 8,33 32768 47780 /media/My Passport/PortableApps/ThunderbirdPortable
Thunderbi 10976 marc mem REG 8,33 144832 47916 /media/My Passport/PortableApps/ThunderbirdPortable/ThunderbirdPortable.exe
Thunderbi 10976 marc 5r DIR 8,33 32768 47780 /media/My Passport/PortableApps/ThunderbirdPortable
Thunderbi 10976 marc 10r REG 8,33 144832 47916 /media/My Passport/PortableApps/ThunderbirdPortable/ThunderbirdPortable.exe

John T. Haller
John T. Haller's picture
Online
Last seen: 25 min 46 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Can't Reproduce

I can't reproduce this. It works just fine for me on Ubuntu 9.10 with Wine fully updated.

If it happens after a while, as you said, something else is going on. There should only be one ThunderbirdPortable.exe process. And it sits around and waits for the one Thunderbird.exe process to exit.

Are you relaunching Thunderbird Portable using its launcher while it is already running? If not that, then it's something very odd happening in Wine. Wine can be a bit hit or miss.

Sometimes, the impossible can become possible, if you're awesome!

darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
No, this is a single launch

No, this is a single launch of Thunderbird via the PortableApps menu. I am running under openSuSE 11.2 and have the latest version of wine installed apparently...

marc@marcslaptop:~> wine --version
wine-1.1.42

darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
When you tested

When you tested ThunderbirdPortable, did you test it while running it off of a portable USB device? I wonder if there is something preventing Wine or ThunderbirdPortable from closing files on a dynamically mounted device perhaps? (just a thought/guess...)

John T. Haller
John T. Haller's picture
Online
Last seen: 25 min 46 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Wine Issue

If there is, it's a Wine issue. ThunderbirdPortable.exe just sits there and waits for Thunderbird.exe to close. Once closed, it double-checks some registry settings and closes. It doesn't write any files.

Try copying it and running it locally from the same path (X:\PortableApps\Thunderbird) and see if you still experience the issue.

Sometimes, the impossible can become possible, if you're awesome!

darkstar
Offline
Last seen: 11 years 1 month ago
Joined: 2008-04-03 03:14
Running ThunderbirdPortable

Running ThunderbirdPortable on a local drive does seem to work, though I have not done a lot of extensive testing... So you may be right in that this is a Wine issue with dynamically mounted devices...

I don't know if I should be the one who reports this to the Wine developers, but I suppose it should be someone who is experiencing the problem.. My reluctance comes from the fear that I will become a middle man in a finger pointing contest (which from you comments appears to already be beginning Wink ...)

alpakyuz
alpakyuz's picture
Offline
Last seen: 14 years 2 months ago
Joined: 2010-03-26 12:00
Same problem after upgrading to Ubuntu 10.04

I didn't have any problem under Ubuntu 9.10, but I started to experience the same problem after upgrading to Ubuntu 10.04. I couldn't find a solution yet.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 1 month ago
Joined: 2007-04-15 21:08
Wine version?

What version of Wine did you have Angel before and (b) after?

The wine package in 9.10 was 1.0.1, but the wine package in 10.04 is 1.1.42.

(I myself have 1.1.43 from the Ubuntu PPA; however I haven't tested Thunderbird in it yet.)

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

alpakyuz
alpakyuz's picture
Offline
Last seen: 14 years 2 months ago
Joined: 2010-03-26 12:00
I haven't checked the version

I haven't checked the version before, but after Ubuntu 10.04 was loaded with 1.1.42. As it caused this problem I upgraded Wine to 1.1.43 hoping the problem to be solved, but the problem went on.

Log in or register to post comments