[Bug 159844] double free in __cxa_finalize

2024-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

QA Administrators  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|NEEDINFO|UNCONFIRMED

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

[Bug 159844] double free in __cxa_finalize

2024-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

--- Comment #7 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

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

[Bug 159844] double free in __cxa_finalize

2024-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

--- Comment #6 from Robert Nagy  ---
(In reply to Julien Nabet from comment #4)
> I gave a try following your last comment:
> touch /tmp/tmp.92SyOf6UmZ
> 
> soffice --calc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ 
> convert /tmp/tmp.92SyOf6UmZ as a Calc document ->
> /home/julien/lo/libreoffice/instdir/program/tmp.ods using filter : calc8
> Overwriting: /home/julien/lo/libreoffice/instdir/program/tmp.ods
> 
> I also tried with master sources updated today (with debug):
> 
> 
> /soffice --calc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ 
> WPSDocument::isFileFormatSupported()
> libwps::readU8: can not read data
> WPSDocument::isFileFormatSupported()
> WPSDocument::isFileFormatSupported()
> WPSDocument::isFileFormatSupported()
> WPSDocument::isFileFormatSupported()
> WPSDocument::isFileFormatSupported()
> WPSDocument::isFileFormatSupported()
> AbiDocument::isFileFormatSupported
> Found xml parser severity error Extra content at the end of the document
> 
> WPSDocument::isFileFormatSupported()
> VisioDocument: version 0
> Found xml parser severity error Extra content at the end of the document
> 
> Throwing EndOfStreamException
> Throwing EndOfStreamException
> warn:legacy.tools:552566:552566:sfx2/source/appl/appuno.cxx:454: invalid
> type for Stream
> convert /tmp/tmp.92SyOf6UmZ as a Calc document ->
> /home/julien/lo/libreoffice/instdir/program/tmp.ods using filter : calc8
> warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:
> 164: getStyleFamilies() from XModel failed for export!
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-column with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-row with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-cell with mismatching mapper !
> P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:
> 164: getStyleFamilies() from XModel failed for export!
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-column with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-row with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-cell with mismatching mapper !
> P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:
> 164: getStyleFamilies() from XModel failed for export!
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-column with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-row with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-cell with mismatching mapper !
> P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
> warn:legacy.osl:552566:552566:sc/source/core/data/document.cxx:5525: Wrong
> index in AttrArray
> warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:
> 164: getStyleFamilies() from XModel failed for export!
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-column with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-row with mismatching mapper !
> P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
> warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
> duplicate family table-cell with mismatching mapper !
> P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
> warn:legacy.osl:552566:552566:xmloff/source/core/SettingsExportHelper.cxx:
> 177: this type is not implemented now
> warn:vcl.schedule.deinit:552566:552566:vcl/source/app/scheduler.cxx:176:
> DeInit task: Timer a: 1 p: 1 graphic::Manager maSwapOutTimer 1ms
> (0x7f3b6ae5b600)
> warn:vcl.schedule.deinit:552566:552566:vcl/source/app/scheduler.cxx:197:
> DeInit active tasks: 1 (ignored: 0)
> 
> So no double free here.
> 
> I can't help here=>uncc myself.


The problem seems to be that all wpft{calc,impress,draw...} libraries link
to libetonyek and in the case of an unknown file extension the modules are
loaded one aft

[Bug 159844] double free in __cxa_finalize

2024-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

--- Comment #5 from Robert Nagy  ---
Are you using an external or internal libetonyek?

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

[Bug 159844] double free in __cxa_finalize

2024-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

Julien Nabet  changed:

   What|Removed |Added

 CC|serval2...@yahoo.fr |

--- Comment #4 from Julien Nabet  ---
I gave a try following your last comment:
touch /tmp/tmp.92SyOf6UmZ

soffice --calc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ 
convert /tmp/tmp.92SyOf6UmZ as a Calc document ->
/home/julien/lo/libreoffice/instdir/program/tmp.ods using filter : calc8
Overwriting: /home/julien/lo/libreoffice/instdir/program/tmp.ods

I also tried with master sources updated today (with debug):


/soffice --calc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ 
WPSDocument::isFileFormatSupported()
libwps::readU8: can not read data
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
AbiDocument::isFileFormatSupported
Found xml parser severity error Extra content at the end of the document

WPSDocument::isFileFormatSupported()
VisioDocument: version 0
Found xml parser severity error Extra content at the end of the document

Throwing EndOfStreamException
Throwing EndOfStreamException
warn:legacy.tools:552566:552566:sfx2/source/appl/appuno.cxx:454: invalid type
for Stream
convert /tmp/tmp.92SyOf6UmZ as a Calc document ->
/home/julien/lo/libreoffice/instdir/program/tmp.ods using filter : calc8
warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:164:
getStyleFamilies() from XModel failed for export!
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-column with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-row with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-cell with mismatching mapper !
P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:164:
getStyleFamilies() from XModel failed for export!
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-column with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-row with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-cell with mismatching mapper !
P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:164:
getStyleFamilies() from XModel failed for export!
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-column with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-row with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-cell with mismatching mapper !
P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
warn:legacy.osl:552566:552566:sc/source/core/data/document.cxx:5525: Wrong
index in AttrArray
warn:xmloff:552566:552566:xmloff/source/text/XMLTextListAutoStylePool.cxx:164:
getStyleFamilies() from XModel failed for export!
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-column with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-row with mismatching mapper !
P25SvXMLExportPropertyMapper 25SvXMLExportPropertyMapper
warn:xmloff:552566:552566:xmloff/source/style/impastpl.cxx:368: Adding
duplicate family table-cell with mismatching mapper !
P25SvXMLExportPropertyMapper 28XMLShapeExportPropertyMapper
warn:legacy.osl:552566:552566:xmloff/source/core/SettingsExportHelper.cxx:177:
this type is not implemented now
warn:vcl.schedule.deinit:552566:552566:vcl/source/app/scheduler.cxx:176: DeInit
task: Timer a: 1 p: 1 graphic::Manager maSwapOutTimer 1ms (0x7f3b6ae5b600)
warn:vcl.schedule.deinit:552566:552566:vcl/source/app/scheduler.cxx:197: DeInit
active tasks: 1 (ignored: 0)

So no double free here.

I can't help here=>uncc myself.

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

[Bug 159844] double free in __cxa_finalize

2024-02-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

--- Comment #3 from Robert Nagy  ---
Yes that's a temporary file that includes csv formatted data, but that is
actually
irrelevant in this case.
You can create an empty file as well.

$ touch /tmp/tmp.92SyOf6UmZ
$ scalc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ 
convert /tmp/tmp.92SyOf6UmZ as a Calc document -> /home/robert/tmp.ods using
filter : calc8
soffice.bin(19854) in free(): double free 0x6f76d02f930

However if you create a file with file extension the double free does not
happen.

$ touch /tmp/tmp.92SyOf6UmZ.csv
$ scalc --headless --convert-to ods /tmp/tmp.92SyOf6UmZ.csv 
convert /tmp/tmp.92SyOf6UmZ.csv as a Calc document ->
/home/robert/tmp.92SyOf6UmZ.ods using filter : calc8

I assume that the code tries to rely on the file extension and then goes
through the filters to see what format it is.

The output filename is also buggy as if you have a dot in the filename
it will automatically assume that as the extension and the output filepath
is going to be wrong, see the first invocation.
This might be okay behavior on Windows, where the file extension actually
matters.

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

[Bug 159844] double free in __cxa_finalize

2024-02-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
What's "/tmp/.LQ4drKfGZ7" ? I mean it's just a temp of file without extension
and possibly without specific format.

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

[Bug 159844] double free in __cxa_finalize

2024-02-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

Xisco FaulĂ­  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO
 CC||xiscofa...@libreoffice.org

--- Comment #1 from Xisco FaulĂ­  ---
Thank you for reporting the bug. Please attach a sample document, as this makes
it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive
information before attaching it. 
See
https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F
for help on how to do so.)

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

[Bug 159844] double free in __cxa_finalize

2024-02-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159844

Robert Nagy  changed:

   What|Removed |Added

Summary|double free in __   |double free in
   ||__cxa_finalize

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