Bug 91704 - UI: Crash on exit after Address Book Source
Summary: UI: Crash on exit after Address Book Source
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2015-05-28 18:32 UTC by Gordo
Modified: 2016-06-01 09:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace of crash (14.68 KB, text/plain)
2015-06-08 14:22 UTC, Buovjaga
Details
backtrace (13.39 KB, text/plain)
2015-07-08 00:47 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordo 2015-05-28 18:32:45 UTC
I found this while trying to reproduce bug 82855.  The addresses were added through the mail merge wizard, but you can add them through Address Book Source if you don't have any.

1. Download https://bugs.documentfoundation.org/attachment.cgi?id=109392
2. New Text Document.
3. Tools → Address Book Source.
4. Click on Address Data Source button.
5. In Step 1, select “Other external data source” and Next.
6. Click on Settings button.
7. From drop-down select “Spreadsheet” and Next.
8. Browse to directory and select addresses.ods, Open and Finish.
9. Click on Step 5 and Finish.
10. Click Cancel.
11. Exit application.
Result:
Crash.

If you already have a source then use the drop-down to pick it and then cancel and exit the application.  Crash.

Removing it from Tools -> Options -> LibreOffice Base -> Databases does not delete it from directory but just the connection to it, I guess.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16

Version: 5.1.0.0.alpha1+
Build ID: bf9c96238e33f63922af35c0c77ceb83ff447d3e
TinderBox: Win-x86@39, Branch:master, Time: 2015-05-27_07:04:47
Comment 1 Buovjaga 2015-06-08 14:22:58 UTC
Created attachment 116371 [details]
Backtrace of crash

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: be8512f99bc9ab18e55aabe01cc0ab1e6baea9e6
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-08_05:58:40
Locale: fi-FI (fi_FI)
Comment 2 Buovjaga 2015-06-08 14:24:15 UTC
Reproduced, see bt above.
Comment 3 Julien Nabet 2015-07-07 21:18:42 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this.

There have been quite fixes about VclPtr work.
For the test, could you give a try with a more recent LO version?
If you still reproduce this, could you attach a bt?
Comment 4 Gordo 2015-07-08 00:47:56 UTC
Created attachment 117112 [details]
backtrace
Comment 5 Gordo 2015-07-08 00:49:59 UTC
yep

Windows Vista 64
Version: 5.1.0.0.alpha1+
Build ID: a625cd702700ae1773966a3133d27027d1c4d083
TinderBox: Win-x86@39, Branch:master, Time: 2015-07-07_08:23:06
Comment 6 Volker 2016-02-06 08:08:38 UTC
Just reproduced this with LibreOffice 5.0.4.2x64 Build-ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78 (de-DE)

- Create some (irrelevant) address book source from .ods document using Extras/Address Book Source/ by clicking the "Address data source" button, choose "other external data source" in the assistent that is shown, then click "Settings", choose spreadsheet document as data source (.ods), enter path to your .ods document, assign some fields if you want, then click "Complete". leave "[X] Make address book available in all components of Libre Office" checked. Some .odb file will be created. Exit writer. => Crash.

Libre Office has stopped working. Unhandled Win32 exception. Close/Debug.

- Same happens, if you already have an address book source attached. Just open Extras/Address Book Source, click OK, exite Writer. => Crash.

- Actually _using_ the connection (via F4) however works without crash on exit.

Please excuse the poor translation, using German version/UI of Libre Office. 


Call stack:

>	KernelBase.dll!000007fefd4c940d()	Unknown
 	msvcr120.dll!000007fefa7be3d9()	Unknown
 	ntdll.dll!00000000773a0c51()	Unknown
 	cppuhelper3MSC.dll!000007fee5523dae()	Unknown
 	mergedlo.dll!000007fec846c214()	Unknown
 	mergedlo.dll!000007fec944ddb4()	Unknown
 	mergedlo.dll!000007fec944e124()	Unknown
 	mergedlo.dll!000007fec944e422()	Unknown
 	mergedlo.dll!000007fec848bed5()	Unknown
 	soffice.bin!000000013f48102e()	Unknown
 	soffice.bin!000000013f48139d()	Unknown
 	kernel32.dll!000000007724652d()	Unknown
 	ntdll.dll!000000007737c541()	Unknown

Eventvwr.msc:

Faulting application name: soffice.bin, version: 5.0.4.2, time stamp: 0x566a5939
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
Exception code: 0xc0000005
Fault offset: 0x000000000000940d
Faulting process id: 0xb10
Faulting application start time: 0x01d160b380daa6cf
Faulting application path: C:\Program Files\LibreOffice\program\soffice.bin
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: c6311d89-cca7-11e5-af72-005056c00008

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: soffice.bin
P2: 5.0.4.2
P3: 566a5939
P4: KERNELBASE.dll
P5: 6.1.7601.18229
P6: 51fb1677
P7: c0000005
P8: 000000000000940d
P9: 
P10: 

