Bug 35439 - [MAILMERGE] Crash in wizard when trying to select address list when database libraries not installed
Summary: [MAILMERGE] Crash in wizard when trying to select address list when database ...
Status: CLOSED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.1 release
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Caolán McNamara
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 34184
  Show dependency treegraph
 
Reported: 2011-03-18 20:01 UTC by Markus S.
Modified: 2011-12-23 13:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus S. 2011-03-18 20:01:13 UTC
In Writer, run the Mail Merge Wizard.
Click Next 2 times, then click "Select Address List".
LibreOffice crashes.

A strace log is attached.

Details:
Linux (openSUSE 11.4), 32bit, KDE integration, OpenJDK/IcedTea (1.6.0.0_b20.1.9.7-1.2.1), KDE SC 4.6.1
Comment 1 Rainer Bielefeld Retired 2011-03-19 00:33:07 UTC
Might be a Linux specific effect, currently NOT reproducible with "LibreOffice 3.3.2RC2  – WIN7  Home Premium  (64bit) German UI [OOO330m19 (Build:202 / tag 3.3.2.2)]"

@Markus:
It seems you forgot to attach the  strace log?
Is that problem reproducible with an empty new page?
Comment 2 Markus S. 2011-03-19 04:23:41 UTC
(In reply to comment #1)

> It seems you forgot to attach the  strace log?

No, I didn't. This Bugzilla install just refused it for being too large...
I created a bug report in Novell's Bugzilla as well because this bug happens for me under openSUSE. They allow bigger attachments, so I added the log there:
https://bugzilla.novell.com/show_bug.cgi?id=681055


> Is that problem reproducible with an empty new page?

Yes, always.
Comment 3 Rainer Bielefeld Retired 2011-03-19 04:26:49 UTC
Then I believe the crash is something new, "my" crash also appears in other steps and not with empty pages.
Comment 4 Katarina Behrens 2011-03-24 06:28:54 UTC
Link to strace log https://bugzilla.novell.com/attachment.cgi?id=420339

Cedric, please have a look. CCing also Caolan, due to recent mailmerge fixes he wrote
Comment 5 Caolán McNamara 2011-07-28 04:37:59 UTC
21863 03:27:06.463812 open("/usr/lib/libreoffice/program/../basis-link/program/libdbali.so", O_RDONLY) = -1 ENOENT (No such file or directory)
21863 03:27:06.464262 write(2, "terminate called after throwing an instance of '", 48) = 48
21863 03:27:06.464366 write(2, "com::sun::star::loader::CannotActivateFactoryException", 54) = 54 
21863 03:27:06.464458 write(2, "'\n", 2) = 2


so...., this suggests there was no libdbali.so installed.

Given the /usr/lib prefix I imagine this was distro packages, and I imagine then that the database rpm is split off into its own package, and that one wasn't installed, so it couldn't find the database stuff, didn't handle the "wasn't installed" exception, and fell over and died.

Easy fix is to install whatever package libdbali.so ended up in. I should be able to reproduce this by manually removing libdbali.so and seeing what happens
Comment 6 Caolán McNamara 2011-07-28 06:03:20 UTC
crash fixed with http://cgit.freedesktop.org/libreoffice/writer/commit/?id=e00096e8f8102c2b796337c053983bac336ff05c

caolanm->pmladek: the crash here is triggered because libdbaSUFFIX.so isn't installed. I suspect that the SuSe distro packages have libdba in some sub rpm or other like libreoffice-database or something. Over here in fedora land I stuck libdbaSUFFIX.so into the "core" rpms long ago due to some similar problem as this. The core dba stuff was used by too many things unconditionally to be optional IIRC.
Comment 7 Caolán McNamara 2011-07-28 06:04:02 UTC
edge-case scenario, not proposing for 3-4
Comment 8 Petr Mladek 2011-07-29 03:12:08 UTC
(In reply to comment #6)
> caolanm->pmladek: the crash here is triggered because libdbaSUFFIX.so isn't
> installed.

Yup, we have it in the optional libreoffice-base package. I am going to move it to the core package. Thanks for notification.