Author Topic: The 10 October 2009 build (5859) is out.  (Read 117240 times)

Online jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: The 10 October 2009 build (5859) is out.
« Reply #90 on: November 06, 2009, 09:39:14 am »
Hi all, thanks to developers to theirs good works for improving Code::Blocks everyday !

I would like to signal a new crash that I have since this nightly, it's only happen when I scroll quickly a .nsi file (Script for Nullsoft Installation System), I got an "Assertion failure" message :

Code: [Select]
Assertion [pos >= startSeg] failed at C:\CodeBlocks\src\sdk\wxscintilla\src\DocumentAccessor.cxx 113
And after that Code::Blocks crash.

I run Code::Blocks on Windows XP SP3



Cannot make it crash here, neither with actual trunk, nor with the nightly.

Does it crash reliably ?
How do you scroll ? By dragging the scrollbar with the mouse, or with the scrollwheel or with the keyboard ?

Can you provide a *.nsi-file, where the crash happens ?

Tested on Win XP SP3, with newest updates on self-compiled C::B (5872, wx2.8.10, gcc 4.4.1 TDM-2) and on the nightly (C::B, MinGW and wxWidgets-dll fresh from berlios).

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 10 October 2009 build (5859) is out.
« Reply #91 on: November 06, 2009, 03:14:10 pm »
CodeBlocks crash when you try to modify and save a very large file.

Example: sqlite-amalgamation-3_6_20
Try to remove the 'signed & unsigned warnings'

Thanks for your work!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: The 10 October 2009 build (5859) is out.
« Reply #92 on: November 06, 2009, 04:09:38 pm »
Example: sqlite-amalgamation-3_6_20
Where is that? A google search reveals simply nothing. What exactly is that? A file? A package?

Please provide more information / samples if you want help.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: The 10 October 2009 build (5859) is out.
« Reply #93 on: November 06, 2009, 04:14:48 pm »
Example: sqlite-amalgamation-3_6_20
Where is that? A google search reveals simply nothing. What exactly is that? A file? A package?

Please provide more information / samples if you want help.
Edit: Found the file (searching without the version extension). But it works fine here. No issue?! I can search/replace for text just fine and also loading/browsing/saving just works. What steps do you do exactly? Start the explanation with "Opening C::B".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Online jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: The 10 October 2009 build (5859) is out.
« Reply #94 on: November 06, 2009, 07:20:19 pm »
And tell us the version of C::B you use, the OS (and version) and wxWidgets-version.

Offline Dr.Optix

  • Multiple posting newcomer
  • *
  • Posts: 30
  • I'm studying OS Developing.
    • DrOptix Blog
Re: The 10 October 2009 build (5859) is out.
« Reply #95 on: November 06, 2009, 10:01:42 pm »
Recently while building a test file for one of my programs I found out that C::B crash when you create a file by hand with more than 40000 chars on a single line. It may be Scintilla related, idk, i just wanted to tell the world about it.

Btw i use Nightly built using rev 5859
Occupation: Hobby Programmer
IDE: Code::Blocks Nightly / CodeLite Latest Stable
Compiler: TDM's GCC/mingw32
Blog: DrOptix.WordPress.Com

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: The 10 October 2009 build (5859) is out.
« Reply #96 on: November 06, 2009, 10:07:10 pm »
more than 40000 chars on a single line
Hmmm. That's not a common task I'd say... :lol:
So: How do I reproduce? I am in fact unable to create 40.000 character string. You don't really want me to press a key 40.000 times, don't you?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12898
    • Travis build status
Re: The 10 October 2009 build (5859) is out.
« Reply #97 on: November 06, 2009, 10:31:32 pm »
type:
1.aaaaaaa
2. ctrl+a
3. ctrl+c
4. ctrl+v
5. goto 2 :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Dr.Optix

  • Multiple posting newcomer
  • *
  • Posts: 30
  • I'm studying OS Developing.
    • DrOptix Blog
Re: The 10 October 2009 build (5859) is out.
« Reply #98 on: November 07, 2009, 12:58:41 am »
Tryed to reproduce the crash but now i got to up to 200K chars on a line. Strange. Anyway here's my last crash report

Code: [Select]
Error occured on Friday, November 6, 2009 at 22:52:50.

