News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Settings->Environment.... crash! the latest nightly !!!!!!!!!!

Started by mikeandmore, April 01, 2006, 06:28:55 AM

Previous topic - Next topic

mikeandmore

click on Settings->Environment.... crash!

wxGTK unicode 2.6.1 + libgtk 2.8.16 + Ubuntu Dapper
1.0 svn 2278

tiwag


Der Meister

This crash was fixed in revision 2282.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

mikeandmore

i'm using rev2285 nightly, and still have this problem

mikeandmore


Michael

Quote from: mikeandmore on April 04, 2006, 09:49:15 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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

mikeandmore

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229432608 (LWP 5092)]
0x08074273 in EnvironmentSettingsDlg::OnChooseColor ()

thomas

QuoteSettings->Environment.... crash! the latest nightly !!!!!!!!!!
Quotealso confirm this bug in rev2288!!!!!
You need a new keyboard. The "1" and "Shift" keys are hanging.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Dee

Got the same error with the build 2321 from 05 april 2006.

I have no project open and just clicked on Settings -> Environment. Here's the report.

I use C::B under Ubuntu Breezy 5.10.

Greetings, Dee

Pecan

Quote from: Dee on April 09, 2006, 05:40:00 PM
Got the same error with the build 2321 from 05 april 2006.

I have no project open and just clicked on Settings -> Environment. Here's the report.

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

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.
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
Be patient!
This bug will be fixed soon...

Michael

Quote from: Pecan on April 13, 2006, 09:10:16 PM
Quote from: Dee on April 09, 2006, 05:40:00 PM
Got the same error with the build 2321 from 05 april 2006.

I have no project open and just clicked on Settings -> Environment. Here's the report.

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>
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Pecan

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


#!/ 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.

Michael

Quote from: 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


#!/ 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 for the report.

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Dee

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: MandravIt'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...