bugPSPP - Bugs: bug #52848, Import of ODS crashes

 
 

bug #52848: Import of ODS crashes

Submitter:  Harry Thijssen <unknown_one>
Submitted:  Tue 09 Jan 2018 08:48:28 PM UTC
   
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Jul 2018 11:49:28 AM UTC, comment #2: 

I think this problem has been fixed.  So I'm closing this bug.
If you find it is still present, then please re-open it.

John Darrington <jmd>
Group administrator
Fri 12 Jan 2018 09:42:30 PM UTC, comment #1: 

When I paste the command in the screen "adjust variable formats" I get:
GET DATA
  /TYPE=ODS
  /FILE=X'01'
  /SHEET=index 1
  /READNAMES=ON
  /CELLRANGE=RANGE "A1:AL236".

Harry Thijssen <unknown_one>
Tue 09 Jan 2018 08:48:28 PM UTC, original submission:  

Hi

When I try to Import and .ODS file on MSWindows I reach the windows "Adjust Variable Formats" but this is empty. If I then hit "Apply" I get a crash. See the backtrace below.
I wonder if "/FILE=%sq\n" is handled correctly with MSWindows paths like c:\a\b.ods
When using syntax an quoting the file name it is handled correctly.


(psppire.exe:5760): Gtk-WARNING **: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.

(psppire.exe:5760): Gtk-CRITICAL **: gtk_tree_model_iter_n_children: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed

(psppire.exe:5760): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed

(psppire.exe:5760): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffeb99cc6f0 in strlen () from C:\Windows\system32\msvcrt.dll
(gdb) bt
#0  0x00007ffeb99cc6f0 in strlen () from C:\Windows\system32\msvcrt.dll
#1  0x000000000045866c in ss_cstr (cstr=0x2 <error: Cannot access memory at address 0x2>) at ./src/libpspp/str.h:268
#2  0x0000000000458f40 in syntax_gen_pspp_valist (output=0xf8ebc0,
    format=0x616d68 <separators+2568> "\n  /SHEET=index %d\n  /READNAMES=%ss", args=0xf8eba0 "\001")
    at src/ui/syntax-gen.c:267
#3  0x0000000000459114 in syntax_gen_pspp (output=0xf8ebc0,
    format=0x616d48 <separators+2536> "GET DATA\n  /TYPE=%ss\n  /FILE=%sq\n  /SHEET=index %d\n  /READNAMES=%ss")
    at src/ui/syntax-gen.c:342
#4  0x000000000040d31d in sheet_spec_gen_syntax (ia=0x42ce0e0) at src/ui/gui/psppire-import-assistant.c:1538
#5  0x000000000040d4f5 in psppire_import_assistant_generate_syntax (ia=0x42ce0e0)
    at src/ui/gui/psppire-import-assistant.c:1606
#6  0x000000000041aa36 in file_import (dw=0x2c93c80) at src/ui/gui/psppire-data-window.c:981
#7  0x0000000063a46283 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#8  0x0000000063a57827 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#9  0x0000000063a5f688 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#10 0x0000000063a5fd18 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#11 0x000000006d5f17a4 in ?? () from C:\Program Files\PSPP\bin\libgio-2.0-0.dll
#12 0x000000000041ab26 in g_action_activate_null (a=0x43295f0) at src/ui/gui/psppire-data-window.c:1010
#13 0x0000000063a46283 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#14 0x0000000063a57827 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#15 0x0000000063a5f688 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#16 0x0000000063a5fd18 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#17 0x00000000666fb096 in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#18 0x00000000665c899b in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#19 0x00000000665c8c72 in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#20 0x00000000665adf33 in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#21 0x0000000063a464b2 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#22 0x0000000063a5f374 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
#23 0x0000000063a5fd18 in ?? () from C:\Program Files\PSPP\bin\libgobject-2.0-0.dll
---Type <return> to continue, or q <return> to quit---
#24 0x00000000666f8bb2 in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#25 0x00000000665aab5d in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#26 0x00000000665acdcd in ?? () from C:\Program Files\PSPP\bin\libgtk-3-0.dll
#27 0x0000000070ece049 in ?? () from C:\Program Files\PSPP\bin\libgdk-3-0.dll
#28 0x0000000070ef8ff0 in ?? () from C:\Program Files\PSPP\bin\libgdk-3-0.dll
#29 0x00000000685f2118 in ?? () from C:\Program Files\PSPP\bin\libglib-2.0-0.dll
#30 0x00000000685f22f8 in ?? () from C:\Program Files\PSPP\bin\libglib-2.0-0.dll
#31 0x00000000685f253d in ?? () from C:\Program Files\PSPP\bin\libglib-2.0-0.dll
#32 0x000000006d5e990d in ?? () from C:\Program Files\PSPP\bin\libgio-2.0-0.dll
#33 0x0000000000412021 in main (argc=1, argv=0x2be6b10) at src/ui/gui/main.c:323




Harry Thijssen <unknown_one>

 

(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 jmd (Posted a comment)
  • -email is unavailable- added by unknown_one (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
    2018-07-06 jmd StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code