[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUI integration
From: |
John W. Eaton |
Subject: |
Re: GUI integration |
Date: |
Sat, 11 Aug 2012 18:37:49 -0400 |
On 11-Aug-2012, Mike Miller wrote:
| On Sat, Aug 11, 2012 at 5:59 PM, John W. Eaton <address@hidden> wrote:
|
| > I checked in the following change:
| >
| > http://hg.savannah.gnu.org/hgweb/octave/rev/098546e95a5e
|
| With this revision I get a segfault when running after make install
| and no ~/.config/octave directory. If I ./run-octave first and let it
| create ~/.config/octave, then the installed copy of octave runs fine.
| Maybe install_defaults() hasn't been called yet?
|
| Here's a gdb backtrace:
| #0 0x00007ffff47e8f4b in std::basic_string<char,
| std::char_traits<char>, std::allocator<char>
| >::basic_string(std::string const&) ()
| from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
| #1 0x00007ffff4ca0805 in operator+<char, std::char_traits<char>,
| std::allocator<char> > (__rhs=..., __lhs=...) at
| /usr/include/c++/4.7/bits/basic_string.h:2365
| #2 default_qt_settings_file () at ../../../gui/gui/src/resource-manager.cc:67
It works for me.
The call to install_defaults happens in octave_initialize_interpreter,
which is the first thing called in main, before calling
octave_start_gui.
Please set a breakpoint in default_qt_settings_file and step through
it and examine the values of Voct_etc_dir and file_ops::dir_sep_str()
before the crash.
jwe
- GUI integration, John W. Eaton, 2012/08/10
- GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, Jacob Dawid, 2012/08/11
- Re: GUI integration, Michael Goffioul, 2012/08/11
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, Jacob Dawid, 2012/08/11
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, Mike Miller, 2012/08/11
- Re: GUI integration,
John W. Eaton <=
- Re: GUI integration, Mike Miller, 2012/08/11
- Re: GUI integration, Mike Miller, 2012/08/11
- Re: GUI integration, Jacob Dawid, 2012/08/12
- Re: GUI integration, Mike Miller, 2012/08/12
- Re: GUI integration, John W. Eaton, 2012/08/12
- Re: GUI integration, Mike Miller, 2012/08/12