bugGNU Octave - Bugs: bug #54031, [octave forge] (database) Unit...


bug #54031: [octave forge] (database) Unit test in pq_connect.m segfaults for local database

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Fri 01 Jun 2018 01:42:56 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  other Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Fri 01 Jun 2018 08:49:59 PM UTC, comment #1:

Same on cygwin 64

Octave 4.4, database 2.4.3, and PostGreSQL 10.4

database-2.4.3/pq_connect.m .................................fatal: caught signal Segmentation fault -- stopping myself...

and I am the admin

marco atzeri <matzeri>
Fri 01 Jun 2018 01:42:56 PM UTC, original submission:

I am trying to run the unit test in pq_connect.m against a PostGreSQL database created locally, i.e. without root access. It is segfaulting and I cannot figure out what is wrong. Below is the transcript of my session in bash. I am also attaching to this bug report the result of strace for the last octave-cli command below. I am using Octave 4.4, database 2.4.3, and PostGreSQL 10.

Please, tell me if I should do something else in order to test pq_connect without root access. Also, feel free to close this report if this is a non-bug.

Rafael Laboissiere <rlaboiss>


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

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-01 rlaboiss Attached File- => Added database-test-pq_connect-strace.txt, #44270

    Back to the top

    Powered by Savane 3.3