c++ - Gtk::AboutDialog crash when clicking on URL -


i working gtkmm 3, msys2, mingw (gcc 5.3.1) under windows 7.

i made glade interface normal window , gtk::aboutdialog.

all working ok, when opening dialog , clicking on url link, next error occours , program exits:

(gladetest1.exe:3440): glib-critical **: unquote_string_inplace: assertion 'err == null || *err == null' failed 

this code:

gtk::window *window1; gtk::aboutdialog *aboutdialog1;  builder->get_widget("window1", window1); builder->get_widget("aboutdialog1", aboutdialog1);  aboutdialog1->set_transient_for(*window1); aboutdialog1->show(); 

using dr. mingw debugger got traces:

gladetest1.exe caused access violation @ location 000000000070255a in module libgtk-3-0.dll reading location 0000000000000008.  loading symbols... done.  registers: eax=00000000 ebx=03d5c1a8 ecx=00000000 edx=00000001 esi=024d8020 edi=00000016 eip=0070255a esp=0028ea9c ebp=0028eb54 iopl=0         nv ei pl nz ac po nc cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210216  addrpc   params 0070255a 02514d30 03b36fa0 0250fb00  libgtk-3-0.dll!gtk_search_entry_handle_event 0082845c 0257c900 0028ec84 00000002  libgtk-3-0.dll!gtk_main_do_event 63c45fd2 0028ed9c 0028ed00 0028edbc  libgobject-2.0-0.dll!g_closure_invoke 63c5f31a 025025a8 025297b0 00000000  libgobject-2.0-0.dll!g_signal_emit_valist 6883689b 025297b0 00000000 02514d30  libglib-2.0-0.dll!g_mutex_unlock 025025a8 00000000 02514d30 00000000 025297b0 02514d30 00000000 00000000 

it seems there problem libgtk-3-0.dll or libglib dll.

i looking answer 2 days without success.

something important missing?

anybody has clue?

thanks

we had same errors/crashes under winxp64 , win7/g4 msys2/mingw 6.2.0 using gtk+ ( i.e. gtk2).

however, when compiled/build our own gtk/gdk libs via mingw, same gtk_about dialog's http link worked.

... seems point finger @ in msys2 build. indeed, when trying build gtk following msys2 "pkg build directions" fails (at least us).

... haven't had "luck" communicating msys2 people.

... instead, use so-called "ingar build" approach found here (http://ingar.satgnu.net/devenv/mingw32/gtk.html). instructions entire build ground up, few day's work, worth ... , provides massively more control , flexibility compared msys2.

p.s. need make few adjustments ingar's instructions gtk3. also, if build packages versions later/newer compared on ingar's site, additional packages required (due additional dependencies in newer versions).


Comments