Re: [gtkmm] gtkmm 2.4 and gcc 3.3



Well, I reinstalled my mingw to just be 3.2 and recompiled. I still get
the same crash and dump. I only see references to 3.2.3 though. Attached
is the Dr. Mingw dump too.

Diana

On Wed, 2004-09-29 at 01:47, Cedric Gustin wrote:
> Diana Esch-Mosher wrote:
> > I've upgraded my mingw to the "current" configuration as listed at
> > www.mingw.org/downloads.shtml
> > 
> > I used the latest glade installer to pick up gtk 2.4 and picked up the
> > latest intaller for gtkmm 2.4.
> 
> > I see 3.2 references and "bad mangled name". Do I have to install gtk
> > and gtkmm from source? Should I just go back to 3.2, recompile and use
> > the gtk/gtkmm bins? I was under the impression I had to upgrade to 3.3
> > for gtk 2.4. Or is this something else?
> 
> Apparently, you stumbled across incompatibilities between g++ 3.2 and 
> 3.3 on win32. I don't think GTK+ 2.4 requires gcc-3.3 so you can safely 
> stay with gcc/g++ 3.2 on win32.
> 
> I plan to move to gcc-3.3 for the next release of my gtkmm installer.
> 
> Cedric
-- 
Diana Esch-Mosher <desch-mosher lanl gov>
Los Alamos National Laboratory
zing.exe caused an Access Violation at location 02708d66 in module libgobject-2.0-0.dll Reading from location 000000fa.

Registers:
eax=000000fa ebx=055e84d0 ecx=02713cf3 edx=0271b1f8 esi=00000044 edi=04806440
eip=02708d66 esp=0022f370 ebp=0022f378 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000206

Call stack:
02708D66  libgobject-2.0-0.dll:02708D66  g_type_interfaces
02708DD1  libgobject-2.0-0.dll:02708DD1  g_type_get_qdata
021DC155  libglibmm-2.4-1.dll:021DC155  _ZN24_GLOBAL__N_wrap.ccQMuLib18create_new_wrapperEP8_GObject
021DC577  libglibmm-2.4-1.dll:021DC577  _ZN4Glib9wrap_autoEP8_GObjectb
028A2419  libgdkmm-2.4-1.dll:028A2419  _ZN4Glib4wrapEP12_GdkColormapb
0303DD1B  libgtkmm-2.4-1.dll:0303DD1B  _ZN3Gtk6Widget20get_default_colormapEv
004B2CD4  zing.exe:004B2CD4  Zing::Viewer::display_tile(Zing::CompositeTile const*)  Viewer.cc:432
	...
	    }
	    Gdk::Color currentColor(color.c_str());
>	    Glib::RefPtr<Gdk::Colormap> colormap = get_default_colormap();
	    colormap->alloc_color(currentColor);
	    gc->set_foreground(currentColor);
	...

004B1C2C  zing.exe:004B1C2C  Zing::Viewer::update_display(Zing::VisibleExtent const&)  Viewer.cc:261
	...
	      }
	      // Finally, we display the current tile
>	      display_tile(tile);
	    }
	    // Construct one final fetch task if applicable
	...

004B120A  zing.exe:004B120A  Zing::Viewer::on_viewer_expose_event(_GdkEventExpose*)  Viewer.cc:155
	...
	
	    msg.debug() <<"Viewer: expose" << "\n";
>	    update_display(exposeExtent);
	    
	    /*
	...

00515B71  zing.exe:00515B71
00513C84  zing.exe:00513C84
004E87BA  zing.exe:004E87BA
030329BC  libgtkmm-2.4-1.dll:030329BC  _ZN26_GLOBAL__N_widget.ccwOvPlb35Widget_signal_expose_event_callbackEP10_GtkWidgetP15_GdkEventExposePv
02BFF22A  libgtk-win32-2.0-0.dll:02BFF22A  gtk_marshal_VOID__UINT_STRING
026F2E38  libgobject-2.0-0.dll:026F2E38  g_closure_invoke
02701C2D  libgobject-2.0-0.dll:02701C2D  g_signal_emit_by_name
02700E98  libgobject-2.0-0.dll:02700E98  g_signal_emit_valist
027012DA  libgobject-2.0-0.dll:027012DA  g_signal_emit
02CC3B30  libgtk-win32-2.0-0.dll:02CC3B30  gtk_widget_send_expose
02BFD129  libgtk-win32-2.0-0.dll:02BFD129  gtk_main_do_event
027E6911  libgdk-win32-2.0-0.dll:027E6911  gdk_window_clear_area_e
027E69FB  libgdk-win32-2.0-0.dll:027E69FB  gdk_window_process_all_updates
02B9BA0F  libgtk-win32-2.0-0.dll:02B9BA0F  gtk_container_set_reallocate_redraws
025A4555  libglib-2.0-0.dll:025A4555  g_child_watch_add
025A2349  libglib-2.0-0.dll:025A2349  g_main_depth
025A2FD9  libglib-2.0-0.dll:025A2FD9  g_main_context_dispatch
025A324B  libglib-2.0-0.dll:025A324B  g_main_context_dispatch
025A36B0  libglib-2.0-0.dll:025A36B0  g_main_loop_run
02BFCB26  libgtk-win32-2.0-0.dll:02BFCB26  gtk_main
02FCCA5D  libgtkmm-2.4-1.dll:02FCCA5D  _ZN3Gtk4Main3runERNS_6WindowE
00433DA2  zing.exe:00433DA2  main  main.cc:66
	...
	  // Shows the window and returns when it is closed.
	  //msg << "about to Gtk::Main::run(...)\n";
>	  Gtk::Main::run( *topLevel );
	  //msg << "done with Gtk::Main::run(...)\n";
	
	...

0040122D  zing.exe:0040122D
00401258  zing.exe:00401258
77E814C7  kernel32.dll:77E814C7  GetCurrentDirectoryW



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]