Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: mikeandmore on April 01, 2006, 06:28:55 am

Title: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: mikeandmore on April 01, 2006, 06:28:55 am
click on Settings->Environment.... crash!

wxGTK unicode 2.6.1 + libgtk 2.8.16 + Ubuntu Dapper
1.0 svn 2278
Title: Re: Settings->Environment.... crash!
Post by: tiwag on April 01, 2006, 08:07:40 am
forum -> read -> solution !
Title: Re: Settings->Environment.... crash!
Post by: Der Meister on April 01, 2006, 11:13:47 am
This crash was fixed in revision 2282.
Title: Re: Settings->Environment.... crash!
Post by: mikeandmore on April 01, 2006, 11:58:56 am
i'm using rev2285 nightly, and still have this problem
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: mikeandmore on April 04, 2006, 09:49:15 am
also confirm this bug in rev2288!!!!!
the latest!
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 04, 2006, 11:29:43 am
also confirm this bug in rev2288!!!!!
the latest!

Hello,

It could be useful if you give some more info on what you were doing when you got the crash.


[EDIT]: The Settings->Environment "issue" seems also to be present in rev2290 on kubuntu 5.10 (one of my colleague tested it). This was the Stacktrace (partially):

Quote
MainFrame::OnSettingsEnvironment() offset 0000004a, after follows 2 empty Frames and the call of wxFatalSignalHandler.

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: mikeandmore on April 09, 2006, 05:40:21 am
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229432608 (LWP 5092)]
0x08074273 in EnvironmentSettingsDlg::OnChooseColor ()
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: thomas on April 09, 2006, 02:49:29 pm
Quote
Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Quote
also confirm this bug in rev2288!!!!!
You need a new keyboard. The "1" and "Shift" keys are hanging.
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 09, 2006, 05:40:00 pm
Got the same error with the build 2321 from 05 april 2006 (http://forums.codeblocks.org/index.php?topic=2828.0).

I have no project open and just clicked on Settings -> Environment. Here's the report (http://extraball.sunsite.dk/notepad.php?ID=17041).

I use C::B under Ubuntu Breezy 5.10.

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 13, 2006, 09:10:16 pm
Got the same error with the build 2321 from 05 april 2006 (http://forums.codeblocks.org/index.php?topic=2828.0).

I have no project open and just clicked on Settings -> Environment. Here's the report (http://extraball.sunsite.dk/notepad.php?ID=17041).

I use C::B under Ubuntu Breezy 5.10.

Greetings, Dee


Someone who is getting this crash is going to have to explain to the
rest of us who are trying to solve it *how* to duplicate it.
*What* were you doing when you got the crash.

I cannot seem to get this crash and I've been through all the
options in "Environment Settings" on Ubuntu 510.

If you want it fixed, please give up some more information.

thanks
pecan
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: mandrav on April 13, 2006, 09:36:00 pm
It's obvious that there is no crash in the Environment settings dialog. It has been fixed days ago.
Those of you who experience this kind of crashes, probably have out-of-date resources.
Whenever you want to update you local C::B copy, do the following to ensure everything is correctly setup:


svn update
make clean-bin
make clean-zipfiles
make
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 13, 2006, 09:41:36 pm
Got the same error with the build 2321 from 05 april 2006 (http://forums.codeblocks.org/index.php?topic=2828.0).

I have no project open and just clicked on Settings -> Environment. Here's the report (http://extraball.sunsite.dk/notepad.php?ID=17041).

I use C::B under Ubuntu Breezy 5.10.

Greetings, Dee


Someone who is getting this crash is going to have to explain to the
rest of us who are trying to solve it *how* to duplicate it.
*What* were you doing when you got the crash.

I cannot seem to get this crash and I've been through all the
options in "Environment Settings" on Ubuntu 510.

If you want it fixed, please give up some more information.

Hello,

It is not an easy issue (if any). My colleague gets such a crash, but not me. I get Settings-->Editor (with codestats plugins activated), but not him. The dffirence betwen me and him? I have ubuntu 5.10 and he has kubuntu 5.10. I build C::B by myself and he uses the .deb package.

How to reproduce the crash is simple, if it works. You start C::B, go to Settings-->Environment and C::B crashes.

Best wishes,
Michael

[EDIT]: Here is the report (C::B rev2290):

Quote
<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
   <system description="Linux 2.6.12-10-386 i686"/>
   <modules>
      <module path="/usr/bin/codeblocks" address="08048000" size="00091000"/>
      <module path="/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf" address="b5bd1000" size="0000f000"/>
      <module path="/usr/share/codeblocks/plugins/libwxsmith.so" address="b5d63000" size="00017000"/>
      <module path="/usr/share/codeblocks/plugins/libprofiler.so" address="b5d7e000" size="0002d000"/>
      <module path="/usr/share/codeblocks/plugins/libkeybinder.so" address="b5df0000" size="00002000"/>
      <module path="/usr/share/codeblocks/plugins/libhelp_plugin.so" address="b5df3000" size="00028000"/>
      <module path="/usr/share/codeblocks/plugins/libcodestat.so" address="b5e42000" size="00002000"/>
      <module path="/usr/share/codeblocks/plugins/libtodo.so" address="b5e72000" size="00002000"/>
      <module path="/usr/share/codeblocks/plugins/libpluginwizard.so" address="b5e97000" size="00002000"/>
      <module path="/usr/share/codeblocks/plugins/libcompiler.so" address="b5f69000" size="00005000"/>
      <module path="/usr/share/codeblocks/plugins/libdefaultmimehandler.so" address="b5f6f000" size="00024000"/>
      <module path="/usr/share/codeblocks/plugins/libcodecompletion.so" address="b6798000" size="00091000"/>
      <module path="/usr/share/codeblocks/plugins/libastyle.so" address="b6832000" size="0004a000"/>
      <module path="/SYSV00000000" address="b68dd000" size="00063000"/>
      <module path="/usr/lib/pango/1.4.0/modules/pango-basic-fc.so" address="b6942000" size="00001000" version="fc"/>
      <module path="/usr/share/codeblocks/plugins/libclasswizard.so" address="b6953000" size="0000f000"/>
      <module path="/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so" address="b6968000" size="00001000" version="xpm"/>
      <module path="/usr/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo" address="b6976000" size="0001a000"/>
      <module path="/lib/tls/i686/cmov/libnss_files-2.3.5.so" address="b69af000" size="0000a000" version="2.3.5"/>
      <module path="/lib/tls/i686/cmov/libnss_nis-2.3.5.so" address="b69c1000" size="00001000" version="2.3.5"/>
      <module path="/lib/tls/i686/cmov/libnsl-2.3.5.so" address="b69d4000" size="00001000" version="2.3.5"/>
      <module path="/lib/tls/i686/cmov/libnss_compat-2.3.5.so" address="b69d7000" size="00009000" version="2.3.5"/>
      <module path="/usr/share/locale/de/LC_MESSAGES/gtk20-properties.mo" address="b69f2000" size="0001c000"/>
      <module path="/usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0" address="b6a0f000" size="00001000" version="2.0.0"/>
      <module path="/usr/lib/libXdmcp.so.6.0.0" address="b6b99000" size="00004000" version="6.0.0"/>
      <module path="/usr/lib/libXau.so.6.0.0" address="b6b9f000" size="00001000" version="6.0.0"/>
      <module path="/usr/lib/libpangoft2-1.0.so.0.1001.0" address="b6ba1000" size="00023000" version="0.1001.0"/>
      <module path="/usr/lib/libfontconfig.so.1.0.4" address="b6bec000" size="00005000" version="1.0.4"/>
      <module path="/usr/lib/libexpat.so.1.0.0" address="b6bf2000" size="0001f000" version="1.0.0"/>
      <module path="/usr/lib/libtiff.so.4.1.3" address="b6c12000" size="00051000" version="4.1.3"/>
      <module path="/usr/lib/libjpeg.so.62.0.0" address="b6c81000" size="00001000" version="62.0.0"/>
      <module path="/usr/lib/libpng12.so.0.1.2.8" address="b6ca5000" size="00001000" version="0.1.2.8"/>
      <module path="/usr/lib/libglib-2.0.so.0.800.3" address="b6d22000" size="00005000" version="0.800.3"/>
      <module path="/usr/lib/libgthread-2.0.so.0.800.3" address="b6d28000" size="00004000" version="0.800.3"/>
      <module path="/usr/lib/libgmodule-2.0.so.0.800.3" address="b6d2e000" size="00001000" version="0.800.3"/>
      <module path="/usr/lib/libgobject-2.0.so.0.800.3" address="b6d62000" size="00004000" version="0.800.3"/>
      <module path="/usr/lib/libX11.so.6.2.0" address="b6e23000" size="00003000" version="6.2.0"/>
      <module path="/usr/lib/libXrender.so.1.3.0" address="b6e2d000" size="00001000" version="1.3.0"/>
      <module path="/usr/lib/libcairo.so.2.2.3" address="b6e72000" size="00002000" version="2.2.3"/>
      <module path="/usr/lib/libfreetype.so.6.3.5" address="b6e75000" size="0006a000" version="6.3.5"/>
      <module path="/usr/lib/libpango-1.0.so.0.1001.0" address="b6f11000" size="00003000" version="0.1001.0"/>
      <module path="/usr/lib/libXfixes.so.3.0.0" address="b6f17000" size="00001000" version="3.0.0"/>
      <module path="/usr/lib/libXcursor.so.1.0.2" address="b6f20000" size="00001000" version="1.0.2"/>
      <module path="/usr/lib/libXext.so.6.4.1" address="b6f2d000" size="00001000" version="6.4.1"/>
      <module path="/usr/lib/libXrandr.so.2.0.1" address="b6f30000" size="00001000" version="2.0.1"/>
      <module path="/usr/lib/libXi.so.6.0.0" address="b6f32000" size="00008000" version="6.0.0"/>
      <module path="/usr/lib/libXinerama.so.1.0.0" address="b6f3c000" size="00001000" version="1.0.0"/>
      <module path="/usr/lib/libpangocairo-1.0.so.0.1001.0" address="b6f42000" size="00001000" version="0.1001.0"/>
      <module path="/usr/lib/libgdk_pixbuf-2.0.so.0.800.6" address="b6f57000" size="00002000" version="0.800.6"/>
      <module path="/usr/lib/libatk-1.0.so.0.1010.3" address="b6f71000" size="00003000" version="0.1010.3"/>
      <module path="/usr/lib/libgtk-x11-2.0.so.0.800.6" address="b721c000" size="00029000" version="0.800.6"/>
      <module path="/usr/lib/libz.so.1.2.3" address="b7249000" size="00014000" version="1.2.3"/>
      <module path="/usr/lib/libgdk-x11-2.0.so.0.800.6" address="b72d3000" size="00007000" version="0.800.6"/>
      <module path="/usr/lib/libwxscintilla.so.0.0.1" address="b73d8000" size="00004000" version="0.0.1"/>
      <module path="/lib/tls/i686/cmov/libc-2.3.5.so" address="b73dd000" size="0012c000" version="2.3.5"/>
      <module path="/lib/libgcc_s.so.1" address="b750b000" size="0000b000" version="1"/>
      <module path="/lib/tls/i686/cmov/libm-2.3.5.so" address="b7517000" size="00022000" version="2.3.5"/>
      <module path="/usr/lib/libstdc++.so.6.0.5" address="b7615000" size="00005000" version="6.0.5"/>
      <module path="/usr/lib/libwx_baseu-2.6.so.0.0.0" address="b761f000" size="00117000" version="0.0.0"/>
      <module path="/usr/lib/libwx_baseu_net-2.6.so.0.0.0" address="b7743000" size="00029000" version="0.0.0"/>
      <module path="/usr/lib/libwx_baseu_xml-2.6.so.0.0.0" address="b7774000" size="00001000" version="0.0.0"/>
      <module path="/usr/lib/libwx_gtk2u_core-2.6.so.0.0.0" address="b7a0e000" size="00022000" version="0.0.0"/>
      <module path="/usr/lib/libwx_gtk2u_adv-2.6.so.0.0.0" address="b7a37000" size="00095000" version="0.0.0"/>
      <module path="/usr/lib/libwx_gtk2u_html-2.6.so.0.0.0" address="b7acd000" size="00085000" version="0.0.0"/>
      <module path="/usr/lib/libwx_gtk2u_qa-2.6.so.0.0.0" address="b7b6f000" size="00002000" version="0.0.0"/>
      <module path="/usr/lib/libwx_gtk2u_xrc-2.6.so.0.0.0" address="b7bec000" size="00004000" version="0.0.0"/>
      <module path="/lib/tls/i686/cmov/libdl-2.3.5.so" address="b7bf1000" size="00003000" version="2.3.5"/>
      <module path="/lib/tls/i686/cmov/libpthread-2.3.5.so" address="b7bf5000" size="00010000" version="2.3.5"/>
      <module path="/usr/lib/libcodeblocks.so.0.0.1" address="b7c07000" size="00338000" version="0.0.1"/>
      <module path="/usr/share/locale-langpack/en_GB/LC_MESSAGES/libc.mo" address="b7f46000" size="00001000"/>
      <module path="/usr/lib/gconv/ISO8859-1.so" address="b7f48000" size="00001000" version="1"/>
      <module path="/lib/ld-2.3.5.so" address="b7f57000" size="00016000" version="2.3.5"/>
   </modules>
   <stack>
      <frame level="2" function="wxStackWalker::Walk(unsigned int)" offset="00000030"/>
      <frame level="3" function="wxDebugReport::AddContext(wxDebugReport::Context)" offset="00000a16"/>
      <frame level="4" function="wxDebugReport::AddAll(wxDebugReport::Context)" offset="00000018"/>
      <frame level="5" function="wxHtmlWindow::LoadPage(wxString const&amp;)" offset="00000cc8"/>
      <frame level="6" function="wxFatalSignalHandler" offset="00000026"/>
      <frame level="7"/>
      <frame level="8"/>
      <frame level="9" function="MainFrame::OnSettingsEnvironment(wxCommandEvent&amp;)" offset="0000004a"/>
      <frame level="10" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000031"/>
      <frame level="11" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000007d"/>
      <frame level="12" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="00000074"/>
      <frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000bd"/>
      <frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
      <frame level="22"/>
      <frame level="23" function="g_cclosure_marshal_VOID__VOID" offset="00000043"/>
      <frame level="24" function="g_closure_invoke" offset="0000011e"/>
      <frame level="25"/>
      <frame level="26" function="g_signal_emit_valist" offset="000006ab"/>
      <frame level="27" function="g_signal_emit" offset="00000029"/>
      <frame level="28" function="gtk_widget_activate" offset="0000008a"/>
      <frame level="29" function="gtk_menu_shell_activate_item" offset="000000d0"/>
      <frame level="30"/>
      <frame level="31"/>
      <frame level="32" function="_gtk_marshal_BOOLEAN__BOXED" offset="00000058"/>
      <frame level="33"/>
      <frame level="34" function="g_closure_invoke" offset="0000011e"/>
      <frame level="35"/>
      <frame level="36" function="g_signal_emit_valist" offset="0000041e"/>
      <frame level="37" function="g_signal_emit" offset="00000029"/>
      <frame level="38"/>
      <frame level="39" function="gtk_propagate_event" offset="000000c1"/>
      <frame level="40" function="gtk_main_do_event" offset="00000325"/>
      <frame level="41"/>
      <frame level="42" function="g_main_context_dispatch" offset="000001dc"/>
      <frame level="43"/>
      <frame level="44" function="g_main_loop_run" offset="000001a1"/>
      <frame level="45" function="gtk_main" offset="000000b4"/>
      <frame level="46" function="wxEventLoop::Run()" offset="00000055"/>
      <frame level="47" function="wxAppBase::MainLoop()" offset="0000004c"/>
      <frame level="48" function="wxAppBase::OnRun()" offset="00000021"/>
      <frame level="49"/>
      <frame level="50" function="wxEntry(int&amp;, wchar_t**)" offset="0000005c"/>
      <frame level="51" function="wxEntry(int&amp;, char**)" offset="00000032"/>
      <frame level="52" function="EditorBase::CreateContextSubMenu(int)" offset="000002a8"/>
   </stack>
</report>
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 14, 2006, 12:44:59 am
Quote
It is not an easy issue (if any). My colleague gets such a crash, but not me. I get Settings-->Editor (with codestats plugins activated), but not him. The dffirence betwen me and him? I have ubuntu 5.10 and he has kubuntu 5.10. I build C::B by myself and he uses the .deb package.

Since I cannot get the crash, the only thing I can suggest is
to run CB from a terminal window under gdb. When it crashes,
a gdb backtrace will tell you exactly which statement caused it.

my dbg.sh run from the .../devel directory

Code
#!/ bin/sh

APP_DIR=/home/pecan/devel/trunk/src/devel
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
gdb $APP_DIR/codeblocks $@

sorry
pecan

EDIT: remove the space between the slash and bin. Apache
won't let me put the dir name in correctly.
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 14, 2006, 11:36:17 am
Quote
It is not an easy issue (if any). My colleague gets such a crash, but not me. I get Settings-->Editor (with codestats plugins activated), but not him. The dffirence betwen me and him? I have ubuntu 5.10 and he has kubuntu 5.10. I build C::B by myself and he uses the .deb package.

Since I cannot get the crash, the only thing I can suggest is
to run CB from a terminal window under gdb. When it crashes,
a gdb backtrace will tell you exactly which statement caused it.

my dbg.sh run from the .../devel directory

Code
#!/ bin/sh

APP_DIR=/home/pecan/devel/trunk/src/devel
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
gdb $APP_DIR/codeblocks $@

sorry
pecan

EDIT: remove the space between the slash and bin. Apache
won't let me put the dir name in correctly.


Hello,

Thanks for the suggestion. My colleague is out of office for some days (Easter's holiday :)). Beginning next weak, I will ask him to check and report the gdb backtrace.

Anyway, I have tried with my problem. Look at here (http://forums.codeblocks.org/index.php?topic=2586.msg22730;topicseen#msg22730) for the report.

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 15, 2006, 05:37:07 pm
Quote from: Pecan
*What* were you doing when you got the crash.
As i said above. I started C::B and just clicked on "Settings -> Environment". This is all, nothing else more, no further clicks, hitting keys or anything... So I cannot provide more information.

Quote from: Mandrav
It's obvious that there is no crash in the Environment settings dialog. It has been fixed days ago.
Those of you who experience this kind of crashes, probably have out-of-date resources.
As I wrote this message I was using the latest build that was available. So it couldn't be that old.... And I do not compile the whole project, I use the debs for Ubuntu.

I will test version 2343 from 13.04.06 (14.04.06 wasn't available yet) and and use "gdb" if the error still occurs.

Greetings, Dee

PS@Pecan: We only want to help you so sometimes you should believe other users even if you can not reproduce an error...
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 15, 2006, 05:59:32 pm
So, it still crash....
Code
dee@dexus:~$ codeblocks
(codeblocks:25830): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
[... 62 lines with the same text ...]
addr2line: 'codeblocks': No such file
Abgebrochen

The Gtk-Critical appears when Code::Blocks starts and has nothing to do with the crash. Here's the output from gdb:
Code
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229030624 (LWP 26107)]
0x08074463 in EnvironmentSettingsDlg::OnChooseColor ()

As Pecan said in the other thread (linked by Michael) I use "bt" after the crash:
Code
(gdb) bt
#0  0x08074463 in EnvironmentSettingsDlg::OnChooseColor ()
#1  0x08095c5a in MainFrame::OnSettingsEnvironment ()
#2  0xb763a2c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#3  0xb76c2edf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#4  0xb76c30b0 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#5  0xb76c3261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#6  0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#7  0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#8  0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#9  0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#15 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#16 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#17 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#18 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#19 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#20 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#21 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#22 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#23 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#24 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#25 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#26 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#27 0xb76c3207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#28 0xb78bce45 in wxMenu::~wxMenu () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb6d20ab3 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#30 0xb6d153a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#31 0xb6d23b13 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#32 0xb6d25150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#33 0xb6d254c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#34 0xb7153f8d in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7080c69 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb7080f3d in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb707766e in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb707202c in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb6d14d75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#40 0xb6d153a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#41 0xb6d23c9f in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#42 0xb6d24ec3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#43 0xb6d254c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#44 0xb715416f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb7070767 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb7070ba0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#47 0xb727ab2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#48 0xb6ca74ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb6caa4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#50 0xb6caa7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#51 0xb706fe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb78492a7 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#53 0xb78d8b6a in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#54 0xb78d8c4f in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#55 0x080648ae in CodeBlocksApp::OnBatchBuildDone ()
#56 0xb766dad4 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#57 0xb766db88 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#58 0x08062344 in ?? ()
#59 0xb73cfec2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#60 0x08062261 in ?? ()

I hope the output helps finding the error. Before starting I deinstalled the old version of course and deleted the ~/.CodeBlocks directory.

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 15, 2006, 10:53:02 pm

Dee, thank you for that backtrace. I'll have a look at it
just after Easter.

thanks
pecan
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 19, 2006, 04:46:41 pm
Hello,

I have asked my collegue to give a try to the rev2360 (.deb package) on kubuntu 5.10 and to check if it still crashes (Settings-->Environment). He has reported me the same problems as Dee (the backtrace is the same).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 22, 2006, 04:36:28 pm

May be the problem with Settings-->Environment is similar as the Settings-->Editor one.

Michael,
What do I have to turn on to get this crash?
I don't seem to be able to reproduce it on Ubuntu 510?
Do you get it?

Edit: Ok, I see that you dont get the crash (on closer reading).
    It seems the crash occurs with the .deb package. Does the
    deb package distribute the resources along with the code?
    Does the .deb package *update* the resources?

Is the .deb accidently failing to update resources?

Maybe you could compare your resources (for Settings->Environment)
with your collegues resources?

Maybe you could delete every .zip file in his CB directory, re-install
the .deb and see if the bug goes away?

thanks
pecan
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 22, 2006, 10:00:32 pm

May be the problem with Settings-->Environment is similar as the Settings-->Editor one.

Michael,
What do I have to turn on to get this crash?
I don't seem to be able to reproduce it on Ubuntu 510?
Do you get it?

Edit: Ok, I see that you dont get the crash (on closer reading).
    It seems the crash occurs with the .deb package. Does the
    deb package distribute the resources along with the code?
    Does the .deb package *update* the resources?

Yes, I do not have it, just my collegue. But I do not use .deb package, but him yes. So, it could be the cause.

Is the .deb accidently failing to update resources?

Maybe you could compare your resources (for Settings->Environment)
with your collegues resources?

Maybe you could delete every .zip file in his CB directory, re-install
the .deb and see if the bug goes away?

Regarding the .deb package may be Yannis has some ideas about the update of resources (he kindly provide the debian direcotry :)). I am not sure if it does an update or not.

Next week I wll compare my resource with those of my colleague and then report my comments. I will also try as you suggest to delete the his .zip files and the re-install the .deb package. Thank you for the suggestion :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: squizzz on April 22, 2006, 10:17:28 pm
I use .deb package rev 2366 under Breezy and I confirm the crash when entering Settings->Enviroment. I uninstalled it (via Synaptic), and installed again, and it didn't help.
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 22, 2006, 10:23:14 pm
I use .deb package rev 2366 under Breezy and I confirm the crash when entering Settings->Enviroment. I uninstalled it (via Synaptic), and installed again, and it didn't help.

Thank you for trying :). Did you have installed a previous .deb package or this was your first?

If you build C::B by yourself too can you compare the resources of your build and of the .deb package? Thanks :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 25, 2006, 01:43:28 pm
Hello,

I also installed the deb and want to try to build the source by myself. But stupid question: Where can I get it? The nightly build (http://www.codeblocks.org/nightly/) threads only have the precompiled packages. On Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=126998) and on the Download Page (http://www.codeblocks.org/downloads.shtm) I only find the sources for 1.0rc2... On BerliOS (http://developer.berlios.de/project/showfiles.php?group_id=5358) I only see the nightly binaries.

So where is the source to download as tar or whatever?

And after I build it what should I compare exactly?

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 25, 2006, 01:54:40 pm
Hello,

I also installed the deb and want to try to build the source by myself. But stupid question: Where can I get it? The nightly build (http://www.codeblocks.org/nightly/) threads only have the precompiled packages. On Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=126998) and on the Download Page (http://www.codeblocks.org/downloads.shtm) I only find the sources for 1.0rc2... On BerliOS (http://developer.berlios.de/project/showfiles.php?group_id=5358) I only see the nightly binaries.

So where is the source to download as tar or whatever?

And after I build it what should I compare exactly?

Hello,

Have a look at here (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: thomas on April 25, 2006, 02:15:12 pm
Unluckily, that WiKi Article has only been partially updated.
The important info on how to get the sources is here: http://www.codeblocks.org/source_code.shtml

Basically, you need Subversion installed on your system, and you do the same as you would do with cvs, only you type svn instead.
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 25, 2006, 02:58:42 pm
Sorry, I give up or someone must really help me. I've never used csv or svn but get it to download the files. With this manual (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29) I see what to do, but bootstrap returns
Code
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:62: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:61: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:62: error: possibly undefined macro: AM_PATH_WXCONFIG
and I don't understand not even a single word...

Maybe someone else would be better for compiling it...

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 25, 2006, 03:05:39 pm
Hello,

Did you try the solution proposed in here (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29)?

Quote
export ACLOCAL_FLAGS="--acdir=`wx-config --prefix`/share/aclocal"

Best wishes,
Michael

If you use Ubuntu 5.10 did you install the package wx-common?
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 25, 2006, 03:24:24 pm
Sorry, I tried it before with the export command, but nothing changes. After this I tried the other hint but no change at all. (btw: I had no /usr/share/aclocal/dirlist and created it).
Quote
If you use Ubuntu 5.10 did you install the package wx-common?
No, but I installed it now... The message is now:
Code
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
Can I ignore these warnings?

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 25, 2006, 06:34:50 pm
The message is now:
Code
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
Can I ignore these warnings?

IMHO, a warning is not a good thing and would be better to solve it (if possible). IIRC, I did not have that warning. Anyway, I think that you can ignore it and continue with the installation, but before check the suggested link and try to find out more about the warning (for example here (http://lists.freedesktop.org/pipermail/xserver/2004-April/001197.html)).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 25, 2006, 06:52:18 pm
So I ignore the warnings and can compile it... And it doesn't crash anymore! :)

So what can I do to help you find the difference between my deb and the deb you offer ?

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 25, 2006, 07:02:44 pm
So what can I do to help you find the difference between my deb and the deb you offer ?

You should compare the resources of your build and those of the .deb package (possible with the same revision number). Look at .zip files. The cause of the crash could be due to outdated resources.

Thanks :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 25, 2006, 07:25:58 pm
Yes, but what exactly? Should I compare every folder and file in the deb-files? Should I check the size or the content? (And how?) And of course they differ... I installed my c::b to /usr/local and the precompiled binary uses just /usr as I think. So they couldn't be the same.

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 25, 2006, 07:31:22 pm
Yes, but what exactly? Should I compare every folder and file in the deb-files? Should I check the size or the content? (And how?) And of course they differ... I installed my c::b to /usr/local and the precompiled binary uses just /usr as I think. So they couldn't be the same.

The zip files should be under share/devel.

Difficult to tell you exactly what to search. It also depends on time you have. I would say, check the size and date of the zip and check the files in the zip too.

May be Pecan or a dev could suggest something more specific.

Thanks.

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 25, 2006, 09:29:32 pm
Yes, but what exactly? Should I compare every folder and file in the deb-files? Should I check the size or the content? (And how?) And of course they differ... I installed my c::b to /usr/local and the precompiled binary uses just /usr as I think. So they couldn't be the same.

Greetings, Dee

Dee, thanks for all that work..
Give me a little time to walk with my pup and think of a
good easy way to do this...

thanks
pecan
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 26, 2006, 01:11:28 am

Dee, thanks for all that work..
Give me a little time to walk with my pup and think of a
good easy way to do this...


Ok.. My dog told me (and she's smarter them I am) that the best approach is to ask you to tell me *exactly* how you installed that .deb package and for me to follow those steps to the letter.

Then I can use some of my local tools to compare the resources.
It'd be way too complicated to do the comparisons via the forum.

so.. Dee.. Tell me how and where you installed the .deb

thanks
pecan
 
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 26, 2006, 07:34:07 am
Ok, if your dog say so I won't disagree...

1. using Ubuntu 5.10
2. get the latest version (2380 I think) via svn
3. "mv trunk codeblocks-2380" (I know this isn't important for you, but it is for checkinstall later.)
4. "cd codeblocks-2380"
5. "./backports" (I got the warnings above...)
6. "./configure --prefix=/usr/local"
7. "make"
8. "sudo checkinstall" (just type enter everywhere but create a Debian package)
In my case there were several errors now because of files that could not be found. As I understand it right the program tries to set some rights to files that will be installed to /usr/local later.
9. "sudo dpkg -i codeblocks*.deb"

Then just start codeblocks via menu.

Unfortunately I could not get this version as nightly build so I couldn't check if the error is still in "your" precompiled debian package. But I think so....

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 26, 2006, 01:13:05 pm

2. get the latest version (2380 I think) via svn


What do you mean by "svn"? I thought the .deb package
was simply downloaded from the nightly builds?

Did you get it in some other way?


http://download.berlios.de/codeblocks/CB_20060425_rev2380_ubuntu.deb
 (http://download.berlios.de/codeblocks/CB_20060425_rev2380_ubuntu.deb)

Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 26, 2006, 01:18:38 pm
Quote
I thought the .deb package was simply downloaded from the nightly builds?
Yes, but I think we want to compare your debian build and my build from the sources?

Quote
What do you mean by "svn"?
So i get the sources via svn (see posting by thomas above) and compile it...

Now I have two debian packages: The one I compile on my machine that don't crash and the one from your servers, that crashes. (Or better I would have two debian packages if the link you posted would not say "file does not exists".)

Greetings, Dee

Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 26, 2006, 01:31:27 pm
Quote
I thought the .deb package was simply downloaded from the nightly builds?
Yes, but I think we want to compare your debian build and my build from the sources?

Quote
What do you mean by "svn"?
So i get the sources via svn (see posting by thomas above) and compile it...

Now I have two debian packages: The one I compile on my machine that don't crash and the one from your servers, that crashes. (Or better I would have two debian packages if the link you posted would not say "file does not exists".)

Hmmm,

I must admit that your way to build a .deb package is rather unusual AFAIK :?.

Did you use the debian repository for building your package?

Anyway, what I asked you to compare was not 2 deb packages :wink:, but your build from the svn sources and the .deb package I provide in order to know if there are diffrences (especially in the zip files).

Thanks for your work and time.

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 26, 2006, 01:40:47 pm
Hm, I thought this is the standard way in Ubuntu... You also could use dh_make and fakeroot, but that doesn't work with codeblocks in my case. But anyway...

So I should install both debian packages (your deb will be in /usr and my deb in /usr/local so this should be no problem) and compare which zip file? I have never seen some zip-file in one of the install directorys... but haven't look closely enough maybe.

But please provide the version 2380 as debian package so I can install it this evening... Or post a link to some old sources (as archive), maybe 2377. (BTW: Am I the only one who thinks the way getting C::B sources is a little bit complicated? ;))

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 26, 2006, 01:51:51 pm
Quote
I thought the .deb package was simply downloaded from the nightly builds?
Yes, but I think we want to compare your debian build and my build from the sources?

Quote
What do you mean by "svn"?
So i get the sources via svn (see posting by thomas above) and compile it...

Now I have two debian packages: The one I compile on my machine that don't crash and the one from your servers, that crashes. (Or better I would have two debian packages if the link you posted would not say "file does not exists".)

Greetings, Dee



Oh.. ok.. I get it.
I already have the svn source built. Your instructions on installing the .deb is what I was after. So I'll continue...

thanks,
pecan
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 26, 2006, 01:52:14 pm
Hm, I thought this is the standard way in Ubuntu... You also could use dh_make and fakeroot, but that doesn't work with codeblocks in my case. But anyway...

To be honest, I have found several way to build a .deb package (I am trying another just now :)).

Waht I use is this sudo dpkg-buildpackage -rfakeroot -b

So I should install both debian packages (your deb will be in /usr and my deb in /usr/local so this should be no problem) and compare which zip file? I have never seen some zip-file in one of the install directorys...

First you can try with this command so that you can see what a .deb package contains (may be it could be enough to compare you .deb and mine):

Quote
dpkg --contents file.deb

If not for the resources and zip files, look under share/devel.

Thanks :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 26, 2006, 05:40:15 pm
So, rev2380 is online, I installed it (it removes my debian-built) but still crashes.... (Only to be sure we're on the right way.)

Quote
If not for the resources and zip files, look under share/devel.

So, I found the error... If I replace the resources.zip from your debian package in /usr/share/codeblocks with my resources.zip there is no crash.

The differences are...

app_compiler_settings.xrc: two more options in my built
env_settings.xrc: one other name, two more objects
print_dialog.xrc: one more object and utf8-encoding

In the next step I just replace the env_settings.xrc in the zip file and it works well. So I attach my env_settings.xrc so that you can compare it. (I must rename it to attach it...)

I hope that you can fix the error now so that everyone has fun in programming with C::B... :)

Greetings, Dee





[attachment deleted by admin]
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 26, 2006, 06:05:41 pm
So, rev2380 is online, I installed it (it removes my debian-built) but still crashes.... (Only to be sure we're on the right way.)

Quote
If not for the resources and zip files, look under share/devel.

So, I found the error... If I replace the resources.zip from your debian package in /usr/share/codeblocks with my resources.zip there is no crash.

The differences are...

app_compiler_settings.xrc: two more options in my built
env_settings.xrc: one other name, two more objects
print_dialog.xrc: one more object and utf8-encoding

In the next step I just replace the env_settings.xrc in the zip file and it works well. So I attach my env_settings.xrc so that you can compare it. (I must rename it to attach it...)

I hope that you can fix the error now so that everyone has fun in programming with C::B... :)

Hello,

Thank you very much for your work :).

So, it is a resources problem. I just wonder why the dpkg-buildpackage cannot upload correctly the resources :?.

I am also trying alternative build methods, e.g., pbuild, but does not work because of the missing zip file. Now I am trying without the -b parameter and see if it will work.

Yannis could you please have a look at the debian directory and check if it is not there the cause of the problem (I would do it by myself, but I am not an expert :()? Thank you :).
If the debian directory is ok then the cause is related on how I build the .deb package.

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 26, 2006, 07:38:58 pm
Hello,

I have changed some parameters and built a .deb package for rev2385. If someone would be so kind to install it and check if the Settings-->Environment crash is disappeared, I would really appreciate :). If you have installed a previous package, please uninstall it before.

The package (rev2385) is available here:

http://www.savefile.com/projects.php?pid=547711

Thank you very much :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: mandrav on April 26, 2006, 07:57:24 pm
Quote
Yannis could you please have a look at the debian directory and check if it is not there the cause of the problem (I would do it by myself, but I am not an expert)

Well I 'm far from being an expert myself ;)
Anyway, surely the resources are not updated. I have mentioned it before. And I have also mentioned the temporary "fix": just before creating your package, run make clean-zipfiles...
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Pecan on April 26, 2006, 08:13:17 pm

... I just replace the env_settings.xrc in the zip file and it works well.
...
I hope that you can fix the error now so that everyone has fun in programming with C::B... :)


So.. you beat both me and my dog to the solution. Good for you.
My poor linux 333mhz laptop is still compiling svn2368 so I could do the comparison.

Good job Dee.

thanks,
pecan
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 26, 2006, 08:14:18 pm
Quote
Yannis could you please have a look at the debian directory and check if it is not there the cause of the problem (I would do it by myself, but I am not an expert)

Well I 'm far from being an expert myself ;)
Anyway, surely the resources are not updated. I have mentioned it before. And I have also mentioned the temporary "fix": just before creating your package, run make clean-zipfiles...

Thank you very much for the help. I will try the fix tomorrow in order to build a package without crashes :).

Anyway, I just wonder if there is an official method for building .deb packages. More I search and more "solutions" I find. I think that soon or late I will found the right one :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 26, 2006, 08:31:08 pm
Quote from: Michael
If someone would be so kind to install it and check if the Settings-->Environment crash is disappeared,
Sorry, but it still crashes....

Quote
Anyway, I just wonder if there is an official method for building .deb packages.
I don't think so! I know that my way with checkinstall is not the best, because the dependencies will not be checked. But using dh_make and fakeroot should do this. But please don't ask how to use this exactly...

Quote from: Pecan
you beat both me and my dog to the solution.
No, I would never beat a dog or any other animal... ;)

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 26, 2006, 08:52:35 pm
Quote from: Michael
If someone would be so kind to install it and check if the Settings-->Environment crash is disappeared,
Sorry, but it still crashes....

Ok, I see :(.

Quote
Anyway, I just wonder if there is an official method for building .deb packages.
I don't think so! I know that my way with checkinstall is not the best, because the dependencies will not be checked. But using dh_make and fakeroot should do this. But please don't ask how to use this exactly...

I use fakeroot :). Anyway, I have read that Ubuntu developers build packages with CHROOT and pbuilder (to be sure that each package will work everywhere or quite). I have tried, but get an error, because it could not find the zip file. Should I install it.

I think that each distro has its "official" method(s). I just would like to find the right way in ubuntu :).

Now I am building the .deb package for the nightly build of today after having done sudo make clean-zipfiles. It should work then :).

Thanks.

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 27, 2006, 12:28:44 pm
Hello,

I have build a .deb package for revision 2387 (and this time I have run sudo make clean-zipfiles before :)). This time the crash should be solved (if I have run the make clean-zipfiles correctly :)). Unfortunately, BerliOS seems to be still down.