D:\Installed\CodeBlocks_Nightly\codeblocks.exe caused an Access Violation at location 6c9848bc in module D:\Installed\CodeBlocks_Nightly\wxscintilla.dll Writing to location 00000002.

Registers:
eax=000000ff ebx=00000002 ecx=000000ff edx=000000ff esi=00000055 edi=00000009
eip=6c9848bc esp=0022e598 ebp=0022e620 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
6C9848BC  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C9848BC
6C9B3B2F  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C9B3B2F
6C99ABA3  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C99ABA3
6C99E42D  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C99E42D
6C9A4822  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C9A4822
6C9874FC  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C9874FC
6CA25107  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6CA25107  _ZN11wxScintilla7OnPaintER12wxPaintEvent
6CCCB32E  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCB32E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCC909  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCC909  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCCDCF  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCCDCF  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD1A359  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD1A359  _ZN8wxWindow11HandlePaintEv
6CD1D671  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD1D671  _ZN8wxWindow13MSWWindowProcEjjl
6CD15E91  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD15E91  [email protected]
77D48734  C:\WINDOWS\system32\USER32.dll:77D48734  GetDC
77D48816  C:\WINDOWS\system32\USER32.dll:77D48816  GetDC
77D4B4C0  C:\WINDOWS\system32\USER32.dll:77D4B4C0  DefWindowProcW
77D4B50C  C:\WINDOWS\system32\USER32.dll:77D4B50C  DefWindowProcW
7C90E473  C:\WINDOWS\system32\ntdll.dll:7C90E473  KiUserCallbackDispatcher
6CD17087  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD17087  _ZN8wxWindow6UpdateEv
6C985D20  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C985D20
6C98752D  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6C98752D
6CA25107  D:\Installed\CodeBlocks_Nightly\wxscintilla.dll:6CA25107  _ZN11wxScintilla7OnPaintER12wxPaintEvent
6CCCB32E  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCB32E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCC909  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCC909  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCCDCF  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCCDCF  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCCD71  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCCCD71  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD1A359  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD1A359  _ZN8wxWindow11HandlePaintEv
6CD1D671  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD1D671  _ZN8wxWindow13MSWWindowProcEjjl
6CD15E91  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD15E91  [email protected]
77D48734  C:\WINDOWS\system32\USER32.dll:77D48734  GetDC
77D48816  C:\WINDOWS\system32\USER32.dll:77D48816  GetDC
77D4B4C0  C:\WINDOWS\system32\USER32.dll:77D4B4C0  DefWindowProcW
77D4B50C  C:\WINDOWS\system32\USER32.dll:77D4B50C  DefWindowProcW
7C90E473  C:\WINDOWS\system32\ntdll.dll:7C90E473  KiUserCallbackDispatcher
77D48A10  C:\WINDOWS\system32\USER32.dll:77D48A10  DispatchMessageW
77D5E097  C:\WINDOWS\system32\USER32.dll:77D5E097  IsDialogMessageW
6CD1A8F3  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD1A8F3  _ZN8wxWindow17MSWProcessMessageEP6tagMSG
6CCFD358  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCFD358  _ZN11wxEventLoop17PreProcessMessageEP6tagMSG
6CCFD1B9  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCFD1B9  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CCFD4DC  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCFD4DC  _ZN11wxEventLoop8DispatchEv
6CD93813  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD93813  _ZN17wxEventLoopManual3RunEv
6CD70DFB  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CD70DFB  _ZN9wxAppBase8MainLoopEv
00403B77  D:\Installed\CodeBlocks_Nightly\codeblocks.exe:00403B77
6CC7730D  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CC7730D  _Z12wxInitializeiPPw
6CCD3088  D:\Installed\CodeBlocks_Nightly\wxmsw28u_gcc_cb.dll:6CCD3088  _Z7wxEntryP11HINSTANCE__S0_Pci
00407238  D:\Installed\CodeBlocks_Nightly\codeblocks.exe:00407238
004563E8  D:\Installed\CodeBlocks_Nightly\codeblocks.exe:004563E8
0040124B  D:\Installed\CodeBlocks_Nightly\codeblocks.exe:0040124B
004012B8  D:\Installed\CodeBlocks_Nightly\codeblocks.exe:004012B8
7C816FE7  C:\WINDOWS\system32\kernel32.dll:7C816FE7  RegisterWaitForInputIdle
Occupation: Hobby Programmer
IDE: Code::Blocks Nightly / CodeLite Latest Stable
Compiler: TDM's GCC/mingw32
Blog: DrOptix.WordPress.Com

Online jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: The 10 October 2009 build (5859) is out.
« Reply #99 on: November 07, 2009, 11:45:22 am »
I can make C::B crash reliably with an x-windows error (Bad alloc) if I create a new empty file and create one line from some thousand charactes length.
If I add a newline before creating such aline C::B does not crash.

C::B build against scintilla 2.01 (scintilla test-branch) does not crash, even if single line is more than 3 meg characters lon (it's only really slow than and of course not a real world scenario in my opinion) .
So this issue might be fixed, if we merge the scintilla test-branch with trunk, so be patient.
« Last Edit: November 07, 2009, 11:47:59 am by jens »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: The 10 October 2009 build (5859) is out.
« Reply #100 on: November 07, 2009, 06:19:37 pm »
I can make C::B crash reliably with an x-windows error (Bad alloc) if I create a new empty file and create one line from some thousand charactes length.
It's happening here, too with the scintilla test branch. It's reason goes back to Indcator.cxx, this line:
Code: [Select]
int x = rc.left + 5;Which is very weired because actually this can overflow, but not crash.
However - it's a scintilla problem. So it should happen in SciTE, too. It's probably better to complain to the scintilla guys.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Bananen-Joe

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 10 October 2009 build (5859) is out.
« Reply #101 on: November 07, 2009, 08:47:45 pm »
Hey guys (and girls - if there are some),

I've installed the new nightly build and discovered soon, that the key combo Ctrl + Del doesn't annoy me anymore: GREAT!

But then I expected that the F11 key (which I found great) doesn't work any more if the pendant file (source <-> header) doesn't exist.
In prior versions I've been asked if I want to create the missing file. That was cool, because it has fasten up the process of creating new modules.
Well I think this feature has been removed because anyone doesn't like this?

Could you please add an option wether the F11 key will ask on missing files or not?
This solution would make anyone happy.

Whereas we are at the point options:
Why isn't it possible to configure the shortcuts and accelerator keys?
I'd like to use the same shortcuts as in Notepad++.
Some of them are different.

Kind Regards
Bananen-Joe

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: The 10 October 2009 build (5859) is out.
« Reply #102 on: November 07, 2009, 09:22:33 pm »
Could you please add an option wether the F11 key will ask on missing files or not?
Works fine here...?!

Why isn't it possible to configure the shortcuts and accelerator keys?
It's certainly possibel - please just search the forums. I've answered that question just yesterday/today. It's annoying to do it *every* day again.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Online jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: The 10 October 2009 build (5859) is out.
« Reply #103 on: November 08, 2009, 10:25:39 am »
I can make C::B crash reliably with an x-windows error (Bad alloc) if I create a new empty file and create one line from some thousand charactes length.
It's happening here, too with the scintilla test branch. It's reason goes back to Indcator.cxx, this line:
Code: [Select]
int x = rc.left + 5;Which is very weired because actually this can overflow, but not crash.
However - it's a scintilla problem. So it should happen in SciTE, too. It's probably better to complain to the scintilla guys.

Why do you think this is the code, that makes C::B crash ?
It should only be reached if an  INDIC_TT (a line of small T shapes) is drawn, and even then it should not harm, because it's compared with rc.right before it is used to actually draw on the surface.

Offline Bananen-Joe

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 10 October 2009 build (5859) is out.
« Reply #104 on: November 08, 2009, 12:47:00 pm »
Could you please add an option wether the F11 key will ask on missing files or not?
Works fine here...?!
I've tested it and it doesn't work in most cases here:
- In one of my older projects (created with the previous nightly build rekease) i've been asked to create the missing code file for an header file (pressing the key in the current nightly build)
- In a new project (created with the current nightly build) i've added new blank cpp files and the F11 key doesn't work (the same for header files where the code file should be created)

Maybe the F11 key doesn't like the project files created by the 5859 build?

Why isn't it possible to configure the shortcuts and accelerator keys?
It's certainly possibel - please just search the forums. I've answered that question just yesterday/today. It's annoying to do it *every* day again.
I've checked the option and found it.
Well I remember this option wasn't there in the official release, or..?

Kind Regards
Bananen-Joe