Bug 7945 - claws-mail-python-plugin causes claws-mail to crash
Summary: claws-mail-python-plugin causes claws-mail to crash
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-64-OK, MGA2-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-11-01 16:23 CET by claire robinson
Modified: 2012-11-17 17:43 CET (History)
4 users (show)

See Also:
Source RPM: claws-mail-plugins
CVE:
Status comment:


Attachments

Description claire robinson 2012-11-01 16:23:20 CET
Please also see bug 7939

claws-mail-python-plugin causes..

$ claws-mail

** (claws-mail:32337): ERROR **: libpython2.7.so: cannot open shared object file: No such file or directory

Trace/breakpoint trap

It is looking for the libpython2.7.so from libpython-devel.

'It shouldn't be looking for the unversioned SO link from the devel package, it
should be looking for the versioned one from the library package.'
David Walser 2012-11-01 17:46:39 CET

CC: (none) => fundawang

David Walser 2012-11-01 17:48:12 CET

CC: (none) => julien.moragny

Julien Moragny 2012-11-02 21:28:03 CET

Status: NEW => ASSIGNED
Assignee: bugsquad => julien.moragny

Comment 1 Julien Moragny 2012-11-02 21:41:41 CET
Hi,

upstream bug :
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2770

I'm waiting for the answer of the plugin's author before patching our package.

regards
Julien
Comment 2 Julien Moragny 2012-11-06 19:23:32 CET
I just pushed in cauldron claws-mail-extra-plugins-3.8.1-4 which fix this bug

I will try to make an update candidate for mga2 for the end of the week.
Comment 3 claire robinson 2012-11-06 19:24:47 CET
Well done Julien, thankyou.
Comment 4 Julien Moragny 2012-11-08 18:22:42 CET
Here is the update for MGA2

You can test this by trying to load python plugin without lib(64)python-devel installed.


Suggested advisory:
========================

Updated claws-mail-plugins packages fix crash with python plugin when python devel library wasn't installed :

python plugin for claws-mail was linked to libpython.so which is provided by lib(64)python-devel. 

This update fix the plugin by properly link with libpython.so.x.y

References:
https://bugs.mageia.org/show_bug.cgi?id=7945
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2770
========================

Updated packages in core/updates_testing:
========================
claws-mail-acpi-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-address_keeper-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-attachwarner-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-att_remover-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-bsfilter-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-clamd-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-fancy-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-fetchinfo-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-gtkhtml2_viewer-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-mailmbox-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-newmail-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-notification-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-pdf_viewer-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-perl-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-python-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-rssyl-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-spam_report-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-tnef_parse-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-vcalendar-plugin-3.8.1-1.1.mga2.x86_64.rpm
claws-mail-vcalendar-plugin-devel-3.8.1-1.1.mga2.x86_64.rpm


Source RPM: 
claws-mail-plugins-3.8.1-1.1.mga2.src.rpm
Comment 5 Julien Moragny 2012-11-08 18:23:23 CET
I just tested on mageia 2 x86_64 and it fix the bugs.
Comment 6 Manuel Hiebel 2012-11-08 18:32:39 CET
thanks reassigning then, see comment 4 for all info

Assignee: julien.moragny => qa-bugs

Comment 7 Julien Moragny 2012-11-08 18:47:43 CET
For completeness, the complete procedure :
after installing claw-mail-python-plugin, launch claws-mail, go to configuration/plugin and load python_plugin.so

it shouldn't crash.

regards
Julien
Comment 8 claire robinson 2012-11-08 18:50:24 CET
Thanks Julien for the quick fix
Comment 9 Marc Lattemann 2012-11-11 14:25:56 CET
tested for mga2 x86_64 and i586: all plugins (including python-plugin) could be loaded into claws-mail.

validating updates.

Please use Comment 4 for Advisory and src rpm.

Could sysadmin push packages to Updates? Thanks.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: (none) => MGA2-64-OK, MGA2-32-OK

Comment 10 Thomas Backlund 2012-11-17 17:43:12 CET
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0222

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.