[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashe
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows |
Date: |
Mon, 6 Feb 2017 01:45:12 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586 |
URL:
<http://savannah.gnu.org/bugs/?50234>
Summary: c++ file_stat with non existant crashes octave in
windows
Project: GNU Octave
Submitted by: lostbard
Submitted on: Mon 06 Feb 2017 01:45:10 AM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Segfault, Bus Error, etc.
Status: None
Assigned to: None
Originator Name: JohnD
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
Using a oct file created in windows 7, octave 4.2.0 (tried both w64 and w32)
versions
I get a consistent hard crash of octave running the function:
#include <octave/oct.h>
#include <octave/defun-dld.h>
#include <octave/file-stat.h>
DEFUN_DLD(nofile,args,nargout,"no docs")
{
bool ok = file_stat ("wedonthavefile").exists();
return octave_value(ok);
}
oct file built as mkoctfile notest.cpp
Run in octave as notest.
STacktrace without any debug symbols compiled in is:
Thread 19 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 10192.0x3318]
0x6c365571 in
liboctinterp-4!_ZNSt8_Rb_treeIiSt4pairIKi12octave_valueESt10_Select1stIS3_ESt4lessIiESaIS3_EE4findERS1_
()
from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
(gdb) where
#0 0x6c365571 in
liboctinterp-4!_ZNSt8_Rb_treeIiSt4pairIKi12octave_valueESt10_Select1stIS3_ESt4lessIiESaIS3_EE4findERS1_
()
from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#1 0x6bca8996 in liboctinterp-4!_ZN20octave_user_functionD2Ev () from
C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#2 0x6bca8beb in liboctinterp-4!_ZN20octave_user_functionD0Ev () from
C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#3 0x6c365600 in
liboctinterp-4!_ZNSt8_Rb_treeIiSt4pairIKi12octave_valueESt10_Select1stIS3_ESt4lessIiESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#4 0x6c3655dd in
liboctinterp-4!_ZNSt8_Rb_treeIiSt4pairIKi12octave_valueESt10_Select1stIS3_ESt4lessIiESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#5 0x6c3655dd in
liboctinterp-4!_ZNSt8_Rb_treeIiSt4pairIKi12octave_valueESt10_Select1stIS3_ESt4lessIiESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#6 0x6c35ef7a in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#7 0x6c35eecf in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#8 0x6c35eecf in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#9 0x6c35eecf in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#10 0x6c35eecf in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#11 0x6c35eecf in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#12 0x6c35eecf in
liboctinterp-4!_ZNSt8_Rb_treeISsSt4pairIKSsN12symbol_table8fcn_infoEESt10_Select1stIS4_ESt4lessISsESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
() from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#13 0x6c1068a5 in
liboctinterp-4!_ZN12symbol_table8fcn_info12fcn_info_rep36mark_subfunction_in_scope_as_privateEiRKSs
()
from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#14 0x6b8811b4 in ?? () from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#15 0x6b881325 in ?? () from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#16 0x6b881433 in ?? () from C:\Octave\Octave-4.2.0\bin\liboctinterp-4.dll
#17 0x77d06b8e in ntdll!RtlDecompressBuffer () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#18 0x77cd5ade in ntdll!RtlAnsiCharToUnicodeChar () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#19 0x77ce7efc in ntdll!LdrShutdownProcess () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#20 0x00000000 in ?? ()
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50234>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows,
John Donoghue <=
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John Donoghue, 2017/02/05
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John Donoghue, 2017/02/07
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, Rik, 2017/02/07
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John Donoghue, 2017/02/07
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John Donoghue, 2017/02/08
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John W. Eaton, 2017/02/08
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John Donoghue, 2017/02/08
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John W. Eaton, 2017/02/08
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, John Donoghue, 2017/02/08
- [Octave-bug-tracker] [bug #50234] c++ file_stat with non existant crashes octave in windows, Rik, 2017/02/09