bugPSPP - Bugs: bug #45421, Crash when trying to run empty...

 
 

bug #45421: Crash when trying to run empty syntax

Submitted by:  John Darrington <jmd>
Submitted on:  Sat 27 Jun 2015 08:44:08 AM UTC  
 
Category: GTK3Severity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 27 Jun 2015 10:13:21 AM UTC, comment #2:

I fixed this with commit:

http://git.savannah.gnu.org/cgit/pspp.git/commit/?id=5c6e86d036ccb49f6487f8a10cb4586cb4fc4c23

The reason for the bug is that the render function was called assuming that there is an existing view->xr. This is now checked.

Friedrich Beckmann <beckmanf>
Project Member
Sat 27 Jun 2015 08:52:52 AM UTC, comment #1:

Hi John,

i guess this is related to my changes in the output window.

Friedrich

Friedrich Beckmann <beckmanf>
Project Member
Sat 27 Jun 2015 08:44:08 AM UTC, original submission:

psppire

File->New->Syntax
Run->All

#0 0xb7f8fca6 in xr_set_cairo (xr=0x0, cairo=0x843aea8) at /home/john/pspp-master/src/output/cairo.c:354
#1 0xb7f92071 in xr_rendering_create (xr=0x0, item=0x8623a28, cr=0x843aea8) at /home/john/pspp-master/src/output/cairo.c:1331
#2 0xb7f91f0b in xr_rendering_create_text (xr=0x0, text=0x85cb970 "\n", cr=0x843aea8)
at /home/john/pspp-master/src/output/cairo.c:1296
#3 0xb7f91fa7 in xr_rendering_create (xr=0x0, item=0x812f448, cr=0x843aea8) at /home/john/pspp-master/src/output/cairo.c:1316
#4 0x080b43bd in rerender (view=0x85da048) at /home/john/pspp-master/src/ui/gui/psppire-output-view.c:202
#5 0x080b5123 in on_size_allocate (widget=0x85d03f0, allocation=0xbfffe2ec, view=0x85da048)
at /home/john/pspp-master/src/ui/gui/psppire-output-view.c:587

John Darrington <jmd>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by beckmanf (Posted a comment)
  • -unavailable- added by jmd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Jun 2015 10:13:21 AM UTCbeckmanfStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1