User forums > Help

Cannot open any file from project, Code Blocks crashes immediately? [solved]

<< < (2/4) > >>

iviviviviv:
These are answers when I installed nightly build and try to open main.c file in project, dialogs with answers are attached (it says "assert IsOpened() failed in Length()", "assert IsOpened() failed in Tell()", "assert IsOpened() failed in Read()").

I also got this when I opened nighlty build CB, befeore every action:


--- Code: ---Scanning for lexers in C:\Users\ivagu\Downloads\CB_20190112_rev11552_win64\share\codeblocks/lexers/...
Found 60 lexers
Loading lexer_A68k
.....
.....
WindowsXPLookNFeel
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
SpellChecker: Thesaurus files 'C:\Users\ivagu\Downloads\CB_20190112_rev11552_win64\share\codeblocks\SpellChecker\th_en_GB.idx' not found!

--- End code ---

I could not find any xml in my Temp folder, just some log files from Desktop, and there is a lot tasks connected only to OfficeC2RClient.exe in last two days, in that period I am trying to open these c files.

It run my project without crush. It debug it without crash. But when I want to open main.c it crashes.

This is result of debug:

--- Code: ---Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\ivagu\OneDrive\Documents\RAF\5.semestar\Racunarska Grafika\Vezbe\3D Grafika\Vezbe7\Vezbe7\RAFGL\RAFGL\
Adding source dir: C:\Users\ivagu\OneDrive\Documents\RAF\5.semestar\Racunarska Grafika\Vezbe\3D Grafika\Vezbe7\Vezbe7\RAFGL\RAFGL\
Adding file: C:\Users\ivagu\OneDrive\Documents\RAF\5.semestar\Racunarska Grafika\Vezbe\3D Grafika\Vezbe7\Vezbe7\RAFGL\RAFGL\bin\Debug\RAFGL.exe
Changing directory to: C:/Users/ivagu/OneDrive/DOCUME~1/RAF/5F926~1.SEM/RACUNA~1/Vezbe/3DGRAF~1/Vezbe7/Vezbe7/RAFGL/RAFGL/.
Set variable: PATH=.;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\MATLAB\R2016a\runtime\win64;C:\Program Files\MATLAB\R2016a\bin;C:\Program Files\MATLAB\R2016a\polyspace\bin;C:\Users\ivagu\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\ivagu\AppData\Local\Programs\Python\Python38;C:\Users\ivagu\AppData\Local\Microsoft\WindowsApps;C:\Users\ivagu\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64;C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\bin
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet  -args C:/Users/ivagu/OneDrive/DOCUME~1/RAF/5F926~1.SEM/RACUNA~1/Vezbe/3DGRAF~1/Vezbe7/Vezbe7/RAFGL/RAFGL/bin/Debug/RAFGL.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Child process PID: 7004
[Inferior 1 (process 7004) exited with code 030000000472]
Debugger finished with status 0
Selecting target:
Debug
Adding source dir: C:\Users\ivagu\OneDrive\Documents\RAF\5.semestar\Racunarska Grafika\Vezbe\3D Grafika\Vezbe7\Vezbe7\RAFGL\RAFGL\
Adding source dir: C:\Users\ivagu\OneDrive\Documents\RAF\5.semestar\Racunarska Grafika\Vezbe\3D Grafika\Vezbe7\Vezbe7\RAFGL\RAFGL\
Adding file: C:\Users\ivagu\OneDrive\Documents\RAF\5.semestar\Racunarska Grafika\Vezbe\3D Grafika\Vezbe7\Vezbe7\RAFGL\RAFGL\bin\Debug\RAFGL.exe
Changing directory to: C:/Users/ivagu/OneDrive/DOCUME~1/RAF/5F926~1.SEM/RACUNA~1/Vezbe/3DGRAF~1/Vezbe7/Vezbe7/RAFGL/RAFGL/.
Set variable: PATH=.;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\MATLAB\R2016a\runtime\win64;C:\Program Files\MATLAB\R2016a\bin;C:\Program Files\MATLAB\R2016a\polyspace\bin;C:\Users\ivagu\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\ivagu\AppData\Local\Programs\Python\Python38;C:\Users\ivagu\AppData\Local\Microsoft\WindowsApps;C:\Users\ivagu\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64;C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\bin
Starting debugger: C:\MinGW\bin\gdb.exe -nx -fullname -quiet  -args C:/Users/ivagu/OneDrive/DOCUME~1/RAF/5F926~1.SEM/RACUNA~1/Vezbe/3DGRAF~1/Vezbe7/Vezbe7/RAFGL/RAFGL/bin/Debug/RAFGL.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Child process PID: 4144
[Inferior 1 (process 4144) exited with code 030000000472]
Debugger finished with status 0

--- End code ---




--- Quote from: BlueHazzard on January 04, 2020, 05:26:16 pm ---Also no crash here on windows with the latest trunk...


--- End quote ---
I also have no crush when I build project, I have crash when I open main.c or any other file from project.

oBFusCATed:
What about the config folder in appdata? Have you tried to rename it?

BTW: I don't want you to debug your executable. You have to provide the debug log when debugging codeblocks.exe.

iviviviviv:
Yes, I found default.conf in appdata and renamed it, and it is the same - it crashes in 17.12

But when I opened it with nightly build I got attached message "storage policy blocks that type of file"


--- Quote from: oBFusCATed on January 04, 2020, 05:56:07 pm ---
BTW: I don't want you to debug your executable. You have to provide the debug log when debugging codeblocks.exe.

--- End quote ---
I dont know how to do that, how to debugg codeblocks.exe?

oBFusCATed:
Can you try to move your project from the OneDrive folder to something that is not managed by sharing software?

iviviviviv:
I stopped OneDrive I got the same error as before,  "storage policy blocks that type of file".

And I moved it to another place which is not in OneDrive, it is the same.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version