[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2022-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

--- Comment #7 from Commit Notification 
 ---
Chris Sherlock committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fced837029123f34a125f5a794e5681ed297fc2a

tdf#146478 vcl: vcldemo and other vcl examples segfault on close

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2022-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.4.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

--- Comment #6 from Chris Sherlock  ---
Hi Noel, changing to an assert() seems to have caused problems for vcldemo amd
mtfdemo (which we use for dumping metafiles to XML format).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

--- Comment #5 from Chris Sherlock  ---
So this commit changed the SAL_WARN to an assert():

https://cgit.freedesktop.org/libreoffice/core/commit/framework/source/services/desktop.cxx?id=6e35794cad555485955c3b43593497dcdbf29840

author  Noel Grandin  2020-07-27 11:06:41
+0200
committer   Noel Grandin  2020-07-30
10:49:27 +0200
commit  6e35794cad555485955c3b43593497dcdbf29840 (patch)
tree430c0299f21fb62faf6d0ba5e04410fafdda14d2
/framework/source/services/desktop.cxx
parent  a6e02f6337f038a445b858bb91bf14d1a14768e4 (diff)
terminate XDesktop properly in unit tests
So that the UNO constructor work can continue - where we need the
desktop to be disposed properly so that all UNO constructors objects
have their dispose() called, and they can clean up their global state.

We detect this case by changing a SAL_WARN to an assert in
Desktop::disposing()

(*) in ~ScTabViewShell, don't call EnterHandler, because that tries to
create EditEngine's and other stuff, which crashes
(*) Need a fake singleton so that the servicemanager calls dispose()
 on the AnalysAddIn and we can clear the global variable there.

Change-Id: Id13b51e17afc16fcbbc65d64281cdf847e4a58cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99640
Tested-by: Jenkins
Reviewed-by: Noel Grandin 

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

--- Comment #4 from Chris Sherlock  ---
The warning:

warn:i18nlangtag:1855739:1855739:i18nlangtag/source/isolang/mslangid.cxx:105:
MsLangId::getConfiguredSystemLanguage() - not configured yet

Just needs to have the following added to vcldemo's init function:

LanguageTag::setConfiguredSystemLanguage(MsLangId::getSystemLanguage());

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

--- Comment #3 from Chris Sherlock  ---
Happens on MacOS also.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

--- Comment #2 from Julien Nabet  ---
Just for info, concerning
warn:vcl:1855739:1855739:vcl/source/image/ImplImageTree.cxx:603:
ImplImageTree::parseLinkFile: icon links.txt parse error, incomplete link at
line 2643, I submitted this patch:
https://gerrit.libreoffice.org/c/core/+/127760

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146478] vcldemo and other vcl examples exit with: "Aborted (core dumped)"

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146478

Julien Nabet  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
 CC||serval2...@yahoo.fr

--- Comment #1 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed these logs:
warn:i18nlangtag:1855739:1855739:i18nlangtag/source/isolang/mslangid.cxx:105:
MsLangId::getConfiguredSystemLanguage() - not configured yet
warn:vcl:1855739:1855739:vcl/source/image/ImplImageTree.cxx:603:
ImplImageTree::parseLinkFile: icon links.txt parse error, incomplete link at
line 2643
warn:i18nlangtag:1855739:1855739:i18nlangtag/source/isolang/mslangid.cxx:105:
MsLangId::getConfiguredSystemLanguage() - not configured yet
DemoWin::Paint(0,0,1804,979)
DemoWin::Paint(0,0,1804,979)
DemoWin::Paint(0,0,1919,1010)
DemoWin::Paint(0,0,1919,1010)
DemoWin::Paint(0,0,1919,1010)
DemoWin::Paint(0,0,1919,1010)
DemoWin::Paint(0,0,1919,1010)
DemoWin::Paint(0,0,1919,1010)
vcldemo:
/home/julien/lo/libreoffice/framework/source/services/desktop.cxx:1045: virtual
void framework::Desktop::disposing(): Assertion `m_bIsShutdown && "Desktop
disposed before terminating it"' failed.
Abandon

-- 
You are receiving this mail because:
You are the assignee for the bug.