Lightning messed up after Fedora 7 upgrade

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Post Reply
willyo
Posts: 0
Joined: October 1st, 2007, 3:40 pm

Lightning messed up after Fedora 7 upgrade

Post by willyo »

After doing a 'yum upgrade' on my Linux Fedora 7 system (see details below), Thunderbird 2.0.0.5 started giving segment faults whenever I attempted to open an EMail message.

After lots of poking around I finally realized that the lightning add-on (v0.5) was no longer working and there were lots of error messages on the T'bird error console.

After I disabled the lightning add-on, T'Bird started working AOK again.

Is this a known issue ? Any thoughts on a work-around ?
Do I need to uninstall the system upgrades (such as the libgcc & etc)

:(

Thanks in advance....



Symptoms
=========
Lightning showed the left-hand 'preview' calendar but attempts to show the full calendar (Calendar ! Month view, etc) showed a small rectangular blob (ie: no month calendar with days of the month).

Most of the time, T'bird would give a segment fault when attempting to open an EMail message.
(gdb backtrace available on request if useful).

Error messages
==============
Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017
(NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://lightning/content/lightning-utils.js ::
<TOP_LEVEL> :: line 81" data: no]


<many snipped...>

Error: CalDateTime is not a constructor
Source File: chrome://lightning/content/agenda-tree.js
Line: 448

Error: Cc['@mozilla.org/calendar/datetime;1'] has no properties
Source File: chrome://calendar/content/calUtils.js
Line: 59

Packages changed as a result of the upgrade.
========================================

-kernel-2.6.22.5-76.fc7.i686.rpm
+kernel-2.6.22.9-91.fc7.i686.rpm

-kernel-devel-2.6.22.5-76.fc7.i686.rpm
+kernel-devel-2.6.22.9-91.fc7.i686.rpm

-kernel-headers-2.6.22.7-85.fc7.i386.rpm
+kernel-headers-2.6.22.9-91.fc7.i386.rpm

-kmod-nvidia-100.14.19-1.2.6.22.5_76.fc7.i686.rpm
+kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm

-cpp-4.1.2-12.i386.rpm
+cpp-4.1.2-27.i386.rpm

-gcc-4.1.2-12.i386.rpm
+gcc-4.1.2-27.i386.rpm

-gcc-c++-4.1.2-12.i386.rpm
+gcc-c++-4.1.2-27.i386.rpm

-libgcc-4.1.2-12.i386.rpm
+libgcc-4.1.2-27.i386.rpm

-libgcj-4.1.2-12.i386.rpm
+libgcj-4.1.2-27.i386.rpm

-libgomp-4.1.2-12.i386.rpm
+libgomp-4.1.2-27.i386.rpm

-libstdc++-3.3.3-7.i386.rpm
-libstdc++-4.1.2-12.i386.rpm
+libstdc++-4.1.2-27.i386.rpm

-libstdc++-devel-4.1.2-12.i386.rpm
+libstdc++-devel-4.1.2-27.i386.rpm

-nss_ldap-254-2.i386.rpm
+nss_ldap-257-3.i386.rpm

-selinux-policy-2.6.4-42.fc7.noarch.rpm
+selinux-policy-2.6.4-43.fc7.noarch.rpm

-selinux-policy-targeted-2.6.4-42..noarch.rpm
+selinux-policy-targeted-2.6.4-43.noarch.rpm
Old ssiter
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old ssiter »

Do you use an 'official' Mozilla Thunderbird build or a Fedora Thunderbird build? Lightning contains binary parts that must be compiled using the same compiler and build environment as Thunderbird. If they differ Lightning might not work.

You may also try to install the additional packages reported in http://forums.mozillazine.org/viewtopic.php?p=3000106#3000106 and following
willyo
Posts: 0
Joined: October 1st, 2007, 3:40 pm

Post by willyo »

Bingo !!

The problem described in the linked-to messages sounds like my problem exactly.

I'm using the Fedora Thunderbird build.

Thanks for the info. I'll work thru the messages so I can get Lightning working again on my system.


Thanks
willyo
Posts: 0
Joined: October 1st, 2007, 3:40 pm

Post by willyo »

For the record:

The removal of libstdc++-3.3.3-7.i386.rpm by the 'yum upgrade' as described above was the cause of the problem.

Doing a yum install compat-libstdc++-33.i386 solved the problem.

I do have to agree with the posters on the other thread in that there's got to be a better way or at least there should be some kind of warning message when Lightning is installed indicating the absence of the required version of libraries, etc.

Thanks again
Post Reply