GNOME Bugzilla – Bug 556561
Inter-process paste crash with validation nodes
Last modified: 2008-12-04 16:03:47 UTC
Steps to reproduce: 1. open a xls file containing fused cells 2. create a new gnumeric file 3. copy a column of the xls file using the keyboard shortcut Ctrl+C 4. paste in the gnumeric file using Ctrl-V 5. open another xls file containing fused cells 6. copy another column of the xls file using the keyboard shortcut Ctrl+C 7. paste in the gnumeric file using Ctrl-V Stack trace: Backtrace was generated from '/usr/bin/gnumeric' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1228272992 (LWP 8980)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xb7fb2410 in ?? ()
+ Trace 208259
Thread 1 (Thread -1228272992 (LWP 8980))
Other information: Happens all the time. Make gnumeric unusable to me (I depend on copy/paste for files submitted to me by excel users, which sometime makes fused cells)
Version 1.6.x? Lots has changed since those days. You may want to give 1.8.x or even 1.9.2 a try.
Using 1.92 I cannot replicate this but perhaps there is something special about your files.
It would be helpful if you could make a sample file and tell us exactly what columns to copy.
I can now reproduce this with the sheet that was sent offline. Note: 1. The paste must be from one Gnumeric process to another. 2. The cause is something with "Validation" nodes in styles. 3. To get the problem, I select the entire sheet and paste it into a blank sheet in the other process. 4. The user's valgrind log indicates that things are fine until the first CRITICAL is hit, see trace below. This causes an undefine parse position and things are downhill from there. 5. Both 1.8.x and 1.9.x are affected. Breakpoint 2, 0xb7470086 in g_log () from /usr/lib/libglib-2.0.so.0 (gdb) where
+ Trace 208545
Created attachment 121149 [details] [review] Partial patch This should fix the receiving side. (The sending side complains too.) The patch was made against SVN head, but the xml-io.c part should apply to the 1.8.x versions too. To test, do cd .../somewhere/gnumeric patch -p0 < ~/patchfile # Ignore failures to ChangeLog and NEWS make
Did anyone ever look at this?
Both sending and receiving sides have been fixed. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.