https://bugs.kde.org/show_bug.cgi?id=525122

            Bug ID: 525122
           Summary: KHelpCenter SEGVs when invoked outside of GDB or LLDB.
    Classification: Applications
           Product: khelpcenter
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

# SUMMARY

As was originally reported at
https://bugzilla.redhat.com/show_bug.cgi?id=2521153, when I invoke KHelpCenter,
it appears in the relevant plasmoids, for a few seconds, until:

> ~~~
> Core was generated by `/usr/bin/khelpcenter'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007f7834aae129 in dri2_allocate_textures (ctx=0x55d449e686d0, 
> drawable=0x55d44a220050, statts=0x55d44a220748, statts_count=1) at 
> ../src/gallium/frontends/dri/dri2.c:280
> 280           struct pipe_resource *texture = images.back->texture;
> [Current thread is 1 (Thread 0x7f77427fc6c0 (LWP 10528))]
> (gdb) bt
> #0  0x00007f7834aae129 in dri2_allocate_textures (ctx=0x55d449e686d0, 
> drawable=0x55d44a220050, statts=0x55d44a220748, statts_count=1) at 
> ../src/gallium/frontends/dri/dri2.c:280
> #1  0x00007f7834aa4954 in dri_st_framebuffer_validate (st=<optimized out>, 
> pdrawable=0x55d44a220050, statts=<optimized out>, count=<optimized out>, 
> out=0x7f77427fa220, resolve=0x7f77427fa1f8)
>     at ../src/gallium/frontends/dri/dri_drawable.c:79
> #2  0x00007f7834b46ea1 in st_framebuffer_validate 
> (stfb=stfb@entry=0x55d44a2202d0, st=st@entry=0x55d44a1c2240) at 
> ../src/mesa/state_tracker/st_manager.c:236
> #3  0x00007f7834b47d7e in st_manager_validate_framebuffers 
> (st=st@entry=0x55d44a1c2240) at ../src/mesa/state_tracker/st_manager.c:1233
> #4  0x00007f7834df8dc4 in st_update_framebuffer_state (st=0x55d44a1c2240) at 
> ../src/mesa/state_tracker/st_atom_framebuffer.c:120
> #5  0x00007f7834dff3aa in st_validate_state (st=0x55d44a1c2240, 
> pipeline_state_mask=0x7f77427fa4f0) at ../src/mesa/state_tracker/st_util.h:137
> #6  st_Clear (ctx=0x55d44a0f3770, mask=2) at 
> ../src/mesa/state_tracker/st_cb_clear.c:407
> #7  0x00007f7834c1321c in _mesa_unmarshal_Clear (ctx=<optimized out>, 
> cmd=<optimized out>) at src/mesa/glapi/glapi/gen/marshal_generated1.c:179
> #8  0x00007f7834aea1d1 in glthread_unmarshal_batch 
> (job=job@entry=0x55d44a0fb970, gdata=gdata@entry=0x0, 
> thread_index=thread_index@entry=0) at ../src/mesa/main/glthread.c:141
> #9  0x00007f7834fc457e in util_queue_thread_func 
> (input=input@entry=0x55d449d0b140) at ../src/util/u_queue.c:294
> #10 0x00007f783500ea8c in impl_thrd_routine (p=<optimized out>) at 
> ../src/c11/impl/threads_posix.c:43
> #11 0x00007f7864e79c19 in start_thread (arg=<optimized out>) at 
> pthread_create.c:454
> #12 0x00007f7864efd5cc in __GI___clone3 () at 
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
> > ~~~

Instead, I am solely able to invoke `khelpcenter` via LLDB and GDB:

> ~~~
> PS /> lldb khelpcenter
> Current symbol store settings:
> -> Cache: /home/RokeJulianLockhart/.dotnet/symbolcache
> -> Server: https://msdl.microsoft.com/download/symbols/ Timeout: 4 
> RetryCount: 0
> (lldb) target create "khelpcenter"
> warning: (x86_64) /usr/bin/khelpcenter unsupported DW_FORM values: 0x1f20 
> 0x1f21
> Current executable set to '/usr/bin/khelpcenter' (x86_64).
> (lldb) run
> Process 21123 launched: '/usr/bin/khelpcenter' (x86_64)
> warning: (x86_64) /lib64/libavutil.so.60 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /lib64/libavformat.so.62 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /lib64/libxkbcommon.so.0 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /lib64/libswresample.so.6 unsupported DW_FORM values: 
> 0x1f20 0x1f21
> warning: (x86_64) /lib64/libavcodec.so.62 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /lib64/libx264.so.165 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /lib64/libx265.so.215 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /lib64/libvvenc.so.1.13 unsupported DW_FORM values: 0x1f20 
> 0x1f21
> warning: (x86_64) /usr/lib64/dri-freeworld/libgallium-26.1.8.so unsupported 
> DW_FORM values: 0x1f20 0x1f21
> Process 21123 stopped and restarted: thread 1 received signal: SIGCHLD
> Process 21123 stopped and restarted: thread 1 received signal: SIGCHLD
> Process 21123 exited with status = -1 (0xffffffff) lost connection
> ~~~

Specifically, the same occurs with `gdb khelpcenter`.

# STEPS TO REPRODUCE

- The crash occurs with `khelpcenter`.

- It invokes with `gdb`/`lldb` + `khelpcenter`.

# SOFTWARE/OS VERSIONS

> ~~~YAML
> Operating System: Fedora Linux 44
> KDE Plasma Version: 6.7.4
> KDE Frameworks Version: 6.29.0
> Qt Version: 6.11.2
> Kernel Version: 7.1.12-200.fc44.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
> Memory: 32 GiB of RAM (30.6 GiB usable)
> Graphics Processor: AMD Radeon 780M Graphics
> Manufacturer: Framework
> Product Name: Laptop 16 (AMD Ryzen 7040 Series)
> System Version: A7
> ~~~

This also occurs on my desktop (ASRock X670E Taichi, with an AMD Radeon RX 5700
GPU), which is not (currently) available to me.

# ADDITIONAL INFORMATION

I am unable to submit this ticket with the correct version applied:

> ~~~
> PS /> rpm -qa khelpcenter
> khelpcenter-26.08.0-1.fc44.x86_64
> ~~~

Additionally,
https://discuss.kde.org/t/why-does-dr-konqi-not-appear-for-all-crashes/25725?u=rokejulianlockhart
applies.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to