Bug 43055

Summary: : Core dump when returning from another app on full screen mode
Product: LibreOffice Reporter: vieiro <antonio>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: LibreOffice, l.lunak, sasha.libreoffice
Priority: medium    
Version: 3.4.3 release   
Hardware: Other   
OS: FreeBSD   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description vieiro 2011-11-18 01:55:35 UTC
Problem description: 

Steps to reproduce:
1. Start Writer
2. I start another application in "full screen" mode.
3. When I exit that application and return to my desktop Libreoffice core dumps

Current behavior:
Core dumps

Expected behavior:
No core dumps

Platform (if different from the browser): 
FreeBSD antonio 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC 2011     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
              
Browser: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20100101 Firefox/7.0.1


I entered "gdb" and took a look at the backtrace, here's what I get:

#0  0x2d5cc765 in SalDisplay::addXineramaScreenUnique ()
   from /usr/local/lib/libreoffice/program/../basis-link/program/libvclplug_genfb.so
[New Thread 2de2ea00 (LWP 100933/soffice.bin)]
[New Thread 2cce2600 (LWP 100930/soffice.bin)]
[New Thread 2ccc7500 (LWP 100929/soffice.bin)]
[New Thread 2bc05500 (LWP 100927/soffice.bin)]
[New Thread 2bc04300 (LWP 100254/soffice.bin)]
(gdb) backtrace
#0  0x2d5cc765 in SalDisplay::addXineramaScreenUnique ()
   from /usr/local/lib/libreoffice/program/../basis-link/program/libvclplug_genfb.so
#1  0x2c86ef61 in GtkSalDisplay::monitorsChanged () from /usr/local/lib/libreoffice/basis3.4/program/libvclplug_gtkfb.so
#2  0x2c86f024 in signalMonitorsChanged () from /usr/local/lib/libreoffice/basis3.4/program/libvclplug_gtkfb.so
#3  0x2d42562f in g_cclosure_marshal_VOID__VOID () from /usr/local/lib/libgobject-2.0.so.0
#4  0x2d415ea3 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
#5  0x2d42d992 in g_signal_handlers_block_matched () from /usr/local/lib/libgobject-2.0.so.0
#6  0x2d42fa00 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#7  0x2d42fc80 in g_signal_emit_by_name () from /usr/local/lib/libgobject-2.0.so.0
#8  0x2c91442e in gdk_screen_get_monitor_plug_name () from /usr/local/lib/libgdk-x11-2.0.so.0
#9  0x2c90820b in gdk_events_pending () from /usr/local/lib/libgdk-x11-2.0.so.0
#10 0x2c908aa7 in gdk_events_pending () from /usr/local/lib/libgdk-x11-2.0.so.0
#11 0x2c908edf in gdk_add_client_message_filter () from /usr/local/lib/libgdk-x11-2.0.so.0
#12 0x2d48b247 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#13 0x2d48f2ce in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#14 0x2d48f8f5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#15 0x2c86dead in GtkXLib::Yield () from /usr/local/lib/libreoffice/basis3.4/program/libvclplug_gtkfb.so
#16 0x2d5d7037 in X11SalInstance::Yield () from /usr/local/lib/libreoffice/program/../basis-link/program/libvclplug_genfb.so
#17 0x298a7ef8 in Application::Yield () from /usr/local/lib/libreoffice/program/../basis-link/program/libvclfb.so
#18 0x298a7fbc in Application::Execute () from /usr/local/lib/libreoffice/program/../basis-link/program/libvclfb.so
#19 0x2810467b in ?? () from /usr/local/lib/libreoffice/program/../basis-link/program/libsofficeapp.so
#20 0x298ad870 in ImplSVMain () from /usr/local/lib/libreoffice/program/../basis-link/program/libvclfb.so
#21 0x298ad975 in SVMain () from /usr/local/lib/libreoffice/program/../basis-link/program/libvclfb.so
#22 0x2812d6a5 in soffice_main () from /usr/local/lib/libreoffice/program/../basis-link/program/libsofficeapp.so
#23 0x08048c3c in main ()
Comment 1 sasha.libreoffice 2012-02-10 04:59:36 UTC
@ Lubos
Please, take look on it when will have time. Resembles problem with X.
Comment 2 Hashem Masoud 2012-09-09 08:33:34 UTC
(In reply to comment #0)
> Problem description: 
> 
> Steps to reproduce:
> 1. Start Writer
> 2. I start another application in "full screen" mode.
> 3. When I exit that application and return to my desktop Libreoffice core dumps

Cannot reproduce it here:
Version 3.6.0.4 (Build ID: 932b512) Slackware Linux 13.37

Steps taken:
1. Started Firefox in full-screen mode.
2. Switched the scalc by using alt+tab.
3. scalc doesn't crash.
Comment 3 Rainer Bielefeld Retired 2012-09-28 05:40:14 UTC
Lifecycle of 3.4 has ended. No more comments from reporter, so seems WFM?

@reporter:
Please feel free to reopen this bug if you find out that the problem still exists with the current stable LibreOffice version and if you can contribute requested additional information due to <http://wiki.documentfoundation.org/BugReport> (especially BugReport Details); "start another application in "full screen" mode" is very general, please descriibe more detailed)!