Bug 36365

Summary: Crash in CALC on PRINTING
Product: LibreOffice Reporter: SURCOUF <bunty.surcouf>
Component: CalcAssignee: Kohei Yoshida <kohei>
Status: RESOLVED FIXED    
Severity: major    
Priority: medium    
Version: 3.4.0 Beta1   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: target:3.4
Crash report or crash signature: Regression By:
Attachments: PRINTING IN CALC
file for test

Description SURCOUF 2011-04-18 11:08:00 UTC
Hello,

CALC just crashed each time I tried to print or preview a worksheet. Have been obliged to reinstall LibO 3.3.2.

Best regards.

Bunty

UBUNTU 11.04-x86-64 - LibO 3.4.0 (now 3.3.2)
Comment 1 Kohei Yoshida 2011-04-18 18:48:31 UTC
Can't reproduce it (on openSUSE 11.4).

Are you the only user experiencing this?  Could you check with other Ubuntu users to see if the problem is common there?  Thanks.

Also, try to get a backtrace if you can.  Refer to

http://wiki.documentfoundation.org/BugReport
Comment 2 SURCOUF 2011-04-19 10:57:08 UTC
Created attachment 45824 [details]
PRINTING IN CALC
Comment 3 SURCOUF 2011-04-19 10:59:40 UTC
I followed your advice. Here the files concerning the bug in CALC.

Hope that this will help

Bunty
Comment 4 Kohei Yoshida 2011-04-19 11:08:20 UTC
Thanks Bunty.  Yes this is much better.

What I had in mind was a backtrace from gdb, while yours is valgrind log.  But valgrind log also contains call stack so that's fine.

But you seem to have skipped the first step of

Install the libreoffice*-debuginfo packages. (if available, and/or from your linux distribution)

and because of that, the log is missing the method signature names (see those bunch of '???'s in your log?).  It would be nice to have you install the debuginfo packages, and try it again.

Thanks a lot.
Comment 5 SURCOUF 2011-04-19 11:16:14 UTC
"Install the libreoffice*-debuginfo packages. (if available, and/or from your
linux distribution)"

From where can I have this packages, for I downloaded LibO from ODF site RPM version, install all the available packages througn "alien"

I I told earlier, this crash occurs only on a particular file, not with all; yet this file is printable with OOo3.4.0

Thanks for your help

Bunty
Comment 6 Kohei Yoshida 2011-04-19 11:25:12 UTC
(In reply to comment #5)
> "Install the libreoffice*-debuginfo packages. (if available, and/or from your
> linux distribution)"
> 
> From where can I have this packages, for I downloaded LibO from ODF site RPM
> version, install all the available packages througn "alien"

Ah ok.  Then we don't have debuginfo packages.

On the other hand, we have a debian x64 package from the download page.  I suggest you give that one a try.

> I I told earlier, this crash occurs only on a particular file, not with all;
> yet this file is printable with OOo3.4.0

Try the debian package to see if you can still reproduce the crash, if yes, I'd like you to attach the file that induces the crash to this bug report.
Comment 7 SURCOUF 2011-04-19 11:36:41 UTC
"Install the libreoffice*-debuginfo packages. (if available, and/or from your
linux distribution)"

From where can I have this packages, for I downloaded LibO from ODF site RPM version, install all the available packages througn "alien"

I told earlier, this crash occurs only on a particular file, not with all; yet this file is printable with OOo3.4.0

Thanks for your help

Bunty(In reply to comment #4)
> Thanks Bunty.  Yes this is much better.
> 
> What I had in mind was a backtrace from gdb, while yours is valgrind log.  But
> valgrind log also contains call stack so that's fine.
> 
> But you seem to have skipped the first step of
> 
> Install the libreoffice*-debuginfo packages. (if available, and/or from your
> linux distribution)
> 
> and because of that, the log is missing the method signature names (see those
> bunch of '???'s in your log?).  It would be nice to have you install the
> debuginfo packages, and try it again.
> 
> Thanks a lot.

(In reply to comment #6)
> (In reply to comment #5)
> > "Install the libreoffice*-debuginfo packages. (if available, and/or from your
> > linux distribution)"
> > 
> > From where can I have this packages, for I downloaded LibO from ODF site RPM
> > version, install all the available packages througn "alien"
> 
> Ah ok.  Then we don't have debuginfo packages.
> 
> On the other hand, we have a debian x64 package from the download page.  I
> suggest you give that one a try.


Can you give me the website address so that I can get the debian x64 package


> > I I told earlier, this crash occurs only on a particular file, not with all;
> > yet this file is printable with OOo3.4.0
> 
> Try the debian package to see if you can still reproduce the crash, if yes, I'd
> like you to attach the file that induces the crash to this bug report.
Comment 8 Kohei Yoshida 2011-04-19 11:44:00 UTC
(In reply to comment #7)

> I told earlier, this crash occurs only on a particular file, not with all; yet
> this file is printable with OOo3.4.0

Yes, I understand that.  That's why it's important to have that file for testing.

> Can you give me the website address so that I can get the debian x64 package

http://download.documentfoundation.org/libreoffice/testing/3.4.0-beta1/deb/x86_64/LibO_3.4.0beta1_Linux_x86-64_install-deb_en-US.tar.gz
Comment 9 SURCOUF 2011-04-19 13:23:56 UTC
Created attachment 45828 [details]
file for test
Comment 10 SURCOUF 2011-04-19 13:24:13 UTC
(In reply to comment #8)
> (In reply to comment #7)
> 
> > I told earlier, this crash occurs only on a particular file, not with all; yet
> > this file is printable with OOo3.4.0
> 
> Yes, I understand that.  That's why it's important to have that file for
> testing.
> 
> > Can you give me the website address so that I can get the debian x64 package
> 
> http://download.documentfoundation.org/libreoffice/testing/3.4.0-beta1/deb/x86_64/LibO_3.4.0beta1_Linux_x86-64_install-deb_en-US.tar.gz

Thanks for the link. In fact, I tried this way first. When I got the bug, I tried the RPM version.

I attache my file for testing. Thanks for your help.

Bunty
Comment 11 Kohei Yoshida 2011-04-19 13:35:06 UTC
Excellent.  With the test file I was able to reproduce the crash when going to print preview.  I'll take it from here.
Comment 12 Kohei Yoshida 2011-04-19 21:17:02 UTC
K. It was a simple case of NULL pointer de-referencing causing the segfault.

Fixed now, but the fix will appear in Beta3.  I missed the boat for Beta2 already.
Comment 13 SURCOUF 2011-04-20 05:36:39 UTC
(In reply to comment #12)
> K. It was a simple case of NULL pointer de-referencing causing the segfault.
> 
> Fixed now, but the fix will appear in Beta3.  I missed the boat for Beta2
> already.

OK thanks. I'll await for the Beta3

Bunty