0.4.4/Linux - Thunderbird 17.0 crashing on start #79

Closed
pablo-blueoakdb opened this Issue Jan 2, 2013 · 18 comments

Projects

None yet

4 participants

@pablo-blueoakdb

Hi,

With firetray 0.4.4, Thundbird 17.0 is crashing on start. I had reported a similar issue #65 however when I attempted to replicate the problem in a VM, I couldn't. In the end, I spent the time to migrate to the new environment and copy everything back to my Host O/S.

Now, the problem has occurred again and I think it's best we find the root-cause.

When I start Thunderbird from a shell, I see the following errors from Firetray:

19:49:50 ERROR firetray.Handler negative message count
19:49:50 ERROR firetray.Window TypeError: firetray.Chat is undefined

I've tried to install 0.4.3 but the problem remains.

Please let me know how to proceed as I love having biff in my system tray. :)

Thx!
-pablo

@pablo-blueoakdb

I built 0.4.4 and I set Java logging to DEBUG and below is the result:

09:59:58 INFO firetray.Handler OS=Linux, ABI=x86_64-gcc3, XULrunner=17.0
09:59:58 INFO firetray.Handler inMailApp=true, inBrowserApp=false, appHasChat=true
09:59:58 INFO firetray.Handler appId={3550f703-e582-4d05-9a08-453d09bdfdc6}
09:59:58 ERROR firetray.Handler negative message count
09:59:58 INFO firetray.Handler isChatEnabled=true
09:59:58 ERROR firetray.Window TypeError: firetray.Chat is undefined

@pablo-blueoakdb

I've confirmed version 0.4.2 works.

@foudfou
Owner
foudfou commented Jan 18, 2013

Hi. firetray.Chat is undefined shows something is definitely going wrong. Is there a more verbose message in the JS console (Ctrl-Shift-J) for this error ?
Can you reproduce the bug in a vm ? Can you reproduce the bug with a different profile (thunderbird -P) ?

@pablo-blueoakdb

Hi,

Thank you for getting back to me, I realize you're busy. I downloaded 0.4.5 and tried it just now and it too causes Thunderbird to crash.

Here's what happens:

o I start Thunderbird
o If I mouse into the window, bam! it dies.
o I get a window asking me if I'd like to let Mozilla know about the crash.

Given the above, I can't get into the JS console.

The last time I encountered the issue, I couldn't reproduce the error in a VM. I ended up migrating my entire environment to the VM, then copying it back to my Host. It's a work-around but man, a pain in the neck! :)

I suspect that I cannot reproduce the error in a different profile (similar to the VM issue)

Thx!

@foudfou
Owner
foudfou commented Jan 18, 2013

You could try to start thunderbird with the -jsconsole switch.
Other than this, if the bug is caused by your profile, then I suggest you contact me by email (see my github profile) so I can try to reproduce your profile.

@pablo-blueoakdb

Hi,

I'm sorry for the delay ... I had to work this weekend, etc. I'll try the -jsconsole switch tomorrow morning, local time. :)

Thank you again!
-pablo

@pablo-blueoakdb

Hi,

Phew, so much for morning ... please see the attached screen scrape. Let me know if that's sufficient or whether you need to snarf my profile.

Thank you again!
Uploading jsconsole.png . . .

@pablo-blueoakdb

Hi again,

I just sent the image to your profile's email address. It was unclear whether it was uploaded in my previous post.

Thank you.
-pablo

@dc2
dc2 commented Feb 6, 2013