Attached files:

These files may be available here:


Analysis symbol: 
Rechecking for solution: 0
Report Id: c6311d89-cca7-11e5-af72-005056c00008
Report Status: 0
Comment 7 Julien Nabet 2016-05-06 14:51:37 UTC
Any better with last stable version 5.1.2?
Comment 8 Volker 2016-05-07 06:13:27 UTC
Hi Julien!

Sorry, no luck. Just updated to Libre Office 5.1.2.2 (LibreOffice_5.1.2_Win_x64.msi), same situation:

- Have some .ods file added as address book source.
- Open writer.
- Open Extras/Adreßbuchquelle. Assign some data fields ifyou wish.
- Confirm with OK.
- Close Writer with [X].
=> LibreOffice has stopped working, Close/Debug.

HTH,
Volker

Call stack:
>	KernelBase.dll!000007fefd06940d()	Unknown
 	msvcr120.dll!000007feeda2e3d9()	Unknown
 	ntdll.dll!0000000076e60c51()	Unknown
 	cppuhelper3MSC.dll!000007fee90432be()	Unknown
 	mergedlo.dll!000007fed97f25f4()	Unknown
 	mergedlo.dll!000007feda7b1d64()	Unknown
 	mergedlo.dll!000007feda7b2114()	Unknown
 	mergedlo.dll!000007feda7b2422()	Unknown
 	mergedlo.dll!000007fed9810fa5()	Unknown
 	soffice.bin!000000013f98102e()	Unknown
 	soffice.bin!000000013f98139d()	Unknown
 	kernel32.dll!0000000076c0652d()	Unknown
 	ntdll.dll!0000000076e3c541()	Unknown

Threads:
Not Flagged	>	3672	0	Main Thread	Main Thread	msvcr120.dll!000007feeda2e3d9	Normal
Not Flagged		3944	0	Worker Thread	sal3.dll thread	sal3.dll!000007feecc1b034	Normal
Not Flagged		2356	0	Worker Thread	GdiPlus.dll thread	GdiPlus.dll!000007fefb362c30	Normal
Not Flagged		3392	0	Worker Thread	msvcr120.dll thread	sal3.dll!000007feecc50df5	Normal
Not Flagged		3248	0	Worker Thread	ntdll.dll thread	ntdll.dll!0000000076e62bba	Normal
Not Flagged		768	0	Worker Thread	ntdll.dll thread	ntdll.dll!0000000076e6186a	Normal
Not Flagged		3368	0	Worker Thread	ntdll.dll thread	ntdll.dll!0000000076e62bba	Normal
Not Flagged		3644	0	Worker Thread	ntdll.dll thread	ntdll.dll!0000000076e62bba	Normal
Not Flagged		1900	0	RPC Thread	RPC Callback Thread	ole32.dll!000007fefd2901d0	Normal
Not Flagged		3620	0	Worker Thread	ntdll.dll thread	ntdll.dll!0000000076e62bba	Normal

Event viewer:
Faulting application name: soffice.bin, version: 5.1.2.2, time stamp: 0x56fbfe48
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
Exception code: 0xc0000005
Fault offset: 0x000000000000940d
Faulting process id: 0xf40
Faulting application start time: 0x01d1a82675f7c2d3
Faulting application path: C:\Program Files\LibreOffice\program\soffice.bin
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: c7469795-1419-11e6-809d-005056c00008
Comment 9 Buovjaga 2016-05-09 10:52:15 UTC
Volker: I don't reproduce with the original steps OR with your steps.
Could you test with a 5.2 alpha version?

http://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/
It installs separately.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha1+
Build ID: 3d27afd26f7b85c46a7c7d08498000b9dbcea1c8
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-05-09_02:42:15
Locale: fi-FI (fi_FI)
Comment 10 Buovjaga 2016-06-01 09:21:00 UTC
No reply.
As I was the first to reproduce this and now cannot repro on the same computer, I will close this as WFM.
Comment 11 Volker 2016-06-01 09:39:02 UTC
Hi Buovjaga !

> No reply.
> As I was the first to reproduce this and now cannot repro on the same computer,
> I will close this as WFM.

Thanks for your time. Unfortunately, I cannot test this issue with Win 7 Pro 64-bit Version: 5.2.0.0.alpha1+, don't have time for that at the moment. As soon as 5.2 is officially available and I'm updating my computers, I'll revisit the problem.

Greets,
Volker