Bug 78073 - SLIDESHOW: Slideshow segfaults under xmonad + multiple displays
Summary: SLIDESHOW: Slideshow segfaults under xmonad + multiple displays
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.2.3.3 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 11:46 UTC by Ognjen Maric
Modified: 2014-11-05 16:43 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 Ognjen Maric 2014-04-29 11:46:56 UTC
Problem description: 

Trying to run a slideshow with multiple displays causes a segfault in Impress. I'm running Arch Linux with xmonad 0.11 as the window manager. Changing the window manager makes the problem go away.

Steps to reproduce:
1. Create a blank presentation
2. Start a slide show
3. Occasionally, you might need to exit the slide show (once) and go back to step 2 before the problem occurs

Current behavior:

The system segfaults. Here's an excerpt from messages.log

localhost kernel: soffice.bin[26983]: segfault at 38 ip 00007f2b5c20d5ec sp 00007fff73fc7cf0 error 4 in libvcllo.so[7f2b5bf9c000+537000] 

The standard output also shows a couple of these messages, in case they are relevant:

X Error: BadMatch (invalid parameter attributes) 8                                                                                                                                                                               
  Major opcode: 42 (X_SetInputFocus)
  Resource id:  0x340094a
Operating System: Linux (Other)
Version: 4.2.3.3 release
Comment 1 David Tardon 2014-09-30 06:38:36 UTC
(In reply to comment #0)
> Problem description: 
> 
> Trying to run a slideshow with multiple displays causes a segfault in
> Impress. I'm running Arch Linux with xmonad 0.11 as the window manager.
> Changing the window manager makes the problem go away.

Changing the window manager to what? We detect various desktop environments and select an appropriate VCL plugin for them. xmonad is probably using the "gen" plugin (generic X). Change of WM could mean that, e.g., "gtk" is used instead. So if the crash is in the plugin (most probably), it would of course go away. Alternatively, can you still reproduce it by running

SAL_USE_VCLPLUGIN=gen soffice

from the command line?
Comment 2 Ognjen Maric 2014-11-05 16:43:17 UTC
Thanks for the response, David.

I was running xmonad under KDE when the crashes occured. Switching to kwin made the problem away. However, the problem seems to have been fixed in the meantime, I cannot reproduce it anymore, neither when setting SAL_USE_VCLPLUGIN to gen nor to kde. I will mark the bug as resolved.