<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>262104</bug_id>
          
          <creation_ts>2023-09-26 01:54:10 -0700</creation_ts>
          <short_desc>[WPE][GTK] Symbolize `StackTrace` using `libbacktrace`</short_desc>
          <delta_ts>2023-12-04 13:09:43 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=265813</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1980104</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-09-26 01:54:10 -0700</bug_when>
    <thetext>Since we enable `-fvisibility=hidden` and `-fvisibility-hidden-inlines`, `backtrace()` cannot resolver pointer address to function names.
We can use `libbacktrace`[1] to symbolize addresses and generate meaningful backtraces.

[1] https://github.com/ianlancetaylor/libbacktrace</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980105</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-09-26 02:02:42 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18213</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980936</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-28 06:35:17 -0700</bug_when>
    <thetext>Committed 268579@main (e9b9e04d5163): &lt;https://commits.webkit.org/268579@main&gt;

Reviewed commits have been landed. Closing PR #18213 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993978</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-11-20 13:30:46 -0800</bug_when>
    <thetext>So, I don&apos;t think libbacktrace actually installs a pkg-config file, so I&apos;m thinking the `pkg_check_modules()` call here is guaranteed to fail. Am I wrong? I think it should be removed.

I also notice this library has never released before ever. I am having second thoughts about depending on it by default. Maybe we should turn this OFF by default. I&apos;m wondering if Ian has any plans to ever release it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>