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

 
 

bug #45421: Crash when trying to run empty syntax

Submitter:  John Darrington <jmd>
Submitted:  Sat 27 Jun 2015 08:44:08 AM UTC
   
 
Category:  GTK3 Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-27 beckmanf StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code