octave-maintainers
[Top][All Lists]
Advanced

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

octave mingw problem


From: Kai Habel
Subject: octave mingw problem
Date: Mon, 21 Nov 2011 12:29:25 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

Dear all,

I am trying to get octave (default and gui) running under mingw (32bit). I have compiled all dependencies and octave myself, but now I am stuck. When I run octave (installed and ./run-octave) it quits immediately after the first command prompt is printed. But when I run 'make check' the test suite runs through with about 20 failures of ~1000 tests. I can run octave under gdb. I have stepped trough octave_main() - see below. Do you have any ideas where to look at?

BTW I see the same behavior when compiling 3.4.3, so I suspect the problem to be on my side.

Kai


Program exited normally.
(gdb) break octave_main
Breakpoint 1 at 0x797f5b: file octave.cc, line 631.
(gdb) run
Starting program: C:/MinGW/msys/1.0/local/octmgw32/bin/octave.exe
[New Thread 6208.0x10ac]

Breakpoint 1, octave_main (argc=1, argv=0xffc3168, embedded=0)
    at octave.cc:631
631       octave_env::set_program_name (argv[0]);
(gdb) next 20
688 int optc = getopt_long (argc, argv, short_opts, long_opts, &long_i
dx);
(gdb) n
690           if (optc < 0)
(gdb) n
830       atexit (do_octave_atexit);
(gdb) n
837       stdin_is_tty = isatty (fileno (stdin));
(gdb) n
839 interactive = (! embedded && stdin_is_tty && isatty (fileno (stdout)))
;
(gdb) n
845       if (! line_editing)
(gdb) n
852         initialize_command_input ();
(gdb) n
854       if (! inhibit_startup_message)
(gdb) n
855         std::cout << OCTAVE_STARTUP_MESSAGE "\n" << std::endl;
(gdb) n
GNU Octave, version 3.5.0+
Copyright (C) 2011 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 "i686-pc-mingw32".

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

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

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

857       if (traditional)
(gdb) n
860       octave_interpreter_ready = true;
(gdb) n
862       initialize_version_info ();
(gdb) n
867       intern_argv (argc, argv);
(gdb) n
869       load_path::initialize (set_initial_path);
(gdb) n
warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

871       initialize_history (read_history_file);
(gdb) n
873       execute_startup_files ();
(gdb) n
warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.

875       if (! inhibit_startup_message && reading_startup_message_printed)
(gdb) n
882       int last_arg_idx = optind;
(gdb) n
884       int remaining_args = argc - last_arg_idx;
(gdb) n
886       if (! code_to_eval.empty ())
(gdb) n
894       if (remaining_args > 0)
(gdb) n
909       command_editor::reset_current_command_number (1);
(gdb) n
912       intern_argv (argc, argv);
(gdb) n
914       if (! embedded)
(gdb) n
915         switch_to_buffer (create_buffer (get_input_from_stdin ()));
(gdb) n
920       if (! interactive && forced_interactive)
(gdb) n
929       if (embedded)
(gdb) n
938       int retval = main_loop ();
(gdb) n
octave.exe:1> 940         if (retval == 1 && ! error_state)
(gdb) n
943       clean_up_and_exit (retval);
(gdb) n
warning: Invalid parameter passed to C runtime function.



Program exited normally.
(gdb)



reply via email to

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