Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1596201

Summary: Crash when copying a whole column to clipboard and exiting
Product: [Fedora] Fedora Reporter: Tor Lillqvist <tml>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: caolanm, dtardon, erack, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-28 13:46:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tor Lillqvist 2018-06-28 12:15:09 UTC
Description of problem:

LibreOffice crashes when trying to put a huge image (of a whole column) on the system clipboard (for instance, when exiting).

How reproducible:

Trivially.

Steps to Reproduce:

1. Start LibreOffice from a shell
2. Open a new empty spreadsheet
3. Click the "A" column header (to select the whole column, all one million rows)
4. Type Control-C
5: Type Control-Q

You get the recovery window and this stack trace printed: 

Fatal exception: Signal 11
Stack:
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x3d103)[0x7fbbad5ac103]
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x3d313)[0x7fbbad5ac313]
/lib64/libc.so.6(+0x36fb0)[0x7fbbacf31fb0]
/lib64/libc.so.6(+0xa2530)[0x7fbbacf9d530]
/lib64/libcairo.so.2(+0xa6475)[0x7fbb9a674475]
/lib64/libcairo.so.2(cairo_surface_create_similar_image+0x37)[0x7fbb9a647b17]
/lib64/libcairo.so.2(cairo_surface_create_similar+0x168)[0x7fbb9a647d08]
/usr/lib64/libreoffice/program/libvcllo.so(_ZN19SvpSalVirtualDevice18SetSizeUsingBufferEllPh+0x1a8)[0x7fbba52d9858]
/usr/lib64/libreoffice/program/libvcllo.so(+0x4fa28a)[0x7fbba51fd28a]
/usr/lib64/libreoffice/program/libvcllo.so(+0x4fae42)[0x7fbba51fde42]
/usr/lib64/libreoffice/program/../program/libsclo.so(+0x9c92a0)[0x7fbb691062a0]
/usr/lib64/libreoffice/program/libsvtlo.so(_ZN18TransferableHelper16getTransferData2ERKN3com3sun4star12datatransfer10DataFlavorERKN3rtl8OUStringE+0x258)[0x7fbba6858298]
/usr/lib64/libreoffice/program/libsvtlo.so(_ZN18TransferableHelper15getTransferDataERKN3com3sun4star12datatransfer10DataFlavorE+0x52)[0x7fbba68529d2]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0x491a4)[0x7fbb8bf781a4]
/lib64/libgobject-2.0.so.0(g_closure_invoke+0x19d)[0x7fbbab8cfadd]
/lib64/libgobject-2.0.so.0(+0x22f43)[0x7fbbab8e2f43]
/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xe6a)[0x7fbbab8ec06a]
/lib64/libgobject-2.0.so.0(g_signal_emit_by_name+0x4c4)[0x7fbbab8ecb44]
/lib64/libgtk-3.so.0(+0x2c90db)[0x7fbb8b8e20db]
/lib64/libgtk-3.so.0(+0x2cac8e)[0x7fbb8b8e3c8e]
/lib64/libgtk-3.so.0(+0x2387a8)[0x7fbb8b8517a8]
/lib64/libgobject-2.0.so.0(+0xfd36)[0x7fbbab8cfd36]
/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x8e4)[0x7fbbab8ebae4]
/lib64/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7fbbab8ec663]
/lib64/libgtk-3.so.0(+0x386134)[0x7fbb8b99f134]
/lib64/libgtk-3.so.0(gtk_main_do_event+0x7d6)[0x7fbb8b850716]
/lib64/libgdk-3.so.0(+0x38639)[0x7fbb8b359639]
/lib64/libgdk-3.so.0(+0x69e76)[0x7fbb8b38ae76]
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15d)[0x7fbbab5f48ad]
/lib64/libglib-2.0.so.0(+0x4cc78)[0x7fbbab5f4c78]
/lib64/libglib-2.0.so.0(g_main_loop_run+0xc2)[0x7fbbab5f4fa2]
/lib64/libgtk-3.so.0(+0x3aedd6)[0x7fbb8b9c7dd6]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0x472e2)[0x7fbb8bf762e2]
/usr/lib64/libreoffice/program/libsvtlo.so(+0x3685d2)[0x7fbba68535d2]
/usr/lib64/libreoffice/program/../program/libfwklo.so(+0x161c54)[0x7fbb773afc54]
/usr/lib64/libreoffice/program/../program/libfwklo.so(+0x16239e)[0x7fbb773b039e]
/usr/lib64/libreoffice/program/libsfxlo.so(+0x29ec1d)[0x7fbba8580c1d]
/usr/lib64/libreoffice/program/libsfxlo.so(+0x31fd92)[0x7fbba8601d92]
/usr/lib64/libreoffice/program/libsfxlo.so(+0x32452e)[0x7fbba860652e]
/usr/lib64/libreoffice/program/libsfxlo.so(+0x501c37)[0x7fbba87e3c37]
/usr/lib64/libreoffice/program/libvcllo.so(+0x332938)[0x7fbba5035938]
/usr/lib64/libreoffice/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x18b)[0x7fbba522b27b]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0x4535d)[0x7fbb8bf7435d]
/lib64/libglib-2.0.so.0(+0x491cb)[0x7fbbab5f11cb]
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15d)[0x7fbbab5f48ad]
/lib64/libglib-2.0.so.0(+0x4cc78)[0x7fbbab5f4c78]
/lib64/libglib-2.0.so.0(g_main_context_iteration+0x30)[0x7fbbab5f4d10]
/usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0x46663)[0x7fbb8bf75663]
/usr/lib64/libreoffice/program/libvcllo.so(_ZN11Application5YieldEv+0x32)[0x7fbba523bb62]
/usr/lib64/libreoffice/program/libvcllo.so(_ZN11Application7ExecuteEv+0x45)[0x7fbba523d3e5]
/usr/lib64/libreoffice/program/libsofficeapp.so(+0x2d969)[0x7fbbad2e7969]
/usr/lib64/libreoffice/program/libvcllo.so(+0x53f67a)[0x7fbba524267a]
/usr/lib64/libreoffice/program/libvcllo.so(_Z6SVMainv+0x34)[0x7fbba5242794]
/usr/lib64/libreoffice/program/libsofficeapp.so(soffice_main+0x95)[0x7fbbad30fc95]
/usr/lib64/libreoffice/program/soffice.bin(+0x84f)[0x55e53eb7e84f]
/lib64/libc.so.6(__libc_start_main+0xeb)[0x7fbbacf1e18b]
/usr/lib64/libreoffice/program/soffice.bin(+0x88a)[0x55e53eb7e88a]

Comment 1 Tor Lillqvist 2018-06-28 13:46:56 UTC
Actually I already had filed this upstream, too.