tests/glib.supp.in
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Jul 16 11:07:18 2016 +0100 (2016-07-16)
changeset 61 31fb35727621
permissions -rw-r--r--
Support parallel installations. The idea is that for CAD screener, we want
to be able to install this on the same machine as a standard AVOT setup
(most notably for John's laptop). To allow for the possibility of a second
application that might have the same requirements, we add the concept of
vendor-specific distributions. Thus we can have one distribution for CAD
screener and one for The Next Big Thing. It doesn't seem trivial to have
both CAD screener and AVOT under the same vendor tag so we'll have to have
AVOT under "City Occupational" and CAD screener under "City Occupational Ltd"
or some such kludge.

Most of this is done although we are very short of test cases (in particular
we don't test that it's actually possible to install CAD screener in parallel
with AVOT or to update either of them once installed, which is fundamental).

We also have a lot of baggage left over, including an intercept of razor_set.
The problem that this was introduced to debug has been fixed but it looks
like there are a number of memory leaks which it might be useful to help
track down so it has been left in place for now.

There is still a lot of confusion in plover between path-based and URI-based
API. We should review the API, decide what we want and have a general clear up.

There is also confusion as to the purpose of RAZOR_ROOT (and meaning; path or
URI). This is not used at all in librazor (although it is used in razor.exe).
Ideally we shouldn't use it in plover or plover-gtk either although again, we
might want to support it or an equivalent in (some of) the various executables.

Work that would still to nice to do for CAD screener:

- uninstall (ideally as an installed program that hooks into Add/Remove programs
but even re-running the installer would be acceptable).
- xz support (smaller packages).
- repomd.xml and xml:base (would be needed for an Internet installer).
- graphical installer.
     1 # This GLib suppressions file is known to be used at least by:
     2 #
     3 #  - rpm-software-management/libhif
     4 #
     5 # This file should be treated as canonical.
     6 {
     7    gobject_init_1
     8    Memcheck:Leak
     9    ...
    10    fun:gobject_init
    11 }
    12 {
    13    g_type_register_static_1
    14    Memcheck:Leak
    15    ...
    16    fun:g_type_register_static
    17 }
    18 {
    19    g_type_register_fundamental
    20    Memcheck:Leak
    21    ...
    22    fun:g_type_register_fundamental
    23 }
    24 {
    25    g_type_init_with_debug_flags
    26    Memcheck:Leak
    27    ...
    28    fun:g_type_init_with_debug_flags
    29 }
    30 {
    31    g_type_class_ref_1
    32    Memcheck:Leak
    33    ...
    34    fun:type_iface_vtable_base_init_Wm
    35    ...
    36    fun:g_type_class_ref
    37 }
    38 {
    39    g_type_class_ref_2
    40    Memcheck:Leak
    41    ...
    42    fun:type_class_init_Wm
    43    ...
    44    fun:g_type_class_ref
    45 }
    46 {
    47    g_type_add_interface_static
    48    Memcheck:Leak
    49    ...
    50    fun:g_type_add_interface_static
    51 }
    52 {
    53    g_param_spec_internal
    54    Memcheck:Leak
    55    ...
    56    fun:g_type_class_ref
    57    fun:g_type_create_instance
    58    fun:g_param_spec_internal
    59 }
    60 {
    61    g_param_spec_enum
    62    Memcheck:Leak
    63    ...
    64    fun:g_type_class_ref
    65    fun:g_param_spec_enum
    66 }
    67 {
    68    g_param_spec_flags
    69    Memcheck:Leak
    70    ...
    71    fun:g_type_class_ref
    72    fun:g_param_spec_flags
    73 }
    74 {
    75    g_quark_from_static_string
    76    Memcheck:Leak
    77    ...
    78    fun:g_quark_from_static_string
    79 }
    80 {
    81    g_quark_from_string
    82    Memcheck:Leak
    83    ...
    84    fun:g_quark_from_string
    85 }
    86 {
    87    g_value_register_transform_func
    88    Memcheck:Leak
    89    ...
    90    fun:g_value_register_transform_func
    91 }
    92 {
    93    test_run_seed
    94    Memcheck:Leak
    95    ...
    96    fun:g_rand_new_with_seed_array
    97    fun:test_run_seed
    98    ...
    99    fun:g_test_run_suite
   100 }
   101 {
   102    g_test_init
   103    Memcheck:Leak
   104    ...
   105    fun:g_rand_new_with_seed_array
   106    ...
   107    fun:g_test_init
   108 }
   109 {
   110    g_intern_static_string
   111    Memcheck:Leak
   112    ...
   113    fun:g_intern_static_string
   114 }
   115 {
   116    g_main_context_push_thread_default
   117    Memcheck:Leak
   118    ...
   119    fun:g_queue_new
   120    fun:g_main_context_push_thread_default
   121 }
   122 {
   123    g_dbus_error_register_error
   124    Memcheck:Leak
   125    ...
   126    fun:g_dbus_error_register_error
   127 }
   128 {
   129    g_param_spec_pool_insert
   130    Memcheck:Leak
   131    ...
   132    fun:g_param_spec_pool_insert
   133 }
   134 {
   135    g_main_context_default
   136    Memcheck:Leak
   137    ...
   138    fun:g_main_context_default
   139 }
   140 {
   141    g_main_context_check
   142    Memcheck:Leak
   143    ...
   144    fun:g_ptr_array_add
   145    fun:g_main_context_check
   146 }
   147 {
   148    g_test_run_suite
   149    Memcheck:Leak
   150    ...
   151    fun:g_slist_copy
   152    fun:g_test_run_suite_internal
   153    fun:g_test_run_suite
   154 }
   155 {
   156    g_dbus_interface_info_cache_build
   157    Memcheck:Leak
   158    ...
   159    fun:g_dbus_interface_info_cache_build
   160 }
   161 {
   162    g_cancellable_push_current
   163    Memcheck:Leak
   164    ...
   165    fun:thread_memory_from_self
   166    ...
   167    fun:g_cancellable_push_current
   168 }
   169 {
   170    _g_io_module_get_default
   171    Memcheck:Leak
   172    ...
   173    fun:g_io_module_new
   174    fun:g_io_modules_scan_all_in_directory_with_scope
   175    fun:_g_io_modules_ensure_loaded
   176    fun:_g_io_module_get_default
   177 }
   178 {
   179    g_io_scheduler_push_job
   180    Memcheck:Leak
   181    ...
   182    fun:init_scheduler
   183    fun:g_once_impl
   184    fun:g_io_scheduler_push_job
   185 }
   186 {
   187    g_io_scheduler_push_job_2
   188    Memcheck:Leak
   189    ...
   190    fun:g_system_thread_new
   191    ...
   192    fun:g_io_scheduler_push_job
   193 }
   194 {
   195    g_bus_get_sync__available_connections
   196    Memcheck:Leak
   197    ...
   198    fun:g_hash_table_new
   199    fun:initable_init
   200    fun:g_initable_init
   201    fun:g_bus_get_sync
   202 }
   203 {
   204    g_socket_connection_factory_register_type
   205    Memcheck:Leak
   206    ...
   207    fun:g_socket_connection_factory_register_type
   208 }
   209 {
   210    g_test_add_vtable
   211    Memcheck:Leak
   212    ...
   213    fun:g_test_add_vtable
   214 }
   215 {
   216    g_mutex_lock
   217    Memcheck:Leak
   218    ...
   219    fun:g_mutex_impl_new
   220    fun:g_mutex_get_impl
   221    fun:g_mutex_lock
   222 }
   223 {
   224    g_thread_self
   225    Memcheck:Leak
   226    ...
   227    fun:g_thread_self
   228 }
   229 {
   230    g_rec_mutex_lock
   231    Memcheck:Leak
   232    ...
   233    fun:g_rec_mutex_impl_new
   234    fun:g_rec_mutex_get_impl
   235    fun:g_rec_mutex_lock
   236 }
   237 {
   238    test_case_run
   239    Memcheck:Leak
   240    ...
   241    fun:g_malloc0
   242    fun:test_case_run
   243    ...
   244    fun:g_test_run_suite
   245 }
   246 {
   247    g_get_charset
   248    Memcheck:Leak
   249    ...
   250    fun:g_get_charset
   251 }
   252 {
   253    g_test_run_suite__timer_new
   254    Memcheck:Leak
   255    ...
   256    fun:g_timer_new
   257    fun:test_case_run
   258    ...
   259    fun:g_test_run_suite
   260 }
   261 {
   262    g_test_run_suite__timer_new2
   263    Memcheck:Leak
   264    ...
   265    fun:g_timer_new
   266    fun:test_case_run_suite_internal
   267    ...
   268    fun:g_test_run_suite
   269 }
   270 {
   271    g_test_run_suite__strconcat
   272    Memcheck:Leak
   273    ...
   274    fun:g_strconcat
   275    fun:test_case_run
   276    ...
   277    fun:g_test_run_suite
   278    fun:g_test_run
   279 }
   280 {
   281    g_type_interface_add_prerequisite
   282    Memcheck:Leak
   283    ...
   284    fun:g_type_interface_add_prerequisite
   285 }
   286 {
   287    <insert_a_suppression_name_here>
   288    Memcheck:Leak
   289    ...
   290    fun:g_slist_copy
   291    fun:g_test_run_suite_internal
   292    ...
   293    fun:g_test_run_suite
   294 }
   295 {
   296    g_set_prgname
   297    Memcheck:Leak
   298    ...
   299    fun:g_set_prgname
   300 }
   301 {
   302    g_test_run_suite__strconcat_2
   303    Memcheck:Leak
   304    ...
   305    fun:g_strconcat
   306    fun:g_test_run_suite_internal
   307 }
   308 {
   309    g_test_run_suite__strdup
   310    Memcheck:Leak
   311    ...
   312    fun:g_strdup
   313    fun:g_test_run_suite_internal
   314 }
   315 {
   316    g_private_get
   317    Memcheck:Leak
   318    ...
   319    fun:g_private_get
   320 }
   321 {
   322    g_private_set
   323    Memcheck:Leak
   324    ...
   325    fun:g_private_set
   326 }
   327 {
   328    g_static_mutex_get_mutex_impl
   329    Memcheck:Leak
   330    ...
   331    fun:g_static_mutex_get_mutex_impl
   332 }
   333 {
   334    g_variant_type_info_unref
   335    Memcheck:Leak
   336    ...
   337    fun:g_hash_table_remove
   338    fun:g_variant_type_info_unref
   339 }
   340 {
   341    g_rw_lock_reader_lock
   342    Memcheck:Leak
   343    ...
   344    fun:g_rw_lock_impl_new
   345    fun:g_rw_lock_get_impl
   346    fun:g_rw_lock_reader_lock
   347 }
   348 {
   349    g_child_watch_finalize__rt_sigaction
   350    Memcheck:Param
   351    rt_sigaction(act->sa_flags)
   352    fun:__libc_sigaction
   353    ...
   354    fun:g_child_watch_finalize
   355 }
   356 {
   357    gdbus_shared_thread_func
   358    Memcheck:Leak
   359    match-leak-kinds: definite
   360    ...
   361    fun:g_malloc
   362    ...
   363    fun:gdbus_shared_thread_func
   364 }
   365 {
   366    g_task_start_task_thread
   367    Memcheck:Leak
   368    match-leak-kinds: definite
   369    fun:malloc
   370    fun:g_malloc
   371    fun:g_slice_alloc
   372    fun:g_slice_alloc0
   373    ...
   374    fun:g_thread_pool_push
   375    fun:g_task_start_task_thread
   376 }
   377 {
   378    g_get_language_names
   379    Memcheck:Leak
   380    match-leak-kinds: definite
   381    fun:calloc
   382    fun:g_malloc0
   383    fun:g_get_language_names
   384 }
   385 {
   386    g_get_filename_charsets
   387    Memcheck:Leak
   388    match-leak-kinds: definite
   389    ...
   390    fun:g_get_filename_charsets
   391    fun:g_filename_display_name
   392 }
   393 {
   394    g_main_current_source
   395    Memcheck:Leak
   396    match-leak-kinds: definite
   397    fun:malloc
   398    fun:g_malloc
   399    ...
   400    fun:g_main_current_source
   401    fun:g_task_return
   402    fun:g_task_thread_pool_thread
   403 }
   404 {
   405    g_once_init_enter
   406    Memcheck:Leak
   407    match-leak-kinds: definite
   408    ...
   409    fun:g_once_init_enter
   410 }
   411 {
   412    g_child_watch_source_new
   413    Memcheck:Leak
   414    match-leak-kinds: definite
   415    ...
   416    fun:g_thread_new
   417    ...
   418    fun:g_child_watch_source_new
   419 }
   420 {
   421    continue_writing_in_idle_cb
   422    Memcheck:Leak
   423    match-leak-kinds: definite
   424    ...
   425    fun:g_task_new
   426    ...
   427    fun:continue_writing_in_idle_cb
   428    fun:g_main_context_dispatch
   429 }
   430 {
   431    g_main_current_source
   432    Memcheck:Leak
   433    match-leak-kinds: definite
   434    fun:malloc
   435    ...
   436    fun:g_main_current_source
   437 }
   438 {
   439    g_thread_pool_push
   440    Memcheck:Leak
   441    match-leak-kinds: definite
   442    fun:malloc
   443    ...
   444    fun:g_thread_pool_push
   445 }
   446 {
   447    leak_test_dbus_dispose
   448    Memcheck:Leak
   449    match-leak-kinds: definite
   450    fun:malloc
   451    ...
   452    fun:g_main_loop_run
   453    fun:g_test_dbus_down
   454 }
   455 {
   456    leak_test_dbus_down
   457    Memcheck:Leak
   458    match-leak-kinds: definite
   459    fun:calloc
   460    fun:g_malloc0
   461    fun:g_main_loop_new
   462    fun:g_test_dbus_down
   463 }
   464 {
   465    leak_socket_client_connect
   466    Memcheck:Leak
   467    match-leak-kinds: definite
   468    fun:malloc
   469    fun:g_malloc
   470    fun:g_slice_alloc
   471    fun:g_slice_alloc0
   472    fun:g_socket_client_connect_async
   473    fun:g_socket_client_connect_to_uri_async
   474 }
   475 {
   476    leak_signal_handlers_disconnect_matched
   477    Memcheck:Leak
   478    match-leak-kinds: definite
   479    fun:calloc
   480    fun:g_malloc0
   481    ...
   482    fun:g_slice_alloc
   483    ...
   484    fun:g_signal_handlers_disconnect_matched
   485 }
   486 {
   487    g_tls_connection_gnutls_init_priorities
   488    Memcheck:Leak
   489    match-leak-kinds: definite
   490    fun:malloc
   491    fun:g_malloc
   492    fun:g_strdup
   493    fun:g_tls_connection_gnutls_init_priorities
   494 }
   495 {
   496    g_tls_connection_gnutls_heisenbug_likely_same_as_above
   497    Memcheck:Leak
   498    match-leak-kinds: definite
   499    fun:malloc
   500    fun:g_malloc
   501    fun:g_strdup
   502    ...
   503    fun:g_tls_client_connection_new
   504 }
   505 {
   506    g_unix_signal_add_full
   507    Memcheck:Leak
   508    match-leak-kinds: definite
   509    fun:malloc
   510    fun:g_malloc
   511    ...
   512    fun:g_thread_new
   513    ...
   514    fun:g_unix_signal_add_full
   515 }
   516 {
   517    glib_worker_1
   518    Memcheck:Leak
   519    ...
   520    fun:glib_worker_main
   521 }