Fedora 31 MyPaint Brushes
GIMP version: 2.10.12
Note: bug reporters are expected to have verified the bug still exists either in the last stable version of GIMP or on updated development code (master branch).
Operating System: Fedora 31
Package: Fedora 31 RPM Repository
Description of the bug
GIMP does not start when the package mypaint-brushes is installed.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Install mypaint-brushes
- Start GIMP (it freezes)
- Kill GIMP
- Uninstall the mypaint brushes
- Start GIMP
- GIMP starts as usual
Expected result: GIMP should start and show me an empty window with a toolbar and everything.
Actual result: GIMP freezes and when I toggle my Yakuake it freezes my whole GNOME Shell
Thread 1 (Thread 0x7ffff6088280 (LWP 19055)):
#0 0x00007ffff620e9e3 in json_c_get_random_seed () at /lib64/libjson-c.so.4
#1 0x00007ffff620dbf7 in lh_char_hash () at /lib64/libjson-c.so.4
#2 0x00007ffff6208c76 in json_object_object_add_ex () at /lib64/libjson-c.so.4
#3 0x00007ffff620bb3a in json_tokener_parse_ex () at /lib64/libjson-c.so.4
#4 0x00007ffff620d10b in json_tokener_parse_verbose () at /lib64/libjson-c.so.4
#5 0x00007ffff620d172 in json_tokener_parse () at /lib64/libjson-c.so.4
#6 0x00007ffff70fa141 in mypaint_brush_from_string (self=self@entry=0x555556359a40, string=string@entry=0x555557919240 "{\n \"comment\": \"MyPaint brush file\", \n \"group\": \"\", \n \"parent_brush_name\": \"\", \n \"settings\": {\n \"anti_aliasing\": {\n", ' ' <repeats 12 times>, "\"base_value\": 0.0, \n", ' ' <repeats 12 times>, "\"inputs\": {}\n },"...) at mypaint-brush.c:1218
brush_json = 0x0
#7 0x00005555559b8982 in gimp_mybrush_load (context=<optimized out>, file=0x55555779b4e0, input=<optimized out>, error=0x7fffffffcf00) at gimpmybrush-load.c:90
brush = 0x0
mypaint_brush = 0x555556359a40
pixbuf = <optimized out>
info = <optimized out>
size = 4817
buffer = 0x555557919240 "{\n \"comment\": \"MyPaint brush file\", \n \"group\": \"\", \n \"parent_brush_name\": \"\", \n \"settings\": {\n \"anti_aliasing\": {\n", ' ' <repeats 12 times>, "\"base_value\": 0.0, \n", ' ' <repeats 12 times>, "\"inputs\": {}\n },"...
path = <optimized out>
basename = <optimized out>
preview_filename = <optimized out>
p = <optimized out>
__func__ = "gimp_mybrush_load"
#8 0x000055555594bcb4 in gimp_data_loader_factory_load_data (top_directory=0x555557789a40, info=0x555556008320 [GFileInfo], file=0x55555779b4e0, dir_writable=0, cache=0x0, context=0x555556073340 [GimpContext], factory=0x555556016ab0 [GimpDataLoaderFactory]) at gimpdataloaderfactory.c:453
buffered = 0x5555564e3910 [GBufferedInputStream]
container = 0x555556021ae0 [GimpList]
data_list = 0x0
loader = 0x55555600afa0
container_obsolete = 0x555556021b70 [GimpList]
input = 0x555556307cf0 [GLocalFileInputStream]
mtime = 1514838173
error = 0x0
file_type = <optimized out>
child = 0x55555779b4e0
info = 0x555556008320 [GFileInfo]
enumerator = <optimized out>
#9 gimp_data_loader_factory_load_directory (factory=factory@entry=0x555556016ab0 [GimpDataLoaderFactory], context=context@entry=0x555556073340 [GimpContext], cache=cache@entry=0x0, dir_writable=dir_writable@entry=0, directory=directory@entry=0x55555779ee40, top_directory=top_directory@entry=0x555557789a40) at gimpdataloaderfactory.c:385
file_type = <optimized out>
child = 0x55555779b4e0
info = 0x555556008320 [GFileInfo]
enumerator = <optimized out>
#10 0x000055555594bba0 in gimp_data_loader_factory_load_directory (factory=factory@entry=0x555556016ab0 [GimpDataLoaderFactory], context=context@entry=0x555556073340 [GimpContext], cache=cache@entry=0x0, dir_writable=0, directory=<optimized out>, top_directory=0x555557789a40) at gimpdataloaderfactory.c:378
file_type = G_FILE_TYPE_DIRECTORY
child = 0x55555779ee40
info = 0x7fffa8009520 [GFileInfo]
enumerator = <optimized out>
#11 0x000055555594c05a in gimp_data_loader_factory_load (factory=0x555556016ab0 [GimpDataLoaderFactory], context=0x555556073340 [GimpContext], cache=0x0) at gimpdataloaderfactory.c:330
dir_writable = <optimized out>
path = 0x55555779ee00 = {0x555557789a40, 0x555557789b40}
writable_path = 0x55555779b5a0 = {0x555557789b80}
list = 0x55555779ee00 = {0x555557789a40, 0x555557789b40}
#12 0x000055555594a394 in gimp_data_factory_data_init (factory=0x555556016ab0 [GimpDataLoaderFactory], context=0x555556073340 [GimpContext], no_data=0) at gimpdatafactory.c:488
priv = <optimized out>
signal_name = <optimized out>
__func__ = "gimp_data_factory_data_init"
#13 0x000055555590d8d6 in gimp_data_factories_load (gimp=gimp@entry=0x55555601c060 [Gimp], status_callback=status_callback@entry=0x55555563d200 <splash_update>) at gimp-data-factories.c:360
__func__ = "gimp_data_factories_load"
#14 0x000055555590aacb in gimp_restore (gimp=gimp@entry=0x55555601c060 [Gimp], status_callback=status_callback@entry=0x55555563d200 <splash_update>, error=error@entry=0x7fffffffd128) at gimp.c:790
__func__ = "gimp_restore"
#15 0x000055555563564b in app_run (full_prog_name=<optimized out>, filenames=<optimized out>, alternate_system_gimprc=0x0, alternate_gimprc=0x0, session_name=<optimized out>, batch_interpreter=0x0, batch_commands=0x0, as_new=0, no_interface=0, no_data=0, no_fonts=0, no_splash=0, be_verbose=0, use_shm=1, use_cpu_accel=1, console_messages=0, use_debug_handler=0, show_playground=0, show_debug_menu=0, stack_trace_mode=GIMP_STACK_TRACE_NEVER, pdb_compat_mode=GIMP_PDB_COMPAT_ON, backtrace_file=0x555555e9d130 "/home/dhalucario/.config/GIMP/2.10/CrashLog/GIMP-crash-1573507249.txt") at app.c:330
update_status_func = 0x55555563d200 <splash_update>
gimp = 0x55555601c060 [Gimp]
loop = <optimized out>
run_loop = 0x555555e9d060
default_folder = <optimized out>
gimpdir = 0x5555560608a0
abort_message = <optimized out>
temprc = <optimized out>
language = <optimized out>
font_error = 0x0
__func__ = "app_run"
#16 0x0000555555634dde in main (argc=<optimized out>, argv=<optimized out>) at main.c:531
context = 0x555555e9e610
error = 0x0
abort_message = <optimized out>
basename = <optimized out>
system_gimprc_file = 0x0
user_gimprc_file = 0x0
backtrace_file = 0x555555e9d130 "/home/dhalucario/.config/GIMP/2.10/CrashLog/GIMP-crash-1573507249.txt"
i = <optimized out>
Edited by lillolollo