Therefore, if someone would be so kind to install it and check if the Settings-->Environment crash is really disappeared, I would really appreciate :). If you have installed a previous package, please uninstall it before.

The package (rev2387) is available here:

http://www.savefile.com/projects.php?pid=547711

Thank you very much :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Dee on April 27, 2006, 01:30:43 pm
Yeah, it works... :)

But there are other problems with this release (and the previous ones). Should I start another thread?

Greetings, Dee
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Michael on April 27, 2006, 01:40:29 pm
Yeah, it works... :)

Cool 8). Yannis has always the right solution/suggestion/advice  :D.

But there are other problems with this release (and the previous ones). Should I start another thread?

If the problems are not related with the crash, then yes. IMHO it is a better idea to post them in a separate thread than just add them here.

Thanks for your help :).

Best wishes,
Michael
Title: Re: Settings->Environment.... crash! the latest nightly !!!!!!!!!!
Post by: Commodore64 on November 08, 2006, 01:11:34 pm
Hi,
I had the same problem as the topic title, and after a lot of PAIN, I found this thread and solved the problem using Yannis's suggestion:
Code
make clean-bin
make clean-zipfiles

The problem is that the wiki page (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29) about compiling C::B does not say anything about it!
Times ago I had another problem with the wiki: I couldn't even build C::B, because I was missing a
Code
make distclean

Thus I would STRONGLY suggest to update the wiki, explaining how to clean everything before compiling, with

Code
make distclean
make clean-bin
make clean-zipfiles
./configure
make
make install

Thank you!

Edit: I figured out just now that I can edit the wiki with my forum account  :oops: and I did it... please check  that I didn't say anything wrong, though! :)