Bug 78971 - LibreOffice 4.2.3.3 420m0(Build:3) Calc dumps unwanted debug info to konsole
Summary: LibreOffice 4.2.3.3 420m0(Build:3) Calc dumps unwanted debug info to konsole
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.2.3.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Stephan Bergmann
URL:
Whiteboard: target:4.3.0 target:4.2.5
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 14:38 UTC by IanH
Modified: 2014-05-20 15:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IanH 2014-05-20 14:38:52 UTC
Running LibreOffice calc by invoking it from within "konsole" via a command line of 
    /usr/lib/libreoffice/program/soffice.bin --calc $@ &

When the file to be opened is an Xbase .DBF file, calc dumps some debug trace as output into the konsole window.

Trace is:

debug:22936:1: OFilteredContainer::construct(). Getting metadata ...
debug:22936:1: OFilteredContainer::construct(). Metadata got.
debug:22936:1: OFilteredContainer::construct(). InherentTableTypeRestriction.
debug:22936:1: OFilteredContainer::construct(). Getting tables ...
debug:22936:1: OFilteredContainer::construct(). Tables got.

uname -a gives
Linux tigger 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Version:
LibreOffice 4.2.3.3 420m0(Build:3)

Running on latest fully patched kubuntu 14, which started life as an earlier kubuntu release and has been upgraded over time.

The Xbase .DBF file was created via a Perl DBI script.

Calc opens the file OK and runs as expected, hence this is just a minor annoyance rather than a full-blown bug.

This is repeatable.
Comment 1 Commit Notification 2014-05-20 15:03:30 UTC
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=dc24203e5f20dcbf2818651a8802e67338293b3c

fdo#78971 There's even a git hook to prevent commits containing SAL_DEBUG



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 2 Stephan Bergmann 2014-05-20 15:05:51 UTC
(but note that running soffice.bin directly is wrong, though unrelated)
Comment 3 Commit Notification 2014-05-20 15:06:04 UTC
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "libreoffice-4-2":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=862abf22751c02a495ded3971b9a6e5c3553b514&h=libreoffice-4-2

fdo#78971 There's even a git hook to prevent commits containing SAL_DEBUG


It will be available in LibreOffice 4.2.5.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.