[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: sigsev on exit on cygwin
From: |
Marco Atzeri |
Subject: |
R: sigsev on exit on cygwin |
Date: |
Mon, 21 Dec 2009 20:19:44 +0000 (GMT) |
--- Ven 18/12/09, Marco Atzeri ha scritto:
> on cygwin-1.7 at least from
> d36f8c473dff to tip
> ( I am still testing the previous ones)
>
> octave sigsev on exit.
> Just exit is enough.
I identified the changeset, it starts to SIGSEV from
changeset 9981 692ab4eaf965
"clean up top-level variables when exiting Octave"
so I guess the cleaning is excessive, at least on cygwin.
Possible cause ?
Marco
>
> No fltk and built with:
>
> $ ../octave_clone/configure --libexecdir=/usr/lib
> --without-framework-opengl F77=gfortran-4 CXX=g++-4
> CPP=cpp-4 CC=gcc-4 LDFLAGS=-no-undefined
> lt_cv_deplibs_check_method=pass_all
>
> GDB:
> --------------------------------------------------
> Program received signal SIGSEGV, Segmentation fault.
> 0x206c10f0 in ?? ()
> (gdb) backtrace
> #0 0x206c10f0 in ?? ()
> #1 0x6112c7e7 in __call_exitprocs () from
> /usr/bin/cygwin1.dll
> #2 0x61109f9a in exit () from /usr/bin/cygwin1.dll
> #3 0x61004e5a in cygwin_exit () from
> /usr/bin/cygwin1.dll
> #4 0x610b5178 in _sigfe () from /usr/bin/cygwin1.dll
> #5 0x0022bbf8 in ?? ()
> #6 0x6c4e401e in
> cygstdc++-6!_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
> ()
> from /usr/bin/cygstdc++-6.dll
> #7 0x6e5e086c in _fu5370___ZSt4cerr () at
> ../../octave_clone/src/toplev.cc:628
> #8 0x6e5a3cdc in
> _fu4880___ZN8file_ops14static_members8instanceE () at
> ../../octave_clone/src/octave.cc:890
> #9 0x00401167 in main (argc=Cannot access memory at
> address 0x16
> ) at ../../octave_clone/src/main.c:35
>
> (gdb) frame 7
> #7 0x6e5e086c in _fu5370___ZSt4cerr () at
> ../../octave_clone/src/toplev.cc:628
> 628 clean_up_and_exit
> (exit_status);
> Current language: auto; currently c++
> ----------------------------------------------
>
> suggestion or ideas ?
>
> Here is the list of all the dlls loaded for the process
> just before the crash
>
> Name Base Path
> unicode.nls 0x360000
> C:\WINDOWS\system32\unicode.nls
> locale.nls 0x380000
> C:\WINDOWS\system32\locale.nls
> sorttbls.nls 0x3C0000
> C:\WINDOWS\system32\sorttbls.nls
> Secur32.dll 0x3D0000
> C:\WINDOWS\system32\Secur32.dll
> octave.exe 0x400000
>
> C:\cygwin2\pub\hg\octave_clone_build\src\.libs\octave.exe
> sortkey.nls 0x410000
> C:\WINDOWS\system32\sortkey.nls
> cygoctave-3-3-50+.dll 0x460000
>
> C:\cygwin2\pub\hg\octave_clone_build\liboctave\.libs\cygoctave-3-3-50+.dll
> ADVAPI32.DLL 0x7040000
> C:\WINDOWS\system32\ADVAPI32.DLL
> RPCRT4.dll 0x70E0000
> C:\WINDOWS\system32\RPCRT4.dll
> cygblas-0.dll 0x7180000
> C:\cygwin2\lib\lapack\cygblas-0.dll
> cyglapack-0.dll 0x71F0000
> C:\cygwin2\lib\lapack\cyglapack-0.dll
> GDI32.dll 0x7700000
> C:\WINDOWS\system32\GDI32.dll
> cygGL-1.dll 0x7750000
> C:\cygwin2\bin\cygGL-1.dll
> cygxcb-1.dll 0x79B0000
> C:\cygwin2\bin\cygxcb-1.dll
> cygGLU-1.dll 0x79D0000
> C:\cygwin2\bin\cygGLU-1.dll
> cygfontconfig-1.dll 0x7A50000
> C:\cygwin2\bin\cygfontconfig-1.dll
> cygfreetype-6.dll
> 0x7A80000
> C:\cygwin2\bin\cygfreetype-6.dll
> IMM32.DLL 0x1FDD0000
> C:\WINDOWS\system32\IMM32.DLL
> USP10.dll 0x20210000
> C:\WINDOWS\system32\USP10.dll
> msvcrt.dll 0x20280000
> C:\WINDOWS\system32\msvcrt.dll
> ctype.nls 0x202E0000
> C:\WINDOWS\system32\ctype.nls
> ws2_32.dll 0x20320000
> C:\WINDOWS\system32\ws2_32.dll
> WS2HELP.dll 0x20340000
> C:\WINDOWS\system32\WS2HELP.dll
> mswsock.dll 0x20390000
> C:\WINDOWS\System32\mswsock.dll
> DNSAPI.dll 0x20410000
> C:\WINDOWS\system32\DNSAPI.dll
> winrnr.dll 0x20440000
> C:\WINDOWS\System32\winrnr.dll
> WLDAP32.dll 0x20450000
> C:\WINDOWS\system32\WLDAP32.dll
> winmm.dll 0x20490000
> C:\WINDOWS\system32\winmm.dll
> NTMARTA.DLL 0x20540000
> C:\WINDOWS\system32\NTMARTA.DLL
> ole32.dll 0x20570000
> C:\WINDOWS\system32\ole32.dll
> SAMLIB.dll 0x206B0000
> C:\WINDOWS\system32\SAMLIB.dll
> cellfun-0.dll 0x206D0000
>
> \\?\C:\cygwin2\pub\hg\octave_clone_build\src\DLD-FUNCTIONS\.libs\cellfun-0.dll
> cygwin1.dll 0x61000000
> C:\cygwin2\bin\cygwin1.dll
> cygXdmcp-6.dll 0x61440000
> C:\cygwin2\bin\cygXdmcp-6.dll
> find-0.dll 0x62180000
>
> \\?\C:\cygwin2\pub\hg\octave_clone_build\src\DLD-FUNCTIONS\..libs\find-0.dll
> LPK.DLL 0x629C0000
> C:\WINDOWS\system32\LPK.DLL
> cygXau-6.dll 0x64000000
> C:\cygwin2\bin\cygXau-6.dll
> cygfftw3f-3.dll 0x64140000
> C:\cygwin2\bin\cygfftw3f-3.dll
> cygXext-6.dll 0x66780000
> C:\cygwin2\bin\cygXext-6.dll
> cygexpat-1.dll 0x66EC0000
> C:\cygwin2\bin\cygexpat-1.dll
> cygiconv-2.dll 0x674C0000
> C:\cygwin2\bin\cygiconv-2.dll
> cyggcc_s-1.dll 0x67F00000
> C:\cygwin2\bin\cyggcc_s-1.dll
> cygqrupdate-0.dll
> 0x68800000
> C:\cygwin2\bin\cygqrupdate-0.dll
> cygz.dll 0x692C0000
> C:\cygwin2\bin\cygz..dll
> cyggfortran-3.dll
> 0x69780000
> C:\cygwin2\bin\cyggfortran-3..dll
> cygreadline7.dll
> 0x6AFC0000
> C:\cygwin2\bin\cygreadline7.dll
> cygX11-6.dll 0x6C140000
> C:\cygwin2\bin\cygX11-6.dll
> cygfftw3-3.dll 0x6C280000
> C:\cygwin2\bin\cygfftw3-3.dll
> cygstdc++-6.dll 0x6C480000
> C:\cygwin2\bin\cygstdc++-6.dll
> cygcruft-3-3-50+.dll 0x6CCC0000
>
> C:\cygwin2\pub\hg\octave_clone_build\libcruft\.libs\cygcruft-3-3-50+.dll
> cyghdf5-0.dll 0x6D100000
> C:\cygwin2\bin\cyghdf5-0.dll
> cygncurses-9.dll
> 0x6DB80000
> C:\cygwin2\bin\cygncurses-9.dll
> cygoctinterp-3-3-50+.dll
> 0x6E3C0000
> C:\cygwin2\pub\hg\octave_clone_build\src\.libs\cygoctinterp-3-3-50+.dll
> kernel32.dll 0x7C800000
> C:\WINDOWS\system32\kernel32.dll
> ntdll.dll 0x7C900000
> C:\WINDOWS\system32\ntdll.dll
> USER32.dll 0x7E410000
> C:\WINDOWS\system32\USER32.dll
>
>
>
> Marco
>
>
>
>
>
>