Systematic bug with code snippets:
- View -> Code snippets
- Right click on root (code snippets)
- Click on "Full Search"
- In "Snippets search" window, click on File -> Open
- Select any file (I tried with a workspace and a cpp file)
- Crash
-------------------
Error occured on Saturday, July 19, 2008 at 23:57:04.
C:\DevSofts\CodeBlocks\codeblocks.exe caused an Access Violation at location 6c9ff50b in module C:\DevSofts\CodeBlocks\wxscintilla.dll Reading from location 00000150.
Registers:
eax=00000000 ebx=00b11e98 ecx=0022efe4 edx=0000284f esi=03674dd8 edi=0022f1ec
eip=6c9ff50b esp=0022efd4 ebp=0022efec 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:
6C9FF50B C:\DevSofts\CodeBlocks\wxscintilla.dll:6C9FF50B _ZN11wxScintilla7SendMsgEill
6C9FF70B C:\DevSofts\CodeBlocks\wxscintilla.dll:6C9FF70B _ZN11wxScintilla13GetCurrentPosEv
6CA03B4F C:\DevSofts\CodeBlocks\wxscintilla.dll:6CA03B4F _ZN11wxScintilla14GetCurrentLineEv
65E9EE33 C:\DevSofts\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65E9EE33
65EE3468 C:\DevSofts\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EE3468 _ZN8cbPlugin9OnReleaseEb
618101EE C:\DevSofts\CodeBlocks\codeblocks.dll:618101EE _ZN11EditorHooks9CallHooksEP8cbEditorR16wxScintillaEvent
67F49CAF C:\DevSofts\CodeBlocks\share\codeblocks\plugins\codesnippets.dll:67F49CAF
6CCCAC0E C:\DevSofts\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCAC0EDwarf Error: found dwarf version '16897', this reader only handles version 2 information.
Dje
Hi,
I get a nasty build error when compiling defaults.cpp from the headerfixup plugin, but only on x86_64 with gcc <4.3 (opensuse 10.3, 10.2, mandriva 2008 and fedora 8 ). somehow it's using up all the ram and swap. perhaps you know why :)
here it comes (it's from suse 10.3 but all other look the same):
g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FIL
ES -D__WXGTK__ -pthread -I../../../../src/include -I../../../../src/include/wxscintilla/include -Ulinux -Uunix -O2 -ffast-math -fmessage-length=0 -Wall -D_FO
RTIFY_SOURCE=2 -fstack-protector -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT defaults.lo -MD -MP -MF .deps/defaults.Tpo -c defaults.cpp -fPI
C -DPIC -o .libs/defaults.o
In file included from bindings.h:10,
from defaults.cpp:10:
/usr/include/wx-2.8/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::
GetNodePtr(const long int&) const':
/usr/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from defaults.cpp:10:
bindings.h: In member function 'Bindings::MappingsT_wxImplementation_HashTable::Node** Bindings::MappingsT_wxImplementation_HashTable::GetNodePtr(const wxStr
ing&) const':
bindings.h:53: warning: dereferencing type-punned pointer will break strict-aliasing rules
bindings.h: In member function 'Bindings::GroupsT_wxImplementation_HashTable::Node** Bindings::GroupsT_wxImplementation_HashTable::GetNodePtr(const wxString&
) const':
bindings.h:54: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc1plus invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Call Trace: <ffffffff8015d602>{oom_kill_process+87}
<ffffffff8015da36>{out_of_memory+299} <ffffffff8015f61f>{__alloc_pages+600}
<ffffffff80160f6c>{__do_page_cache_readahead+265} <ffffffff8010622a>{hypercall_page+554}
<ffffffff8010622a>{hypercall_page+554} <ffffffff8015cd2d>{filemap_nopage+336}
<ffffffff8016acbe>{__handle_mm_fault+830} <ffffffff8010622a>{hypercall_page+554}
<ffffffff802e64b5>{do_page_fault+2909} <ffffffff8016e46c>{do_brk+485}
<ffffffff8010a92f>{error_exit+0}
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0
DMA32 per-cpu:
CPU 0: Hot: hi: 186, btch: 31 usd: 159 Cold: hi: 62, btch: 15 usd: 44
Free pages: 6368kB (0kB HighMem)
Active:90286 inactive:90313 dirty:0 writeback:0 unstable:0 free:1592 slab:1788 mapped:0 pagetables:1351
DMA free:2932kB min:8kB low:8kB high:12kB active:4152kB inactive:4024kB present:2424kB pages_scanned:13512 all_unreclaimable? yes
lowmem_reserve[]: 0 731 731 731
DMA32 free:3436kB min:3456kB low:4320kB high:5184kB active:356992kB inactive:357228kB present:749420kB pages_scanned:1289562 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA: 1*4kB 0*8kB 1*16kB 1*32kB 1*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2932kB
DMA32: 1*4kB 11*8kB 1*16kB 0*32kB 0*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 3436kB
Swap cache: add 664237, delete 664237, find 31394/68307, race 0+0
Free swap = 0kB
Total swap = 1535992kB
Free swap: 0kB
194048 pages of RAM
4766 reserved pages
11 pages shared
0 pages swap cached
Out of Memory: Kill process 30723 (g++) score 90295 and children.
Out of memory: Killed process 30724 (cc1plus).
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.opensuse.org> for instructions.
make[4]: *** [defaults.lo] Error 1
make[4]: Leaving directory `/usr/src/packages/BUILD/codeblocks-1.0svn5142/src/plugins/contrib/headerfixup'
can someone confirm this? i don't have x86_64 installed and can't make more tests, i only have the opensuse buildservice where i have to wait for free build hosts.