Bug 60804 - Print to File leads to Crash
Summary: Print to File leads to Crash
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) Master
Hardware: All All
: highest critical
Assignee: Not Assigned
Whiteboard: target:4.1.0
Keywords: regression
Depends on:
Reported: 2013-02-13 16:54 UTC by Joel Madero
Modified: 2013-02-22 12:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

backtrace log (20.09 KB, text/plain)
2013-02-13 20:16 UTC, Jorendc

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Madero 2013-02-13 16:54:25 UTC
1. Open component (spreadsheet for instance)
2. Go to File -> Print
3. Click on options tab
4. Check "print to file"
5. Click on "Print to file" button at bottom

Result - CRASH

Expected - No crash, save dialog comes up for pdf creation

Makes triage work quite difficult without this option. 

Regression since release
Comment 1 Jorendc 2013-02-13 17:03:14 UTC
I can confirm this using Mac OSX 10.8.2 LibreOffice Version (Build ID: 871712ad62bb01359c29713a148a5673e26df1a)
TinderBox: MacOSX-Intel@1-built_no-moz_on_10.6.8, Branch:master, Time: 2013-02-13_00:15:32
Comment 2 Jorendc 2013-02-13 17:05:48 UTC
Also can reproduce using Linux Mint 14 x64 and LibreOffice Version (Build ID: cbc722733bb272b0f26efec09b478bed9a3cdb9)

Console output:

terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'
Exited with code '134'
Comment 3 Jorendc 2013-02-13 17:08:19 UTC
Can't bibisect this using bibisect40 package.

This feature works using latest version ( Version (Build ID: 8450a99c744e9005f19173e4df35d65640bcf5c )
Comment 4 Jorendc 2013-02-13 20:16:35 UTC
Created attachment 74782 [details]
backtrace log
Comment 5 Markus Mohrhard 2013-02-13 20:17:41 UTC
Hey Stephan,

this one is for you. This regression is related to the uno conversion from Noel in print3.cxx
Comment 6 Noel Grandin 2013-02-14 14:00:04 UTC
Found the bug, somehow I forgot to make SalGtkFilePicker.cxx implement XFilePicker3.

Will have a fix in a day or so.
Comment 7 Not Assigned 2013-02-15 06:05:34 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":


fix fdo#60804 - Print to File leads to Crash

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:
Affected users are encouraged to test the fix and report feedback.
Comment 8 steve 2013-02-15 09:48:56 UTC
Noel, is this fixed? It's at least assigned so setting to assigned.
Comment 9 Jorendc 2013-02-22 12:19:41 UTC
@stevebell: I see you changed the bug status from NEW to ASSIGNED, but there is nobody in the 'assigned to' field. Therefore I mark it back to NEW.
Comment 10 Jorendc 2013-02-22 12:22:56 UTC
(In reply to comment #8)
> Noel, is this fixed? It's at least assigned so setting to assigned.

Sorry about my previous comment, I think I was handling a bit to fast.

Because of the fix of Noel, I mark this as RESOLVED FIXED. 

@Joel: I think you know what to do if this is still reproducible ;-)

Sorry for the status ping-pong.