Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

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

<< < (4/11) > >>

Dee:
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
--- End code ---

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 ()
--- End code ---

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 ?? ()
--- End code ---

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

Greetings, Dee

Pecan:

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

thanks
pecan

Michael:
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

Pecan:

--- Quote from: Michael on April 21, 2006, 09:36:07 pm ---
May be the problem with Settings-->Environment is similar as the Settings-->Editor one.

--- End quote ---

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

Michael:

--- Quote from: Pecan on April 22, 2006, 04:36:28 pm ---
--- Quote from: Michael on April 21, 2006, 09:36:07 pm ---
May be the problem with Settings-->Environment is similar as the Settings-->Editor one.

--- End quote ---

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?

--- End quote ---

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.


--- Quote from: Pecan on April 22, 2006, 04:36:28 pm ---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?

--- End quote ---

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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version