Skip to content

SIGTRAP in CanvasTest #327

@antonio-rojas

Description

@antonio-rojas

After the meson port, CanvasTest is failing with a SIGTRAP

# random seed: R02Sa04dbe2a1f66c543309cf7a6064b7ac5
1..1
# Start of Canvas tests
Bail out! FATAL-CRITICAL: string_contains: assertion 'needle != NULL' failed

** (CanvasTests:1809059): CRITICAL **: 12:00:52.504: string_contains: assertion 'needle != NULL' failed

Thread 1 "CanvasTests" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/glib/gmessages.c:1433
Downloading 0.10 MB source file /usr/src/debug/build/../glib/glib/gmessages.c
1433              g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));                                                                                
(gdb) bt
#0  g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/glib/gmessages.c:1433
#1  0x00007ffff7e44b64 in g_log
    (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7ffff7ea0fe8 "%s: assertion '%s' failed")
    at ../glib/glib/gmessages.c:1471
#2  0x00007ffff7e4612e in g_return_if_fail_warning
    (log_domain=log_domain@entry=0x0, pretty_function=pretty_function@entry=0x555555562880 <__func__.8> "string_contains", expression=expression@entry=0x555555562500 "needle != NULL") at ../glib/glib/gmessages.c:2959
#3  0x000055555555f786 in string_contains (needle=<optimized out>, self=0x5555556a9010 "pattern")
    at /home/antonio/Software/Arch/community/spice-up/trunk/src/build/glib-2.0.vapi:1538
#4  spice_canvas_canvas_grid_style (self=0x55555569c160 [SpiceCanvasCanvasGrid], pattern=0x5555556a9010 "pattern")
    at /home/antonio/Software/Arch/community/spice-up/trunk/src/Spice-up-1.9.1/src/Widgets/Canvas.vala:312
#5  0x000055555555f824 in spice_canvas_style (self=self@entry=0x5555556f8270 [SpiceCanvas])
    at /home/antonio/Software/Arch/community/spice-up/trunk/src/Spice-up-1.9.1/src/Widgets/Canvas.vala:257
#6  0x000055555555fab6 in spice_canvas_construct
    (object_type=<optimized out>, window=window@entry=0x5555556ec680 [SpiceWindow], save_data=save_data@entry=0x555555755440)
    at /home/antonio/Software/Arch/community/spice-up/trunk/src/Spice-up-1.9.1/src/Widgets/Canvas.vala:82
#7  0x000055555555fba9 in spice_canvas_new (window=window@entry=0x5555556ec680 [SpiceWindow], save_data=save_data@entry=0x555555755440)
    at /home/antonio/Software/Arch/community/spice-up/trunk/src/Spice-up-1.9.1/src/Widgets/Canvas.vala:65
#8  0x00005555555591ef in load_test (raw=raw@entry=0x555555561160 "{\"background-color\":\"blue\", \"background-pattern\":\"pattern\" } ")
    at ../Spice-up-1.9.1/src/Tests/Canvas/CanvasTest.vala:35
#9  0x0000555555559411 in __lambda4_ () at ../Spice-up-1.9.1/src/Tests/Canvas/CanvasTest.vala:24
#10 ___lambda4__gtest_func () at ../Spice-up-1.9.1/src/Tests/Canvas/CanvasTest.vala:23
#11 0x00007ffff7e6435f in test_case_run (tc=0x555555755590) at ../glib/glib/gtestutils.c:2933
#12 g_test_run_suite_internal (suite=suite@entry=0x5555557571a0, path=path@entry=0x0) at ../glib/glib/gtestutils.c:3021
#13 0x00007ffff7e640bf in g_test_run_suite_internal (suite=suite@entry=0x555555757160, path=path@entry=0x0) at ../glib/glib/gtestutils.c:3038
#14 0x00007ffff7e64882 in g_test_run_suite (suite=suite@entry=0x555555757160) at ../glib/glib/gtestutils.c:3115
#15 0x00007ffff7e648f7 in g_test_run () at ../glib/glib/gtestutils.c:2234
#16 g_test_run () at ../glib/glib/gtestutils.c:2221

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions