Bug 39127 - crash using database calls in a macro
Summary: crash using database calls in a macro
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
3.4.1 release
Hardware: x86 (IA32) Windows (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 01:24 UTC by Laurent Godard
Modified: 2012-08-31 10:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
click the button to start th emacro (11.90 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-07-11 01:24 UTC, Laurent Godard
Details
the database (put it in the same directory and rename to .mybase.odb) (3.38 KB, application/vnd.oasis.opendocument.database)
2011-07-11 01:25 UTC, Laurent Godard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Godard 2011-07-11 01:24:40 UTC
Created attachment 48952 [details]
click the button to start th emacro

2 attached files to reproduce, to be in the same directory
- launcher.ods : click te button to start
- .mybase.odb : the database that will be used

the macro loops 10 times, registering, unregistering datasource to the .odb, connects and disconnects

after randomly 6-10 calls to goMain, libro windows seven crashes with trhat details (if useful) :

Signature du problème :

  Nom dévénement de problème:	APPCRASH

  Nom de lapplication:	soffice.bin

  Version de lapplication:	3.4.101.500

  Horodatage de lapplication:	4e170c32

  Nom du module par défaut:	dbami.dll

  Version du module par défaut:	3.4.101.500

  Horodateur du module par défaut:	4e1a9fa5

  Code de lexception:	c0000005

  Décalage de lexception:	00069621

  Version du système:	6.1.7601.2.1.0.256.48

  Identificateur de paramètres régionaux:	1036

  Information supplémentaire n° 1:	0a9e

  Information supplémentaire n° 2:	0a9e372d3b4ad19135b953a78882e789

  Information supplémentaire n° 3:	0a9e

  Information supplémentaire n° 4:	0a9e372d3b4ad19135b953a78882e789
Comment 1 Laurent Godard 2011-07-11 01:25:19 UTC
Created attachment 48953 [details]
the database (put it in the same directory and rename to .mybase.odb)
Comment 2 Petr Mladek 2011-07-12 09:35:40 UTC
Comment on attachment 48953 [details]
the database (put it in the same directory and rename to .mybase.odb)

The files was downloaded without the initial dot in the file name. I had to rename it to get it working.
Comment 3 Petr Mladek 2011-07-12 09:41:05 UTC
Hmm, I was unable to reproduce this on Linux with my custom build based on LO-3.4.2-rc1 sources. Sigh, these random bugs are nightmare.

I reduce the severity a bit. Such random and relatively specialized bugs should not block the release.
Comment 4 Noel Power 2011-07-13 02:43:37 UTC
hmm on master I see an immediate core

Program received signal SIGSEGV, Segmentation fault.
0x00007fffca499536 in dbaui::OApplicationView::selectContainer (this=0x0, _eType=dbaui::E_FORM) at /media/FreeAgent-3/LibreOffice-master/bootstrap/dbaccess/source/ui/app/AppView.cxx:490
(gdb) where
#0  0x00007fffca499536 in dbaui::OApplicationView::selectContainer (this=0x0, _eType=dbaui::E_FORM) at /media/FreeAgent-3/LibreOffice-master/bootstrap/dbaccess/source/ui/app/AppView.cxx:490
#1  0x00007fffca454908 in dbaui::OApplicationController::OnSelectContainer (this=0x24de390, _pType=0x2) at /media/FreeAgent-3/LibreOffice-master/bootstrap/dbaccess/source/ui/app/AppController.cxx:1940
#2  0x00007fffca4548d5 in dbaui::OApplicationController::LinkStubOnSelectContainer (pThis=0x24de390, pCaller=0x2) at /media/FreeAgent-3/LibreOffice-master/bootstrap/dbaccess/source/ui/app/AppController.cxx:1937
#3  0x00007fffca496612 in Link::Call (this=0x24de7a8, pCaller=0x2) at /media/FreeAgent-3/LibreOffice-master/bootstrap/solver/350/unxlngx6.pro/inc/tools/link.hxx:140
#4  0x00007fffca4a2d93 in dbaui::OAsyncronousLink::OnAsyncCall (this=0x24de7a0, _pArg=0x2) at /media/FreeAgent-3/LibreOffice-master/bootstrap/dbaccess/source/ui/browser/AsyncronousLink.cxx:104
#5  0x00007fffca4a2cc1 in dbaui::OAsyncronousLink::LinkStubOnAsyncCall (pThis=0x24de7a0, pCaller=0x2) at /media/FreeAgent-3/LibreOffice-master/bootstrap/dbaccess/source/ui/browser/AsyncronousLink.cxx:90
#6  0x00007ffff381bee8 in ?? () from /media/FreeAgent-3/LibreOffice-master/bootstrap/INSTALL_LINK/program/../basis-link/program/libvcllo.so
#7  0x00007fffe8b965e9 in SalDisplay::DispatchInternalEvent() () from /media/FreeAgent-3/LibreOffice-master/bootstrap/INSTALL_LINK/basis3.5/program/libvclplug_genlo.so


maybe a similar thing happening on windows on 3.4.2 
I don't have a 3.4.2 build, starting one now and I will see if I can get a trace, other than that no idea really, this stuff is unfamiliar to me as anybody else
Comment 5 Noel Power 2011-07-14 01:55:18 UTC
can't reproduce with 3.4.2 (branch) build, valgrind isn't helpful either as it spouts lots of ( presumably ) false positives to do with the invocation of java? before finally bailing out ( and crashing ). 
I've never used valgrind successfully with libreoffice + java so I am not sure there is any additional significance in the crash + valgrind.

I notice it this is marked as windows, perhaps tor might have more luck trying to reproduce
Comment 6 Björn Michaelsen 2011-12-23 12:27:17 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 7 Florian Reisinger 2012-08-14 14:02:40 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 8 Florian Reisinger 2012-08-14 14:03:36 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 9 Florian Reisinger 2012-08-14 14:08:11 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 10 Florian Reisinger 2012-08-14 14:10:16 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian