GNOME Bugzilla – Bug 643338
gtk/tests/testing /ui-tests/text-access abort()s
Last modified: 2018-02-10 03:33:41 UTC
2.24.1 on x86_64-sun-solaris2.10 (not OpenSolaris), built with Sun/Oracle Workshop 12.1 compilers. This problem also happens in older versions of gtk+, going back to at least 2.18, so it's nothing new. When running "gmake check", the gtk/tests/testing fails with: gmake[3]: Leaving directory `/local/src/RPM/BUILD/gtk+-2.24.1/gtk' Making check in tests gmake[3]: Entering directory `/local/src/RPM/BUILD/gtk+-2.24.1/gtk/tests' /local/gnu/bin/gmake check-local gmake[4]: Entering directory `/local/src/RPM/BUILD/gtk+-2.24.1/gtk/tests' TEST: testing... (pid=18664) /tests/statusbar-remove-all: OK /ui-tests/text-access: Gtk-CRITICAL **: file gtktestutils.c: line 512: assertion `g_type_is_a (widget_type, GTK_TYPE_WIDGET)' failed aborting... FAIL I haven't looked very deeply yet, this is what dbx has to say about it: t@1 (l@1) program terminated by signal ABRT (Abort) 0x00007ffffcf4cdba: __lwp_kill+0x000a: jae __lwp_kill+0x18 [ 0x7ffffcf4cdc8, .+0xe ] Current function is test_text_access 147 widgets[i++] = gtk_test_create_widget (g_type_from_name ("GtkText"), NULL); (dbx) where current thread: t@1 [1] __lwp_kill(0x1, 0x6, 0xfffffe82da2cca80, 0x7ffffcf4d6ee, 0xfffffd7fffdfdee0, 0x6), at 0x7ffffcf4cdba [2] _thr_kill(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffcf456b3 [3] raise(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffcef1fe9 [4] abort(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffced13b0 [5] g_logv(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd08182b [6] g_log(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd081949 [7] gtk_test_create_widget(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7fffff9cd58a =>[8] test_text_access(), line 147 in "testing.c" [9] test_case_run(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd0a256c [10] g_test_run_suite_internal(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd0a26ce [11] g_test_run_suite_internal(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd0a28e7 [12] g_test_run_suite(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd0a2abb [13] g_test_run(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x7ffffd0a1b91 [14] main(argc = 1, argv = 0xfffffd7fffdfe968), line 293 in "testing.c" (dbx) list 147 widgets[i++] = gtk_test_create_widget (g_type_from_name ("GtkText"), NULL); (dbx) print widgets[i] widgets[i] = 0x7ffffd0a1650 (dbx) print *widgets[i] *widgets[i] = { object = { parent_instance = { g_type_instance = { g_class = 0x48000b32010d8d48 } ref_count = 2202534281U qdata = 0x441f0f66c3c95b } flags = 2149519104U } private_flags = 18517U state = '' saved_state = 'ì' name = 0x95e8388b48000b31 "<bad address 0x48000b31>" style = 0x441f0fc3c9fffa22 requisition = { width = 258342912 height = 17439 } allocation = { x = -326416299 y = -695480437 width = -1190818488 height = 1207962417 } window = 0xfa22afe8f18b388b parent = 0x441f0fc3c9ff }
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.