GNOME Bugzilla – Bug 310118
How to handle strange encoding for ole2 property set
Last modified: 2013-02-23 21:46:34 UTC
Distribution/Version: Debian unstable As soon as I want to save a specific Excel file I worked on with Gnumeric since a week, it crash.
Created attachment 49014 [details] strace gnumeric crashing. output1 is "1>" and output2 is "2>". Here is the strace from the crash.
It would help a lot if you could provide a stack trace and a sample excel file.
The stack trace is already posted. Concerning the sample excel file, and due to confidential status, only jody got it.
strace makes a log of system calls the program makes - reads, writes, stats, etc. With the debugger, you can make a stack trace, which is something else. It tells at what program line the program crashed, how it got there, and values of variables. Here's how to make one (you type the commands at the shell and (gdb) prompts): $ gdb gnumeric (gdb) r <wait for crash Program received signal SIGSEGV, Segmentation fault.
+ Trace 61744
Thread 16384 (LWP 17503)
(gdb) quit But if Jody can replicate with the file you sent, we're not going to need it.
I get a crash in libgsf's property export and some warnings on import Patching the crash is simple, but there's a problem importing property arrays with strings in cyrilic.
The problem stems from strangely encoded text. It claims to be in codepage 1251 (ms cyrilic) but somehow d0 a0 c2 a4 d0 a0 d1 91 d0 a0 c2 bb d0 a0 d1 98 produces 'Филм'
Do we have a copy of this file?
We seem to have lost the file and therefore cannot work on this. Feel free to reopen if the file resurfaces.