Issue 107033 - Calc crash on drag and drop
Summary: Calc crash on drag and drop
Status: ACCEPTED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 3.1.1
Hardware: PC (x86_64) Linux, all
: P3 Trivial with 6 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 11:20 UTC by markkiteflyer
Modified: 2013-07-30 02:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description markkiteflyer 2009-11-19 11:20:55 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.
Comment 1 hwalle 2009-12-20 21:10:11 UTC
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)

Comment 2 kyoshida 2009-12-21 02:35:32 UTC
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.
Comment 3 kyoshida 2009-12-21 02:44:52 UTC
Is Roman Shtylman's account shtylman here?
Comment 4 shtylman 2009-12-21 03:03:15 UTC
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 :)
Comment 5 hwalle 2009-12-21 03:52:29 UTC
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.
Comment 6 bharwell 2010-01-16 00:58:18 UTC
That package appears to have a slightly different name/version on my system, but
the work around was effective. 

Try removing  openoffice.org-kde
  
Comment 7 hwalle 2010-01-17 23:28:54 UTC
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.
Comment 8 davebaileync 2010-05-11 15:41:34 UTC
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
Comment 9 Rob Weir 2013-07-30 02:37:00 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.