octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30639] mxCreateString(NULL) causes segmentati


From: Alois Schlögl
Subject: [Octave-bug-tracker] [bug #30639] mxCreateString(NULL) causes segmentation fault
Date: Tue, 03 Aug 2010 14:10:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8

URL:
  <http://savannah.gnu.org/bugs/?30639>

                 Summary: mxCreateString(NULL) causes segmentation fault
                 Project: GNU Octave
            Submitted by: schloegl
            Submitted on: Tue 03 Aug 2010 02:10:13 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:


mxCreateString(NULL) causes segmentation fault

This can be tested with the attached script. 
The desired behavior would be to return an empty string ''; 

   Alois 



$ mkoctfile --mex test_mex.cpp
$ octave -f
GNU Octave, version 3.2.3
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave:1> test_mex
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 03 Aug 2010 02:10:13 PM GMT  Name: test_mex.cpp  Size: 743B   By:
schloegl

<http://savannah.gnu.org/bugs/download.php?file_id=21133>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30639>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]