Skip to content

Segfault on pinephonepro mobian/trixie #16

@ph1l

Description

@ph1l

mobian /trixie: 6.6.22+rockchip-1

Core was generated by `megapixels'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000ffff4cebbc74 in (anonymous namespace)::builtin_builder::find (this=0xffff4e46fec0 <builtins>, actual_parameters=0xffff7945be68, name=0xffff6402f5b8 "main", state=0xffff640296d0)
    at ../src/compiler/glsl/builtin_functions.cpp:1421
1421	../src/compiler/glsl/builtin_functions.cpp: No such file or directory.
[Current thread is 1 (Thread 0xffff7945ce00 (LWP 116895))]
(gdb) bt
#0  0x0000ffff4cebbc74 in (anonymous namespace)::builtin_builder::find (this=0xffff4e46fec0 <builtins>, actual_parameters=0xffff7945be68, name=0xffff6402f5b8 "main", state=0xffff640296d0)
    at ../src/compiler/glsl/builtin_functions.cpp:1421
#1  _mesa_glsl_find_builtin_function(_mesa_glsl_parse_state*, char const*, exec_list*)
    (state=state@entry=0xffff640296d0, name=name@entry=0xffff6402f5b8 "main", actual_parameters=actual_parameters@entry=0xffff7945be68) at ../src/compiler/glsl/builtin_functions.cpp:8563
#2  0x0000ffff4cf2be94 in ast_function::hir(exec_list*, _mesa_glsl_parse_state*) (this=0xffff6402f6d8, instructions=<optimized out>, state=0xffff640296d0)
    at ../src/compiler/glsl/ast_to_hir.cpp:6295
#3  0x0000ffff4cf2bfcc in ast_function_definition::hir(exec_list*, _mesa_glsl_parse_state*) (this=0xffff64032108, instructions=<optimized out>, state=0xffff640296d0)
    at ../src/compiler/glsl/ast_to_hir.cpp:6473
#4  0x0000ffff4cf23108 in _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) (instructions=0xffff64030960, state=state@entry=0xffff640296d0) at ../src/compiler/glsl/ast_to_hir.cpp:160
#5  0x0000ffff4cecab74 in _mesa_glsl_compile_shader(gl_context*, gl_shader*, bool, bool, bool)
    (ctx=ctx@entry=0xffff4c63e010, shader=shader@entry=0xffff640292f0, dump_ast=dump_ast@entry=false, dump_hir=dump_hir@entry=false, force_recompile=force_recompile@entry=false)
    at ../src/compiler/glsl/glsl_parser_extras.cpp:2365
#6  0x0000ffff4ce17950 in _mesa_compile_shader (ctx=0xffff4c63e010, sh=0xffff640292f0) at ../src/mesa/main/shaderapi.c:1234
#7  0x0000aaaac71eda14 in gl_util_load_shader (resource=0xaaaac71fb010 "/org/postmarketos/Megapixels/debayer.vert", type=35633, extra_sources=0x0, num_extra=0) at ../src/gl_util.c:96
#8  0x0000aaaac71ee0c0 in gles2_debayer_new (format=MP_PIXEL_FMT_RGGB8) at ../src/gles2_debayer.c:49
#9  0x0000aaaac71f7938 in on_output_changed (format_changed=true) at ../src/process_pipeline.c:887
#10 0x0000aaaac71f7c98 in update_state (pipeline=0xaaaac7d721e0, state=0xffff5000a960) at ../src/process_pipeline.c:942
#11 0x0000aaaac71f518c in invoke_impl (args=0xffff5000a950) at ../src/pipeline.c:43
#12 0x0000ffff83359b48 in g_main_dispatch (context=context@entry=0xaaaac7d74a40) at ../../../glib/gmain.c:3476
#13 0x0000ffff8335d598 in g_main_context_dispatch_unlocked (context=0xaaaac7d74a40) at ../../../glib/gmain.c:4284
#14 g_main_context_iterate_unlocked (context=0xaaaac7d74a40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349
#15 0x0000ffff8335e054 in g_main_loop_run (loop=0xaaaac7c5fc20) at ../../../glib/gmain.c:4551
#16 0x0000aaaac71f50b4 in thread_main_loop (arg=0xaaaac7d721e0) at ../src/pipeline.c:18
#17 0x0000ffff82cc1318 in start_thread (arg=0x0) at ./nptl/pthread_create.c:444
#18 0x0000ffff82d2b11c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

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