Apache OpenOffice (AOO) Bugzilla – Issue 107033
Calc crash on drag and drop
Last modified: 2013-07-30 02:37:00 UTC
Opened an existing ods spreadsheet contained data paste from an excel sheet. Every time I drag & drop cells onto an area that partially overlaps with the source area Calc crashes out. Doesn't seem to happen with a new spreadsheet. Cut & Paste of the same cell move works fine. Running from the CLI gives the errors: centurion:~> soffice centurion:~> QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPainter::begin: Cannot paint on a null pixmap QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPainter::begin: Cannot paint on a null pixmap X-Error: BadDrawable (invalid Pixmap or Window parameter) Major opcode: 62 (X_CopyArea) Resource ID: 0x0 Serial No: 16341 (16341) These errors are reported asynchronously, set environment variable SAL_SYNCHRONIZE to 1 to help debugging centurion:~> export SAL_SYNCHRONIZE=1 centurion:~> echo $SAL_SYNCHRONIZE 1 centurion:~> soffice centurion:~> QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPainter::begin: Cannot paint on a null pixmap X-Error: BadDrawable (invalid Pixmap or Window parameter) Major opcode: 62 (X_CopyArea) Resource ID: 0x0 Serial No: 34539 (34539) centurion:~> Using Build 3.1.1.4 from SuSE rpms on openSuSE 11.2 on x86_64 with KDE 4.3.
I am getting very much the same problem, but on a different transaction: System: - openSUSE 11.2 - OpenOffice_org-3.1.1.5-1.1.i586 (openSUSE rpm) Steps to reproduce: 1. set environment variable: export SAL_SYNCHRONIZE=1 2. start ooffice from CLI 3. Select menu Tools -> Options 4. In the form, select Internet -> MediaWiki 5. Add... 6. Enter a valid server URL, user id, password 7. Hit "Ok" ooffice crashes with the following output: WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. 21-Dec-2009 10:08:38 org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPainter::begin: Cannot paint on a null pixmap X-Error: BadDrawable (invalid Pixmap or Window parameter) Major opcode: 62 (X_CopyArea) Resource ID: 0x0 Serial No: 37370 (37370)
You are using KDE4 as your desktop environment, correct? Assuming that you do, I advise you to uninstall the package named OpenOffice_org- kde4 until this gets fixed. That means you'll lose all the nice kde4 integration in the meantime, but at least you'll get the stability back.
Is Roman Shtylman's account shtylman here?
Yes it is... and thanks for reminding me that I need to still submit the patch to fix this. I have the fix... just never gout around to formatting the patch :)
Yes, I am using KDE4, but I do not have OpenOffice_org-kde4 installed... and it was not installed at the time I ran the described test either.
That package appears to have a slightly different name/version on my system, but the work around was effective. Try removing openoffice.org-kde
Thanks, but as I wrote before, I do not have this installed. There is no package named openoffice.org-kde available on my system, and OpenOffice_org-kde4, which would be available, is not installed.
Just dragging a worksheet tab or range of cells from one place to another in Calc triggers this. I do not have the KDE integration package installed, but I am running KDE 4.3.5. SAL_SYNCHRONIZE=1 oocalc QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPainter::begin: Cannot paint on a null pixmap X-Error: BadDrawable (invalid Pixmap or Window parameter) Major opcode: 62 (X_CopyArea) Resource ID: 0x58008fb Serial No: 57603 (57603) openSUSE 11.2 x86_64 OpenOffice packages: OpenOffice_org-templates-labels-a4-1.0-6.2.noarch OpenOffice_org-l10n-extras-3.1.1.4-1.1.4.noarch OpenOffice_org-icon-theme-oxygen-3.1.1.4-1.1.4.noarch OpenOffice_org-writer-extensions-3.1.1.4-1.1.4.x86_64 OpenOffice_org-libs-extern-3.1.1.4-1.1.6.1.x86_64 OpenOffice_org-draw-extensions-3.1.1.4-1.1.4.x86_64 OpenOffice_org-mailmerge-3.1.1.4-1.2.2.x86_64 OpenOffice_org-components-3.1.1.4-1.2.3.x86_64 OpenOffice_org-thesaurus-en-20060111-5.2.noarch OpenOffice_org-icon-theme-hicontrast-3.1.1.4-1.1.4.noarch OpenOffice_org-impress-3.1.1.4-1.1.4.x86_64 OpenOffice_org-impress-extensions-3.1.1.4-1.1.4.x86_64 OpenOffice_org-templates-labels-letter-1.0-6.2.noarch OpenOffice_org-hyphen-20080929-38.2.noarch OpenOffice_org-help-en-US-3.1.1.4-1.1.4.noarch OpenOffice_org-base-3.1.1.4-0.1.4.x86_64 OpenOffice_org-calc-extensions-3.1.1.4-1.1.4.x86_64 OpenOffice_org-math-3.1.1.4-1.2.3.x86_64 OpenOffice_org-templates-presentation-layouts-3.0-2.4.noarch OpenOffice_org-icon-theme-crystal-3.1.1.4-1.1.4.noarch OpenOffice_org-converter-3.0-6.2.noarch OpenOffice_org-3.1.1.4-1.1.4.x86_64 OpenOffice_org-ure-3.1.1.4-1.1.4.x86_64 OpenOffice_org-libs-core-3.1.1.4-1.2.2.x86_64 OpenOffice_org-libs-gui-3.1.1.4-1.1.6.1.x86_64 OpenOffice_org-templates-en-3.0-2.4.noarch OpenOffice_org-draw-3.1.1.4-1.1.4.x86_64 OpenOffice_org-filters-optional-3.1.1.4-1.1.4.x86_64 OpenOffice_org-writer-3.1.1.4-1.2.3.x86_64 OpenOffice_org-branding-openSUSE-3.0-26.2.noarch OpenOffice_org-base-extensions-3.1.1.4-1.1.4.x86_64 OpenOffice_org-pyuno-3.1.1.4-1.1.4.x86_64 OpenOffice_org-icon-theme-tango-3.1.1.4-1.1.4.noarch OpenOffice_org-calc-3.1.1.4-1.1.4.x86_64 OpenOffice_org-icon-theme-galaxy-3.1.1.4-1.1.4.noarch OpenOffice_org-filters-3.1.1.4-1.1.4.x86_64
Reset assignee on issues not touched by assignee in more than 1000 days.