bugPSPP - Bugs: bug #54784, Invalid UTF-8 string passed to...

 
 

bug #54784: Invalid UTF-8 string passed to pango_layout_set_text()

Submitter:  None
Submitted:  Thu 04 Oct 2018 04:32:22 PM UTC
   
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  In Progress Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 27 Jun 2020 04:08:43 PM UTC, comment #6: 

I fixed this by introducting reference counting for variables.

John Darrington <jmd>
Group administrator
Sat 27 Jun 2020 12:29:29 PM UTC, comment #5: 

I don't see anything incorrect when I run this test, but running it under valgrind shows use-after-free errors, so the problem is still there.

John Darrington <jmd>
Group administrator
Sat 27 Jun 2020 11:55:06 AM UTC, comment #4: 

Cannot reproduce on MacOS in current master 27.6.2020.

Friedrich Beckmann <beckmanf>
Group Member
Fri 22 May 2020 06:05:36 PM UTC, comment #3: 

This exact problem still persist in pspp 1.2.0 on Ubuntu 20.04.
Command line shows "segmentation fault".

Please re-open this issue.

Anonymous
Sat 13 Apr 2019 07:22:43 PM UTC, comment #2: 

I believe I have fixed this issue.

If you find it or any similar problems persist, then please re-open.

John Darrington <jmd>
Group administrator
Fri 16 Nov 2018 09:34:42 PM UTC, comment #1: 

I can reproduce this bug in pspp 1.2.0 on MacOS.

Friedrich Beckmann <beckmanf>
Group Member
Thu 04 Oct 2018 04:32:22 PM UTC, original submission:  

On psppire pspp 1.0.1 on my system:
"Linux 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux"

Performing the following steps on /usr/share/pspp/examples/physiology.sav:
1. Data -> Select Cases -> Based on time or case -> Range (any range)
2. Analyze -> Compare Means -> Independent-Samples T Test -> Test variable: Height, Grouping variable: Sex; Define Groups -> Group1: Male, Group2: Female. -> Continue, OK.
3. When I click again on "Analyze -> Compare Means -> Independent-Samples T Test": the test variable appears in non-visible characters, and when clicking "OK" the application terminates with the command line message:
"(psppire:24083): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
Segmentation fault"

Some of my files show rubbish characters instead of non-visible characters, as you can see in the attached image, with the command line message:
"(psppire:24216): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()"
Then clicking OK will also terminate the application.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45142:  psppire-bug-report.png added by None (32KiB - image/png)

 

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 beckmanf (Posted a comment)
  •  

    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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-27 jmd Open/ClosedOpen Closed
    2020-06-27 jmd StatusFixed In Progress
        Open/ClosedClosed Open
    2019-04-13 jmd StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-11-16 beckmanf StatusNone Confirmed
    2018-10-04 None Attached File- Added psppire-bug-report.png, #45142

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code