<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>60113</bug_id>
          
          <creation_ts>2026-08-06 22:28:42 +0300</creation_ts>
          <short_desc>SIGSEGV при отсутствии расширения EGL_MESA_query_driver</short_desc>
          <delta_ts>2026-08-08 07:45:10 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cpu-x</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>54537</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aleksey Borisenkov">grizlik78</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
    
    <cc>lakostis</cc>
    
    <cc>obidinog</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>292392</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksey Borisenkov">grizlik78</who>
    <bug_when>2026-08-06 22:28:42 +0300</bug_when>
    <thetext>В патче cpu-x-fix-gl-vendor.patch есть строка

+      if(strstr(driver_name,&quot;r600&quot;) != NULL || strstr(driver_name,&quot;r300&quot;) != NULL)

В случае если драйвер не поддерживает расширение EGL_MESA_query_driver значение переменной driver_name оказывается равно NULL и в strstr() происходит SIGSEGV.
Видимо стоит предварительно проверить driver_name, например

+      if(driver_name &amp;&amp; (strstr(driver_name,&quot;r600&quot;) != NULL || strstr(driver_name,&quot;r300&quot;) != NULL))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292412</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-08-07 12:54:18 +0300</bug_when>
    <thetext>cpu-x-5.4.0-alt3 -&gt; sisyphus:

Fri Aug 07 2026 L.A. Kostis &lt;lakostis@altlinux.ru&gt; 5.4.0-alt3
- Fix possible segfault in gl-vendor patch (closes #60113).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292424</commentid>
    <comment_count>2</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2026-08-07 14:57:50 +0300</bug_when>
    <thetext>*** Bug 54537 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>