Skip to content

Instantly share code, notes, and snippets.

@jerstlouis
Created October 22, 2016 10:46
Show Gist options
  • Save jerstlouis/25d5defed0c98a3ab1e6394c59d6c022 to your computer and use it in GitHub Desktop.
Save jerstlouis/25d5defed0c98a3ab1e6394c59d6c022 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
0x000000006bdc79ea in __ecereMethod___ecereNameSpace__ecere__com__Array_Free (this=0x0) at src/com/containers/Array.ec:375
375 for(c = 0; c<count; c++)
(gdb) list
370 }
371
372 void Free()
373 {
374 int c;
375 for(c = 0; c<count; c++)
376 {
377 T data = array[c];
378 delete data;
379 }
(gdb) print this
$1 = (struct __ecereNameSpace__ecere__com__Instance *) 0x0
(gdb) bt
#0 0x000000006bdc79ea in __ecereMethod___ecereNameSpace__ecere__com__Array_Free (this=0x0) at src/com/containers/Array.ec:375
#1 0x000000000052ff49 in __ecereMethod_RecentWorkspaces_read (this=0x0, settingsContainer=0x2a23700) at src/IDESettings.ec:1386
#2 0x000000000053084f in __ecereInstMeth___ecereNameSpace__ecere__sys__FileMonitor_OnFileNotify__00000001 (this=0x2a23700, action=4, param=0x0) at src/IDESettings.ec:533
#3 0x000000006bd75a56 in __ecereMethod___ecereNameSpace__ecere__gui__GuiApplication_ProcessFileNotifications (this=0x2bdb0b0) at src/gui/GuiApplication.ec:1419
#4 0x000000006bd76781 in __ecereMethod___ecereNameSpace__ecere__gui__GuiApplication_ProcessInput (this=0x2bdb0b0, useProcessAll=1) at src/gui/GuiApplication.ec:868
#5 0x000000006bd76b35 in __ecereMethod___ecereNameSpace__ecere__gui__GuiApplication_Main (this=0x2bdb0b0) at src/gui/GuiApplication.ec:773
#6 0x00000000004115a5 in main (_argc=1, _argv=0xd75520) at obj/debug.win32/ecere-ide.main.ec:4464
(gdb) frame 2
#2 0x000000000053084f in __ecereInstMeth___ecereNameSpace__ecere__sys__FileMonitor_OnFileNotify__00000001 (this=0x2a23700, action=4, param=0x0) at src/IDESettings.ec:533
warning: Source file is more recent than executable.
533 recentProjects.read(this);
(gdb) list
528 if(f)
529 {
530 int c;
531 bool locked;
532 for(c = 0; c < 10 && !(locked = f.Lock(shared, 0, 0, false)); c++) ecere::sys::Sleep(0.01);
533 recentProjects.read(this);
534 f.Unlock(0,0,true);
535 delete f;
536 }
537 return true;
(gdb) print this
$2 = (struct __ecereNameSpace__ecere__com__Instance *) 0x2a23700
(gdb) print recentProjects
No symbol "recentProjects" in current context.
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment