[Desktop-packages] [Bug 1562971] Re: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

2021-08-20 Thread Bug Watch Updater
Launchpad has imported 30 comments from the remote bug at
https://bugs.documentfoundation.org/show_bug.cgi?id=99352.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2016-04-16T19:19:23+00:00 Björn Michaelsen wrote:

Created attachment 124413
patch to look for leaked VclPtrs at the end of DeInitVCL

Some VclPtrs leak past the end of DeInitVCL, which is unfortunate as
they might still be subject to callback and assume VCL to be alive.

Applying the attached patch and running:

 make subsequencheck; find workdir/JunitTest/ -name '*log'|xargs grep
LEAK|sed -e 's/^.*LEAK/LEAK/'|sort|uniq -c

result in:

  1 LEAKED VCLPTR: P10SfxPrinter refered to from a PK6VclPtrI10SfxPrinterE
  1 LEAKED VCLPTR: P12OpenGLWindow refered to from a 
PK6VclPtrI12OpenGLWindowE
 27 LEAKED VCLPTR: P12OutputDevice refered to from a 
PK6VclPtrI12OutputDeviceE
 14 LEAKED VCLPTR: P13VirtualDevice refered to from a 
PK6VclPtrI13VirtualDeviceE
  2 LEAKED VCLPTR: PN3vcl6WindowE refered to from a PK6VclPtrIN3vcl6WindowEE
  1 LEAKED VCLPTR: PN5chart11ChartWindowE refered to from a 
PK6VclPtrIN5chart11ChartWindowEE

It would be good to have all those eliminated and explicitly have them
set to nullptrs deterministically in DeInitVCL (or earlier).

Additional notes:
- Some VclPtr have a vptr of NULL while still alive, which is discomforting in 
itself
- Doing a build with the patch and e.g. playing through MozTrap testcases 
manually to find well-reproducable leaks likely is a nice EasyHack

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1562971/comments/9


On 2016-04-16T19:42:04+00:00 Björn Michaelsen wrote:

Whoops, there is more than JunitTests. This:

  find workdir/JunitTest/ workdir/CppunitTest/ workdir/PythonTest/ -name
'*log'|xargs grep LEAK|sed -e 's/^.*LEAK/LEAK/'|sort|uniq -c|sort -n

yields:

  1 Binary file workdir/CppunitTest/xmlsecurity_signing.test.log matches
  1 Binary file workdir/JunitTest/unordf_complex/done.log matches
  1 LEAKED VCLPTR: P12OpenGLWindow refered to from a 
PK6VclPtrI12OpenGLWindowE
  1 LEAKED VCLPTR: P12ScGridWindow refered to from a 
PK6VclPtrI12ScGridWindowE
  1 LEAKED VCLPTR: P12ScTabControl refered to from a 
PK6VclPtrI12ScTabControlE
  1 LEAKED VCLPTR: P13ImplTabButton refered to from a 
PK6VclPtrI13ImplTabButtonE
  1 LEAKED VCLPTR: P13ScTabSplitter refered to from a 
PK6VclPtrI13ScTabSplitterE
  1 LEAKED VCLPTR: P14ScCornerButton refered to from a 
PK6VclPtrI14ScCornerButtonE
  1 LEAKED VCLPTR: P14SfxSplitWindow refered to from a 
PK6VclPtrI14SfxSplitWindowE
  1 LEAKED VCLPTR: P21SfxEmptySplitWin_Impl refered to from a 
PK6VclPtrI21SfxEmptySplitWin_ImplE
  1 LEAKED VCLPTR: P8ScColBar refered to from a PK6VclPtrI8ScColBarE
  1 LEAKED VCLPTR: P8ScRowBar refered to from a PK6VclPtrI8ScRowBarE
  1 LEAKED VCLPTR: PN5chart11ChartWindowE refered to from a 
PK6VclPtrIN5chart11ChartWindowEE
  2 LEAKED VCLPTR: P10PushButton refered to from a PK6VclPtrI10PushButtonE
  2 LEAKED VCLPTR: P10TextWindow refered to from a PK6VclPtrI10TextWindowE
  2 LEAKED VCLPTR: P11DecoToolBox refered to from a PK6VclPtrI11DecoToolBoxE
  2 LEAKED VCLPTR: P13SvTreeListBox refered to from a 
PK6VclPtrI13SvTreeListBoxE
  2 LEAKED VCLPTR: P16ExtMultiLineEdit refered to from a 
PK6VclPtrI16ExtMultiLineEditE
  2 LEAKED VCLPTR: P16VclMultiLineEdit refered to from a 
PK6VclPtrI16VclMultiLineEditE
  2 LEAKED VCLPTR: P17SvtIconChoiceCtrl refered to from a 
PK6VclPtrI17SvtIconChoiceCtrlE
  2 LEAKED VCLPTR: P7ToolBox refered to from a PK6VclPtrI7ToolBoxE
  2 LEAKED VCLPTR: P8Splitter refered to from a PK6VclPtrI8SplitterE
  2 LEAKED VCLPTR: P9FixedLine refered to from a PK6VclPtrI9FixedLineE
  2 LEAKED VCLPTR: P9FixedText refered to from a PK6VclPtrI9FixedTextE
  2 LEAKED VCLPTR: P9StatusBar refered to from a PK6VclPtrI9StatusBarE
  2 LEAKED VCLPTR: PN5dbaui12OTitleWindowE refered to from a 
PK6VclPtrIN5dbaui12OTitleWindowEE
  2 LEAKED VCLPTR: PN5dbaui13OCreationListE refered to from a 
PK6VclPtrIN5dbaui13OCreationListEE
  2 LEAKED VCLPTR: PN5dbaui14OPreviewWindowE refered to from a 
PK6VclPtrIN5dbaui14OPreviewWindowEE
  2 LEAKED VCLPTR: PN5dbaui16OAppBorderWindowE refered to from a 
PK6VclPtrIN5dbaui16OAppBorderWindowEE
  2 LEAKED VCLPTR: PN5dbaui16OApplicationViewE refered to from a 
PK6VclPtrIN5dbaui16OApplicationViewEE
  2 LEAKED VCLPTR: PN5dbaui20OAppDetailPageHelperE refered to from a 
PK6VclPtrIN5dbaui20OAppDetailPageHelperEE
  2 LEAKED VCLPTR: PN5dbaui22OApplicationDetailViewE refered to from a 
PK6VclPtrIN5dbaui22OApplicationDetailViewEE
  2 LE

[Desktop-packages] [Bug 1562971] Re: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

2017-04-05 Thread Bug Watch Updater
** Changed in: df-libreoffice
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1562971

Title:
  soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

Status in LibreOffice:
  Fix Released
Status in libreoffice package in Ubuntu:
  Fix Released

Bug description:
  closing the word processor there was a crash

  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: libreoffice-core 1:5.1.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar 28 11:15:09 2016
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2016-02-09 (47 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160209)
  ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --writer 
file:///tmp/mozilla_mats0/CR%20CFTG_00017%2012%202%202%20%20CRUDN%20with%20CoAP%20method%20modification_r1.docx
 --splash-pipe=5
  Signal: 11
  SourcePackage: libreoffice
  StacktraceTop:
   SfxBroadcaster::AddListener(SfxListener&) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   SfxListener::StartListening(SfxBroadcaster&, bool) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
   SvxTextEditSource::SvxTextEditSource(SdrObject&, SdrText*, SdrView&, 
vcl::Window const&) () from /usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
  Title: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1562971/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1562971] Re: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

2017-03-01 Thread Bug Watch Updater
** Changed in: df-libreoffice
   Status: Unknown => Confirmed

** Changed in: df-libreoffice
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1562971

Title:
  soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

Status in LibreOffice:
  Confirmed
Status in libreoffice package in Ubuntu:
  Fix Released

Bug description:
  closing the word processor there was a crash

  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: libreoffice-core 1:5.1.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar 28 11:15:09 2016
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2016-02-09 (47 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160209)
  ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --writer 
file:///tmp/mozilla_mats0/CR%20CFTG_00017%2012%202%202%20%20CRUDN%20with%20CoAP%20method%20modification_r1.docx
 --splash-pipe=5
  Signal: 11
  SourcePackage: libreoffice
  StacktraceTop:
   SfxBroadcaster::AddListener(SfxListener&) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   SfxListener::StartListening(SfxBroadcaster&, bool) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
   SvxTextEditSource::SvxTextEditSource(SdrObject&, SdrText*, SdrView&, 
vcl::Window const&) () from /usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
  Title: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1562971/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1562971] Re: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

2017-03-01 Thread Björn Michaelsen
** Changed in: libreoffice (Ubuntu)
   Status: Confirmed => Fix Released

** Bug watch added: Document Foundation Bugzilla #99352
   https://bugs.documentfoundation.org/show_bug.cgi?id=99352

** Also affects: df-libreoffice via
   https://bugs.documentfoundation.org/show_bug.cgi?id=99352
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1562971

Title:
  soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

Status in LibreOffice:
  Unknown
Status in libreoffice package in Ubuntu:
  Fix Released

Bug description:
  closing the word processor there was a crash

  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: libreoffice-core 1:5.1.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar 28 11:15:09 2016
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2016-02-09 (47 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160209)
  ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --writer 
file:///tmp/mozilla_mats0/CR%20CFTG_00017%2012%202%202%20%20CRUDN%20with%20CoAP%20method%20modification_r1.docx
 --splash-pipe=5
  Signal: 11
  SourcePackage: libreoffice
  StacktraceTop:
   SfxBroadcaster::AddListener(SfxListener&) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   SfxListener::StartListening(SfxBroadcaster&, bool) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
   SvxTextEditSource::SvxTextEditSource(SdrObject&, SdrText*, SdrView&, 
vcl::Window const&) () from /usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
  Title: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1562971/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1562971] Re: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

2017-03-01 Thread Björn Michaelsen
A look at 
https://errors.ubuntu.com/problem/46c2346eba943fb6bb50fb40be1d9a70b1432661 
shows:
31677 total instances reported
2 instances on LibreOffice 5.2.x or later

So this seems to be fixed for yakkety and later.

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1562971

Title:
  soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()

Status in libreoffice package in Ubuntu:
  Fix Released

Bug description:
  closing the word processor there was a crash

  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: libreoffice-core 1:5.1.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar 28 11:15:09 2016
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2016-02-09 (47 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160209)
  ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --writer 
file:///tmp/mozilla_mats0/CR%20CFTG_00017%2012%202%202%20%20CRUDN%20with%20CoAP%20method%20modification_r1.docx
 --splash-pipe=5
  Signal: 11
  SourcePackage: libreoffice
  StacktraceTop:
   SfxBroadcaster::AddListener(SfxListener&) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   SfxListener::StartListening(SfxBroadcaster&, bool) () from 
/usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
   SvxTextEditSource::SvxTextEditSource(SdrObject&, SdrText*, SdrView&, 
vcl::Window const&) () from /usr/lib/libreoffice/program/libmergedlo.so
   ?? () from /usr/lib/libreoffice/program/libmergedlo.so
  Title: soffice.bin crashed with SIGSEGV in SfxBroadcaster::AddListener()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1562971/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp