<stack>
<frame level="0"/>
<frame level="1" function="SQTable::NewSlot(SQObjectPtr const&, SQObjectPtr const&)" offset="00000071"/>
<frame level="2" function="SQSharedState::Init()" offset="00000669"/>
<frame level="3" function="sq_open" offset="0000002d"/>
<frame level="4" function="SquirrelVM::Init(SquirrelInitFlags)" offset="00000012"/>
<frame level="5" function="ScriptingManager::ScriptingManager()" offset="0000013a"/>
<frame level="6" function="Manager::GetScriptingManager() const" offset="00000051"/>
</stack>
Yamakuzure: Are you using an ebuild or self compiling?I am using the dev-util/codeblocks-9999.ebuild in the portage tree with fixed svn repo URI.
Program received signal SIGSEGV, Segmentation fault.
_Get (hash=<optimized out>, this=<optimized out>, key=...) at ../../../../src/include/scripting/squirrel/sqtable.h:69
69 ../../../../src/include/scripting/squirrel/sqtable.h: No such file or directory.
(gdb) bt
#0 _Get (hash=<optimized out>, this=<optimized out>, key=...) at ../../../../src/include/scripting/squirrel/sqtable.h:69
#1 SQTable::NewSlot (this=this@entry=0xb3af10, key=..., val=...) at sqtable.cpp:98
#2 0x00007ffff7884e08 in SQTable::Rehash (this=0xb3af10, force=<optimized out>) at sqtable.cpp:64
#3 0x00007ffff7884be5 in SQTable::NewSlot (this=this@entry=0xb3af10, key=..., val=...) at sqtable.cpp:147
#4 0x00007ffff7884e08 in SQTable::Rehash (this=0xb3af10, force=<optimized out>) at sqtable.cpp:64
#5 0x00007ffff7884be5 in SQTable::NewSlot (this=0xb3af10, key=..., val=...) at sqtable.cpp:147
#6 0x00007ffff7878dd9 in SQSharedState::Init (this=0xb60250) at sqstate.cpp:127
#7 0x00007ffff78903cd in sq_open (initialstacksize=1024) at sqapi.cpp:51
#8 0x00007ffff7859682 in SquirrelVM::Init (flags=254) at SquirrelVM.cpp:41
#9 0x00007ffff77fa41a in ScriptingManager::ScriptingManager (this=0xb60120) at scriptingmanager.cpp:77
#10 0x00007ffff77ab491 in Get () at ../../src/include/manager.h:192
#11 Manager::GetScriptingManager (this=<optimized out>) at manager.cpp:365
#12 0x000000000044f113 in CodeBlocksApp::OnInit (this=0x780560) at app.cpp:637
#13 0x00007ffff5df2704 in wxEntry (argc=<optimized out>, argv=<optimized out>) at /home/portage/x11-libs/wxGTK-2.8.12.1/work/wxPython-src-2.8.12.1/src/common/init.cpp:432
#14 0x00000000004416c2 in main (argc=1, argv=<optimized out>) at app.cpp:266
(gdb) frame 1
#1 SQTable::NewSlot (this=this@entry=0xb3af10, key=..., val=...) at sqtable.cpp:98
98 sqtable.cpp: No such file or directory.
(gdb) print key
$1 = (const SQObjectPtr &) @0xb60b38: {<tagSQObject> = {_type = OT_STRING, _unVal = {pTable = 0xb3eb50, pArray = 0xb3eb50, pClosure = 0xb3eb50, pGenerator = 0xb3eb50,
pNativeClosure = 0xb3eb50, pString = 0xb3eb50, pUserData = 0xb3eb50, nInteger = 11791184, fFloat = 1.6522968e-38, pUserPointer = 0xb3eb50, pFunctionProto = 0xb3eb50,
pRefCounted = 0xb3eb50, pDelegable = 0xb3eb50, pThread = 0xb3eb50, pClass = 0xb3eb50, pInstance = 0xb3eb50, pWeakRef = 0xb3eb50, raw = 11791184}}, <No data fields>}
(gdb) print val
$2 = (const SQObjectPtr &) @0xb60b28: {<tagSQObject> = {_type = 0, _unVal = {pTable = 0x0, pArray = 0x0, pClosure = 0x0, pGenerator = 0x0, pNativeClosure = 0x0, pString = 0x0,
pUserData = 0x0, nInteger = 0, fFloat = 0, pUserPointer = 0x0, pFunctionProto = 0x0, pRefCounted = 0x0, pDelegable = 0x0, pThread = 0x0, pClass = 0x0, pInstance = 0x0,
pWeakRef = 0x0, raw = 0}}, <No data fields>}
(gdb) inspect this
$3 = (SQTable * const) 0xb3af10
(gdb) frame 0
#0 _Get (hash=<optimized out>, this=<optimized out>, key=...) at ../../../../src/include/scripting/squirrel/sqtable.h:69
69 ../../../../src/include/scripting/squirrel/sqtable.h: No such file or directory.
(gdb) inspect hash
$4 = <optimized out>
(gdb) inspect key
$5 = <optimized out>
Yamakuzure:Yes, before refetching the tree, I had deleted the old one. However, I have deleted it once again and am rebuilding right now.
Hm, have you tried to delete the svn files in /usr/portage/distfiles ?
I'm not using the portage's ebuild, but an old custom version. I have no problems or crashes.
But I'm also running and older glibc and gcc.
Edith has a request...: Could you perchance send me your emerge --info on your custom ebuild and maybe a diff to the ebuild in the tree per PM?I've switched to the in-tree ebuild and the build went fine. I'll report if there are any problems with it.
# emerge --info
Portage 2.2.0_alpha171 (default/linux/amd64/13.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem: 4055240 total, 1491248 free
KiB Swap: 4000148 total, 3768076 free
Timestamp of tree: Mon, 08 Apr 2013 18:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.3-r3
dev-util/cmake: 2.8.10.2-r1
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.1.2, 4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo enlightenment ardunio proaudio obfuscated-local-repo
Installed sets: @cb, @e17, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fweb -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.telepoint.bg/gentoo/"
INSTALL_MASK="winemenubuilder.exe winemenubuilder.exe.so"
LANG="bg_BG.UTF-8"
LC_ALL="bg_BG.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/home/portage_overlay/distfiles/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/arduino /var/lib/layman/pro-audio /home/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt cxx dbus dri dts dvd dvdr dvdread emboss encode exif fam firefox flac fontconfig gdbm gif gpm gtk gtk2 gtk3 iconv jack jpeg lcms libnotify mad midi mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl session spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse wacom joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="bg en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset: CPPFLAGS, CTARGET, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I've switched to the in-tree ebuild and the build went fine. I'll report if there are any problems with it.Thank you very much. I have updated some of the toolchain packages to ~arch. No luck. Then I remembered that I messed around with /etc/portage/env and found the solution:
Here is the info:
With the buggy switch the compiler is no longer adding the top level dir to the list of search dirs.Fixed in trunk.
An awkward behavior appeared with the latest revision. I just re-compiled an old wxMSW project and originally consumed no more than 86MB; now it needs 96MB for just starting C::B, and upon loading GUI project it immediately jumps up to 164MB. When I close my project, the memory remains the same without getting released.Are you saying this is the memory usage of Code::Blocks, or your own program? If it is Code::Blocks, do you have documentation parsing enabled for CC?
UPDATE: Ctrl+arrow UP or DOWN does not work; it should supposed to move editor by one line up or down.Does this work if you disable EditorTweaks?
An awkward behavior appeared with the latest revision. I just re-compiled an old wxMSW project and originally consumed no more than 86MB; now it needs 96MB for just starting C::B, and upon loading GUI project it immediately jumps up to 164MB. When I close my project, the memory remains the same without getting released.Can you disable CodeCompletion plugin and try again? Thanks.
I have also tried to debug my application and the debugger crashed the entire C::B.No idea about this issue, I need steps to reproduce this issue.
C::B revision: svn-9096Another option is to try rev 9077 and 9078 and report which one works and which doesn't.
I think I have figure out what seems to be the problem. The parser would run endlessly somewhere, either at the current project directory or the entire GUI framework / compiler directory and would stuck in a place that is beyond my wildest imagination (LOL), and after reparsed my project memory returned to normal levels.Can you tell me how to reproduce this issue(sample code? steps?), it looks like its a CC bug.
Also, when I use the auto completion with Ctrl-Space I get duplicate on top of duplicate for each class member, but class constructors / destructors are appeared only once.
On Windows XP, the issue remains the same even with the latest revision.What issue?
I think I have figure out what seems to be the problem. The parser would run endlessly somewhere, either at the current project directory or the entire GUI framework / compiler directory and would stuck in a place that is beyond my wildest imagination (LOL), and after reparsed my project memory returned to normal levels.Can you tell me how to reproduce this issue(sample code? steps?), it looks like its a CC bug.
Also, when I use the auto completion with Ctrl-Space I get duplicate on top of duplicate for each class member, but class constructors / destructors are appeared only once.
On Windows XP, the issue remains the same even with the latest revision.What issue?
The issue with Ctrl-ArrowUp / Ctrl-ArrowDown to scroll text. On Debian works fine; on XP it does not. CheersI am on XP, too - works fine here. Do you have the KeyMacs / Keybindings or any similar plugins enabled?
sudo apt-get install codeblocks
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
codeblocks : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
E: Unable to correct problems, you have held broken packages.
My repo is not (!!) compatible with ubuntu 12.04 (and newer), since a long time.Thanks for replying, but that's strange, because as I said, I've successfully been using it until today. All updates were correctly installed and I always got a newer nightly release for CodeBlocks. Last time CodeBlocks was correctly updated from your repository was 3rd of May (to the revision 12.11svn9026-1).
I really hate the whole *nix stuff, because it always starts feeding me with stupid administrative problems at the very moment, when the rest of my life depends on working fast on my current tasksIf you have no time to manage your system you don't execute the system updater! If it works you don't change/touch it :)
jensDebian has switched the revisions: former testing is now stable, etc.QuoteMy repo is not (!!) compatible with ubuntu 12.04 (and newer), since a long time.Thanks for replying, but that's strange, because as I said, I've successfully been using it until today. All updates were correctly installed and I always got a newer nightly release for CodeBlocks. Last time CodeBlocks was correctly updated from your repository was 3rd of May (to the revision 12.11svn9026-1).
The issue with Ctrl-ArrowUp / Ctrl-ArrowDown to scroll text. On Debian works fine; on XP it does not. CheersI am on XP, too - works fine here. Do you have the KeyMacs / Keybindings or any similar plugins enabled?
The issue with Ctrl-ArrowUp / Ctrl-ArrowDown to scroll text. On Debian works fine; on XP it does not. CheersCause identified: it is the FortranProject plugin. This plugin rebinds the keyboard shortcuts, making their previous use invalid.
The issue with Ctrl-ArrowUp / Ctrl-ArrowDown to scroll text. On Debian works fine; on XP it does not. CheersI am on XP, too - works fine here. Do you have the KeyMacs / Keybindings or any similar plugins enabled?
I'm not disabling or enabling any plugin according to my needs. I just compile the latest revision and check for possible issues upon use.Where should I check for such plugin or functionality, just in case it got disabled if there's such functionality I mean?I have found it and yes, it's enabled. I have disabled it and tried again to use the keys and it's not working. I'm sure this plugin was on for ages and never had such issues. Is there anything else I should try?
./bootstrap
mkdir build
cd build
../configure
make dist
Hi,Hi,
I am trying to find a Code::Blocks 12.11 build 8982 repository for Ubuntu 13.04.
But unfortunatelly
- The ppa https://launchpad.net/~pasgui/+archive/ppa/ (https://launchpad.net/~pasgui/+archive/ppa/) doesn't contain version for Ubuntu 13.04
- and ppa http://lgp203.free.fr/ubuntu/?showdetail=codeblocks1#codeblocks1-row (http://lgp203.free.fr/ubuntu/?showdetail=codeblocks1#codeblocks1-row) has no Signing key