#441 segfault condition

closed-fixed
nobody
None
5
2011-11-25
2011-11-22
No

$ ../src/gdl -quiet
GDL> print, !VERSION
{ x86_64 linux unix linux 6.0 Nov 20 2011 64 64}
GDL> print, !GDL
{ 0.9.2 CVS 1321743600}
GDL> help, strjoin(strsplit((['a'])[1],'a'),'a')
% Compiled module: STRSPLIT.
*** glibc detected *** ../src/gdl: free(): invalid pointer: 0x000000000170a860 ***
======= Backtrace: =========
/lib64/libc.so.6[0x6c27b085f30f]
/lib64/libc.so.6(cfree+0x4b)[0x6c27b085f76b]
../src/gdl(_ZN8EnvBaseTD0Ev+0xed)[0x8c5b35]
../src/gdl(_ZNSt8auto_ptrI4EnvTED1Ev+0x32)[0xb98e4e]
../src/gdl(_ZN20FCALL_LIB_RETNEWNode4EvalEv+0x16d)[0xb96605]
../src/gdl(_ZN15ParameterVNNode9ParameterEP8EnvBaseT+0x29)[0xb8236b]
../src/gdl(_ZN14GDLInterpreter21parameter_def_nocheckEP8ProgNodeP8EnvBaseT+0x96)[0x8ff7a6]
../src/gdl(_ZN13PCALL_LIBNode3RunEv+0x87)[0xb819db]
../src/gdl(_ZN14GDLInterpreter9statementEP8ProgNode+0xb3)[0x905ea1]
../src/gdl(_ZN14GDLInterpreter11interactiveEP8ProgNode+0x27)[0x90bbfb]
../src/gdl(_ZN12DInterpreter11ExecuteLineEPSiy+0x1186)[0x89c3c4]
../src/gdl(_ZN12DInterpreter15InterpreterLoopERKSsRSt6vectorISsSaISsEES1_+0xa8c)[0x89d75e]
../src/gdl(main+0x1bdf)[0xbdc4ef]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x6c27b080a994]

Discussion

  • Marc Schellens

    Marc Schellens - 2011-11-25
    • status: open --> closed-fixed
     
  • Sylwester Arabas

    Marc, Thanks!
    I've just added a relevant test to the testsuite.
    Best,
    Sylwester

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks