Bug 99653 - Recovery Data Wizard causes Ubuntu 16.04 to log out
Summary: Recovery Data Wizard causes Ubuntu 16.04 to log out
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-03 16:05 UTC by Gary Fuller
Modified: 2017-08-25 14:56 UTC (History)
4 users (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 Gary Fuller 2016-05-03 16:05:43 UTC
When the recovery data wizard loads on Ubuntu 16.04 the window looks half rendered. If you attempt to click any button other than the cross at the top of the window it immediately logs you out of Ubuntu. 

I can only assume something is causing Xorg to crash, and has something to do with the recent update of Ubuntu. This may be an issue with Xorg/Ubuntu rather than LibreOffice, but I felt it was worth reporting anyway.
Comment 1 Gary Fuller 2016-05-05 08:22:38 UTC
Hi there, I discovered last night that the issue is more widespread. When one attempts to sort a table column in writer the same thing occurs.
Comment 2 Buovjaga 2016-05-07 12:29:57 UTC
I'm not seeing the problems you describe. I think there is something wrong in your system.

This is worth a try: https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile

It could be some deeper problem, though..

Version: 5.1.2.2
Build ID: 1:5.1.2-0ubuntu1
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
Locale: en-US (en_US.UTF-8)
Comment 3 Phil Bull 2016-05-11 00:18:28 UTC
I am also experiencing this problem, following a recent upgrade to Ubuntu 16.04. The recovery wizard opens, but the window is slow to respond to user input, and most of the window is solid black (some kind of rendering problem). After clicking any button, the session crashes and dumps me out to the login screen soon after.

I have tried trashing my user profile. Writer then starts up normally, as the recovery wizard does not run. A similar crash can be made to occur if I then attempt to insert a special character, however. The special character window is slow to open and respond, is partially black, and then crashes me out to the login screen again after a few seconds.

The output of dmesg looks suspicious:

$ dmesg
[66735.472285] [drm] GPU HANG: ecode 7:0:0x86fffffd, in Xorg [17561], reason: Ring hung, action: reset
[66735.472304] ------------[ cut here ]------------
[66735.472345] WARNING: CPU: 3 PID: 17558 at /build/linux-UbQGH5/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:11287 intel_mmio_flip_work_func+0x38e/0x3d0 [i915]()
[66735.472348] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
[66735.472349] Modules linked in:
[66735.472350]  hid_generic usbhid hid ax88179_178a usbnet mii drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 bridge stp llc ebtable_filter ebtables bnep intel_rapl snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic arc4 kvm snd_hda_intel dell_wmi uvcvideo sparse_keymap irqbypass iwldvm snd_hda_codec mac80211 videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_core dell_laptop videobuf2_core crct10dif_pclmul snd_hwdep v4l2_common crc32_pclmul dcdbas videodev snd_pcm btusb iwlwifi media btrtl btbcm btintel aesni_intel snd_seq_midi bluetooth snd_seq_midi_event snd_rawmidi aes_x86_64 lrw snd_seq input_leds
[66735.472406]  gf128mul snd_seq_device glue_helper snd_timer ablk_helper cryptd joydev snd serio_raw cfg80211 soundcore shpchp lpc_ich mei_me mei acpi_als kfifo_buf industrialio intel_smartconnect mac_hid binfmt_misc ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp coretemp nf_conntrack parport_pc iptable_filter ppdev ip_tables x_tables lp parport autofs4 btrfs xor raid6_pq i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci wmi fjes video
[66735.472443] CPU: 3 PID: 17558 Comm: kworker/3:10 Tainted: G        W  OE   4.4.0-22-generic #39-Ubuntu
[66735.472445] Hardware name: Dell Inc.          XPS L322X/      , BIOS A10 08/28/2013
[66735.472468] Workqueue: events intel_mmio_flip_work_func [i915]
[66735.472470]  0000000000000286 00000000c24c4555 ffff88020e017d20 ffffffff813e9c53
[66735.472473]  ffff88020e017d68 ffffffffc0213a50 ffff88020e017d58 ffffffff81080fb2
[66735.472476]  ffff880083998f80 ffff88023f2d6500 ffff88023f2dae00 00000000000000c0
[66735.472478] Call Trace:
[66735.472484]  [<ffffffff813e9c53>] dump_stack+0x63/0x90
[66735.472488]  [<ffffffff81080fb2>] warn_slowpath_common+0x82/0xc0
[66735.472491]  [<ffffffff8108104c>] warn_slowpath_fmt+0x5c/0x80
[66735.472495]  [<ffffffff8102d8c7>] ? __switch_to+0x437/0x5c0
[66735.472514]  [<ffffffffc01acc9e>] intel_mmio_flip_work_func+0x38e/0x3d0 [i915]
[66735.472518]  [<ffffffff8109a052>] process_one_work+0x162/0x480
[66735.472520]  [<ffffffff8109a3bb>] worker_thread+0x4b/0x4c0
[66735.472522]  [<ffffffff8109a370>] ? process_one_work+0x480/0x480
[66735.472525]  [<ffffffff810a0588>] kthread+0xd8/0xf0
[66735.472527]  [<ffffffff810a04b0>] ? kthread_create_on_node+0x1e0/0x1e0
[66735.472529]  [<ffffffff8182568f>] ret_from_fork+0x3f/0x70
[66735.472531]  [<ffffffff810a04b0>] ? kthread_create_on_node+0x1e0/0x1e0
[66735.472533] ---[ end trace b0ac4c04ee5fd44b ]---
[66735.474838] drm/i915: Resetting chip after gpu hang


libreoffice 1:5.1.2-0ubuntu1
$ libreoffice --version
LibreOffice 5.1.2.2 10m0(Build:2)
Comment 4 Buovjaga 2016-05-11 05:32:01 UTC
Let's set to NEW.

Gary: do you also use Intel graphics?
Comment 5 Gary Fuller 2016-05-11 15:48:09 UTC
Hi Buovjaga,

My laptop uses switchable graphics (AMD Radeon R7 M260 with Enduro Technology). 

Essentially it uses the Intel graphics (HD 4400 to be precise) unless it needs to use the AMD graphics for gaming etc.

I suspect it's predominantly the Intel graphics in use when I use LibreOffice.

Gary
Comment 6 Frédéric Hoogstoel 2016-08-16 14:53:08 UTC
I encountered the same bug with LibreOffice 5.1.4.2 and Ubuntu 16.04 (upgraded from 14.04).
I found a solution : sudo apt-get install xserver-xorg-video-intel

Seems linked to a problem I encountered when upgrading to 16.04 :
http://askubuntu.com/questions/760825/cannot-boot-system-due-to-start-job-running-for-hold

I hope it helps !
Regards.
Comment 7 Gary Fuller 2016-08-16 15:17:35 UTC
Hi Frédéric,

I've done what you suggested and it seems to have resolved the issue with the recovery wizard.

I'll keep testing and report back if I can still cause the issue in any other way.

Many thanks for your assistance.

Gary
Comment 8 Julien Nabet 2017-08-23 07:46:17 UTC
Any update with a recent LO version (last stable one is 5.3.5 and 5.4.0 has been released)?

Buovjaga: I wonder too if it's LO bug or Ubuntu LO packaging bug, what do you think?
Comment 9 Buovjaga 2017-08-25 14:56:23 UTC
Based on the last comments, I believe it was a problem with Ubuntu. Closing.