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

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

[Octave-bug-tracker] [bug #50183] tempname() returns an empty string on


From: Michele
Subject: [Octave-bug-tracker] [bug #50183] tempname() returns an empty string on Solaris
Date: Wed, 1 Mar 2017 17:24:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.7) Gecko/20100101 Firefox/10.0.7

Follow-up Comment #11, bug #50183 (project octave):

"You answered "n" to the prompt about adding the pending breakpoint, so no
breakpoint was set. Try answering "y", run again."

Well I didn't know what to say and so I just took the default, which was n. 
This is what I get now:

Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (file-ops.cc:720) pending.
(gdb) r
Starting program: /export/home/miller/octave/bin/octave-cli
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
warning: kpathsea: variable 'PATH' references itself (eventually)
warning: called from
   
/export/home/miller/octave/lib/octave/4.0.1-rc4/oct/sparc-sun-solaris2.10/PKG_ADD
at line 5 column 1
Xlib: connection to ":11.0" refused by server
Xlib: No protocol specified

GNU Octave, version 4.0.1-rc4
Copyright (C) 2015 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 "sparc-sun-solaris2.10".

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/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> tempname
[Switching to Thread 1 (LWP 1)]

Breakpoint 1, octave_tempnam (dir=..., pfx=..., msg=...)
    at ../../liboctave/system/file-ops.cc:721
721     }
(gdb) p retval
No symbol "retval" in current context.
(gdb) p msg
$1 = (std::string &) @0xffbfea74: {static npos = <optimized out>,
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> =
{<No data fields>}, <No data fields>},
    _M_p = 0xfb69c604 <std::string::_Rep::_S_empty_rep_storage+12> ""}}
(gdb)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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