FireTray 0.4.5 also seems to have some issues (using Thunderbird 17.0.2) - after some time Thunderbird crashes with a segmentation fault reproducible. I think it is related with the "chat icon", because after I disabled this, everything seems to be fine (I also had the same message concerning the chat icon - "firetray.Window TypeError: firetray.Chat is undefined", but it didn't lead to an immediate crash).

Another issue occured after I fixed the first :D
Minimize-to-tray and so on basically work, but now somehow the new-mails icon isn't shown although there are actually new ones.

Edit: On the console appears meanwhile the following message: "ERROR firetray.Handler negative message count"
Edit2: Fixed it by repairing all folders, now it works as before :D

@foudfou
Owner
foudfou commented Mar 16, 2013

Hi guys, could you give 2b2812a a try ?

@pablo-blueoakdb

[ Comments below, in-line ]

On 03/16/2013 11:10 AM, foudfou wrote:

Hi guys, could you give 2b2812a
2b2812a a try ?

Hi Foudil,

Thank you for sticking with this issue. I appreciate it. :)

My apologies for just getting back to this request. I had some
significant client work this past weekend.

I just tested the above and unfortunately, Thunderbird is still
crashing. I'm not sure whether I did the right thing though ...

What I did was:

  1. Followed the instructions:
    https://github.com/foudfou/FireTray/wiki/Build

  2. I replaced the above version of the respective file, then built the .xpi

If the above are the correct steps, let me know whether I should do it
again and set up debug.

Thank you!

Pablo Sanchez - Blueoak Database Engineering, Inc
Ph: 819.459.1926 Blog: http://pablo.blog.blueoakdb.com
Fax: 760.860.5225 (US)

@foudfou
Owner
foudfou commented Mar 19, 2013

Hi Pablo,
not sure to follow you well, but what you should do is build an new xpi file, out of the latest revision, and install it. To do so you need to:

  1. get the latest/dev revision:
git clone https://github.com/foudfou/FireTray.git
cd FireTray
git checkout 2b2812a
  1. build:
cd src
DEBUG=on make build
  1. install ../build-2b2812a-debug/firetray-0.4.5.xpi in Thunderbird: Tools > Addons > Install Addon from file
@pablo-blueoakdb

[ Comments below, in-line ]

On 03/18/2013 11:00 PM, foudfou wrote:

Hi Pablo,
not sure to follow you well, but what you should do is build an new xpi
file, out of the latest revision, and install it. To do so you need to:

[ trimmed ]

Hi Foudil,

Success!

Merci! Thank you! Gracias. :)

After your instructions, I tried with debug and all worked. Next I
rebuilt without debug and it is working well too.

Once again, thank you very much!

Cheers,

Pablo Sanchez - Blueoak Database Engineering, Inc
Ph: 819.459.1926 Blog: http://pablo.blog.blueoakdb.com
Fax: 760.860.5225 (US)

@pablo-blueoakdb

[ Comments below, in-line ]

On 03/18/2013 11:00 PM, foudfou wrote:

Hi Pablo,
not sure to follow you well, but what you should do is build an new xpi
file, out of the latest revision, and install it. To do so you need to:

Hi Foudil,

I spoke too soon. While it's true Thunderbird no longer crashes on
start, the latest version doesn't show a `New Message count' in the systray.

I'm attaching the debug for my session. Please let me know if you need
more details.

Thank you again!

Pablo Sanchez - Blueoak Database Engineering, Inc
Ph: 819.459.1926 Blog: http://pablo.blog.blueoakdb.com
Fax: 760.860.5225 (US)

@foudfou
Owner
foudfou commented Mar 20, 2013

Hi Pablo, can you give a try to d91bfd1 ?

@pablo-blueoakdb

[ Comments below, in-line ]

On 03/20/2013 07:39 PM, foudfou wrote:

Hi Pablo, can you give a try to d91bfd1
d91bfd1 ?

Hi Foudil,

The above version did the trick! :)

Thank you very much!

Cheers,

Pablo Sanchez - Blueoak Database Engineering, Inc
Ph: 819.459.1926 Blog: http://pablo.blog.blueoakdb.com
Fax: 760.860.5225 (US)

@foudfou
Owner
foudfou commented Mar 21, 2013

I believe this fixes previous reported bugs also.

@foudfou foudfou closed this Mar 21, 2013
@br0th3r
br0th3r commented Mar 26, 2013

Thanks for the fix! :-) (I confirm it works in Thunderbird 17.0.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment