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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13908</bug_id>
          
          <creation_ts>2020-05-20 03:43:00 +0000</creation_ts>
          <short_desc>segfault in matchbox-windowmanager on qemux86-64 intermittently</short_desc>
          <delta_ts>2026-10-28 11:53:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Matchbox</product>
          <component>matchbox</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>alexandre.belloni</cc>
    
    <cc>anuj.mittal</cc>
    
    <cc>mathieu.dubois-briand</cc>
    
    <cc>mingli.yu</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>steve</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87254</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-20 03:43:00 +0000</bug_when>
    <thetext>We occasionally see a segfault in matchbox-windowmanager in libstartup-notification, I think we&apos;ve seen with systemd and sysvinit. An example is:

https://autobuilder.yoctoproject.org/typhoon/#/builders/109/builds/820

which in dmesg has:

[    9.602790] NFSD: starting 90-second grace period (net f0000098)
[    9.734875] matchbox-window[249]: segfault at 8 ip 00007f03a364473c sp 00007fffcfc61620 error 4 in libstartup-notification-1.so.0.0.0[7f03a3644000+4000]
[    9.734894] Code: ee 48 89 df e8 e5 fa ff ff 48 83 c5 01 41 39 6c 24 50 49 89 45 00 7f de 49 8b 7c 24 10 44 89 fe 31 d2 e8 47 fc ff ff 48 89 c7 &lt;8b&gt; 40 08 41 89 44 24 20 e8 17 f9 ff ff 49 8b 7c 24 10 44 89 f6 31
[  655.381774] hellomod: loading out-of-tree module taints kernel.
[  655.403754] Hello world!
[  655.869939] Cleaning up hellomod.


since we keep seeing this I did a little digging. Rerunning that same image on the autobuilder did not show the issue so its some kind of startup race. We did have build information available so I put debug symbols into the image and checked:

root@qemux86-64:~# cat /proc/307/maps
55cb908c8000-55cb908cd000 r--p 00000000 fd:00 29506                      /usr/bin/matchbox-window-manager
55cb908cd000-55cb908e3000 r-xp 00005000 fd:00 29506                      /usr/bin/matchbox-window-manager
55cb908e3000-55cb908e9000 r--p 0001b000 fd:00 29506                      /usr/bin/matchbox-window-manager
55cb908ea000-55cb908eb000 r--p 00021000 fd:00 29506                      /usr/bin/matchbox-window-manager
55cb908eb000-55cb908ec000 rw-p 00022000 fd:00 29506                      /usr/bin/matchbox-window-manager
55cb908ec000-55cb909ae000 rw-p 00000000 00:00 0                          [heap]
7ff150753000-7ff1507aa000 r--p 00000000 fd:00 61854                      /usr/share/fonts/ttf/LiberationSans-Bold.ttf
7ff1507aa000-7ff1507ae000 rw-p 00000000 00:00 0 
7ff1507ae000-7ff1507b5000 r--p 00000000 fd:00 960                        /lib/libpthread-2.31.so
7ff1507b5000-7ff1507c4000 r-xp 00007000 fd:00 960                        /lib/libpthread-2.31.so
7ff1507c4000-7ff1507c9000 r--p 00016000 fd:00 960                        /lib/libpthread-2.31.so
7ff1507c9000-7ff1507ca000 r--p 0001a000 fd:00 960                        /lib/libpthread-2.31.so
7ff1507ca000-7ff1507cb000 rw-p 0001b000 fd:00 960                        /lib/libpthread-2.31.so
7ff1507cb000-7ff1507cf000 rw-p 00000000 00:00 0 
7ff1507cf000-7ff1507d1000 r--p 00000000 fd:00 990                        /lib/libuuid.so.1.3.0
7ff1507d1000-7ff1507d5000 r-xp 00002000 fd:00 990                        /lib/libuuid.so.1.3.0
7ff1507d5000-7ff1507d6000 r--p 00006000 fd:00 990                        /lib/libuuid.so.1.3.0
7ff1507d6000-7ff1507d7000 r--p 00006000 fd:00 990                        /lib/libuuid.so.1.3.0
7ff1507d7000-7ff1507d8000 rw-p 00007000 fd:00 990                        /lib/libuuid.so.1.3.0
7ff1507d8000-7ff1507da000 r--p 00000000 fd:00 53339                      /usr/lib/libXdmcp.so.6.0.0
7ff1507da000-7ff1507dc000 r-xp 00002000 fd:00 53339                      /usr/lib/libXdmcp.so.6.0.0
7ff1507dc000-7ff1507de000 r--p 00004000 fd:00 53339                      /usr/lib/libXdmcp.so.6.0.0
7ff1507de000-7ff1507df000 r--p 00005000 fd:00 53339                      /usr/lib/libXdmcp.so.6.0.0
7ff1507df000-7ff1507e0000 rw-p 00006000 fd:00 53339                      /usr/lib/libXdmcp.so.6.0.0
7ff1507e0000-7ff1507e1000 r--p 00000000 fd:00 53327                      /usr/lib/libXau.so.6.0.0
7ff1507e1000-7ff1507e2000 r-xp 00001000 fd:00 53327                      /usr/lib/libXau.so.6.0.0
7ff1507e2000-7ff1507e3000 r--p 00002000 fd:00 53327                      /usr/lib/libXau.so.6.0.0
7ff1507e3000-7ff1507e4000 r--p 00002000 fd:00 53327                      /usr/lib/libXau.so.6.0.0
7ff1507e4000-7ff1507e5000 rw-p 00003000 fd:00 53327                      /usr/lib/libXau.so.6.0.0
7ff1507e5000-7ff1507f4000 r--p 00000000 fd:00 922                        /lib/libm-2.31.so
7ff1507f4000-7ff15088c000 r-xp 0000f000 fd:00 922                        /lib/libm-2.31.so
7ff15088c000-7ff150925000 r--p 000a7000 fd:00 922                        /lib/libm-2.31.so
7ff150925000-7ff150926000 r--p 0013f000 fd:00 922                        /lib/libm-2.31.so
7ff150926000-7ff150927000 rw-p 00140000 fd:00 922                        /lib/libm-2.31.so
7ff150927000-7ff150934000 r--p 00000000 fd:00 53782                      /usr/lib/libfreetype.so.6.17.2
7ff150934000-7ff1509a9000 r-xp 0000d000 fd:00 53782                      /usr/lib/libfreetype.so.6.17.2
7ff1509a9000-7ff1509d1000 r--p 00082000 fd:00 53782                      /usr/lib/libfreetype.so.6.17.2
7ff1509d1000-7ff1509d8000 r--p 000a9000 fd:00 53782                      /usr/lib/libfreetype.so.6.17.2
7ff1509d8000-7ff1509d9000 rw-p 000b0000 fd:00 53782                      /usr/lib/libfreetype.so.6.17.2
7ff1509d9000-7ff1509db000 rw-p 00000000 00:00 0 
7ff1509db000-7ff1509e2000 r--p 00000000 fd:00 53770                      /usr/lib/libfontconfig.so.1.12.0
7ff1509e2000-7ff150a08000 r-xp 00007000 fd:00 53770                      /usr/lib/libfontconfig.so.1.12.0
7ff150a08000-7ff150a20000 r--p 0002d000 fd:00 53770                      /usr/lib/libfontconfig.so.1.12.0
7ff150a20000-7ff150a22000 r--p 00044000 fd:00 53770                      /usr/lib/libfontconfig.so.1.12.0
7ff150a22000-7ff150a23000 rw-p 00046000 fd:00 53770                      /usr/lib/libfontconfig.so.1.12.0
7ff150a23000-7ff150a25000 r--p 00000000 fd:00 53369                      /usr/lib/libXrender.so.1.3.0
7ff150a25000-7ff150a2c000 r-xp 00002000 fd:00 53369                      /usr/lib/libXrender.so.1.3.0
7ff150a2c000-7ff150a2e000 r--p 00009000 fd:00 53369                      /usr/lib/libXrender.so.1.3.0
7ff150a2e000-7ff150a2f000 r--p 0000a000 fd:00 53369                      /usr/lib/libXrender.so.1.3.0
7ff150a2f000-7ff150a30000 rw-p 0000b000 fd:00 53369                      /usr/lib/libXrender.so.1.3.0
7ff150a30000-7ff150a31000 r--p 00000000 fd:00 53318                      /usr/lib/libX11-xcb.so.1.0.0
7ff150a31000-7ff150a32000 r-xp 00001000 fd:00 53318                      /usr/lib/libX11-xcb.so.1.0.0
7ff150a32000-7ff150a33000 r--p 00002000 fd:00 53318                      /usr/lib/libX11-xcb.so.1.0.0
7ff150a33000-7ff150a34000 r--p 00002000 fd:00 53318                      /usr/lib/libX11-xcb.so.1.0.0
7ff150a34000-7ff150a35000 rw-p 00003000 fd:00 53318                      /usr/lib/libX11-xcb.so.1.0.0
7ff150a35000-7ff150a38000 r--p 00000000 fd:00 54510                      /usr/lib/libxcb-util.so.1.0.0
7ff150a38000-7ff150a39000 r-xp 00003000 fd:00 54510                      /usr/lib/libxcb-util.so.1.0.0
7ff150a39000-7ff150a3a000 r--p 00004000 fd:00 54510                      /usr/lib/libxcb-util.so.1.0.0
7ff150a3a000-7ff150a3b000 ---p 00005000 fd:00 54510                      /usr/lib/libxcb-util.so.1.0.0
7ff150a3b000-7ff150a3c000 r--p 00005000 fd:00 54510                      /usr/lib/libxcb-util.so.1.0.0
7ff150a3c000-7ff150a3d000 rw-p 00006000 fd:00 54510                      /usr/lib/libxcb-util.so.1.0.0
7ff150a3d000-7ff150a3e000 r--p 00000000 fd:00 910                        /lib/libdl-2.31.so
7ff150a3e000-7ff150a3f000 r-xp 00001000 fd:00 910                        /lib/libdl-2.31.so
7ff150a3f000-7ff150a40000 r--p 00002000 fd:00 910                        /lib/libdl-2.31.so
7ff150a40000-7ff150a41000 r--p 00002000 fd:00 910                        /lib/libdl-2.31.so
7ff150a41000-7ff150a42000 rw-p 00003000 fd:00 910                        /lib/libdl-2.31.so
7ff150a42000-7ff150a4e000 r--p 00000000 fd:00 54537                      /usr/lib/libxcb.so.1.1.0
7ff150a4e000-7ff150a62000 r-xp 0000c000 fd:00 54537                      /usr/lib/libxcb.so.1.1.0
7ff150a62000-7ff150a6b000 r--p 00020000 fd:00 54537                      /usr/lib/libxcb.so.1.1.0
7ff150a6b000-7ff150a6c000 r--p 00028000 fd:00 54537                      /usr/lib/libxcb.so.1.1.0
7ff150a6c000-7ff150a6d000 rw-p 00029000 fd:00 54537                      /usr/lib/libxcb.so.1.1.0
7ff150a6d000-7ff150a6f000 rw-p 00000000 00:00 0 
7ff150a6f000-7ff150a72000 r--p 00000000 fd:00 994                        /lib/libz.so.1.2.11
7ff150a72000-7ff150a80000 r-xp 00003000 fd:00 994                        /lib/libz.so.1.2.11
7ff150a80000-7ff150a86000 r--p 00011000 fd:00 994                        /lib/libz.so.1.2.11
7ff150a86000-7ff150a87000 ---p 00017000 fd:00 994                        /lib/libz.so.1.2.11
7ff150a87000-7ff150a88000 r--p 00017000 fd:00 994                        /lib/libz.so.1.2.11
7ff150a88000-7ff150a89000 rw-p 00018000 fd:00 994                        /lib/libz.so.1.2.11
7ff150a89000-7ff150a8f000 r--p 00000000 fd:00 54255                      /usr/lib/libpng16.so.16.37.0
7ff150a8f000-7ff150ab3000 r-xp 00006000 fd:00 54255                      /usr/lib/libpng16.so.16.37.0
7ff150ab3000-7ff150abe000 r--p 0002a000 fd:00 54255                      /usr/lib/libpng16.so.16.37.0
7ff150abe000-7ff150abf000 r--p 00034000 fd:00 54255                      /usr/lib/libpng16.so.16.37.0
7ff150abf000-7ff150ac0000 rw-p 00035000 fd:00 54255                      /usr/lib/libpng16.so.16.37.0
7ff150ac0000-7ff150ac4000 r--p 00000000 fd:00 54032                      /usr/lib/libjpeg.so.62.3.0
7ff150ac4000-7ff150b07000 r-xp 00004000 fd:00 54032                      /usr/lib/libjpeg.so.62.3.0
7ff150b07000-7ff150b41000 r--p 00047000 fd:00 54032                      /usr/lib/libjpeg.so.62.3.0
7ff150b41000-7ff150b42000 ---p 00081000 fd:00 54032                      /usr/lib/libjpeg.so.62.3.0
7ff150b42000-7ff150b43000 r--p 00081000 fd:00 54032                      /usr/lib/libjpeg.so.62.3.0
7ff150b43000-7ff150b44000 rw-p 00082000 fd:00 54032                      /usr/lib/libjpeg.so.62.3.0
7ff150b44000-7ff150b48000 r--p 00000000 fd:00 53351                      /usr/lib/libXft.so.2.3.3
7ff150b48000-7ff150b57000 r-xp 00004000 fd:00 53351                      /usr/lib/libXft.so.2.3.3
7ff150b57000-7ff150b5b000 r--p 00013000 fd:00 53351                      /usr/lib/libXft.so.2.3.3
7ff150b5b000-7ff150b5c000 r--p 00016000 fd:00 53351                      /usr/lib/libXft.so.2.3.3
7ff150b5c000-7ff150b5d000 rw-p 00017000 fd:00 53351                      /usr/lib/libXft.so.2.3.3
7ff150b5d000-7ff150b82000 r--p 00000000 fd:00 897                        /lib/libc-2.31.so
7ff150b82000-7ff150cc4000 r-xp 00025000 fd:00 897                        /lib/libc-2.31.so
7ff150cc4000-7ff150d0f000 r--p 00167000 fd:00 897                        /lib/libc-2.31.so
7ff150d0f000-7ff150d10000 ---p 001b2000 fd:00 897                        /lib/libc-2.31.so
7ff150d10000-7ff150d13000 r--p 001b2000 fd:00 897                        /lib/libc-2.31.so
7ff150d13000-7ff150d16000 rw-p 001b5000 fd:00 897                        /lib/libc-2.31.so
7ff150d16000-7ff150d1a000 rw-p 00000000 00:00 0 
7ff150d1a000-7ff150d1d000 r--p 00000000 fd:00 53333                      /usr/lib/libXcursor.so.1.0.2
7ff150d1d000-7ff150d23000 r-xp 00003000 fd:00 53333                      /usr/lib/libXcursor.so.1.0.2
7ff150d23000-7ff150d25000 r--p 00009000 fd:00 53333                      /usr/lib/libXcursor.so.1.0.2
7ff150d25000-7ff150d26000 r--p 0000a000 fd:00 53333                      /usr/lib/libXcursor.so.1.0.2
7ff150d26000-7ff150d27000 rw-p 0000b000 fd:00 53333                      /usr/lib/libXcursor.so.1.0.2
7ff150d27000-7ff150d29000 rw-p 00000000 00:00 0 
7ff150d29000-7ff150d2b000 r--p 00000000 fd:00 53345                      /usr/lib/libXfixes.so.3.1.0
7ff150d2b000-7ff150d2e000 r-xp 00002000 fd:00 53345                      /usr/lib/libXfixes.so.3.1.0
7ff150d2e000-7ff150d2f000 r--p 00005000 fd:00 53345                      /usr/lib/libXfixes.so.3.1.0
7ff150d2f000-7ff150d30000 ---p 00006000 fd:00 53345                      /usr/lib/libXfixes.so.3.1.0
7ff150d30000-7ff150d31000 r--p 00006000 fd:00 53345                      /usr/lib/libXfixes.so.3.1.0
7ff150d31000-7ff150d32000 rw-p 00007000 fd:00 53345                      /usr/lib/libXfixes.so.3.1.0
7ff150d32000-7ff150d35000 r--p 00000000 fd:00 54334                      /usr/lib/libstartup-notification-1.so.0.0.0
7ff150d35000-7ff150d39000 r-xp 00003000 fd:00 54334                      /usr/lib/libstartup-notification-1.so.0.0.0
7ff150d39000-7ff150d3b000 r--p 00007000 fd:00 54334                      /usr/lib/libstartup-notification-1.so.0.0.0
7ff150d3b000-7ff150d3c000 ---p 00009000 fd:00 54334                      /usr/lib/libstartup-notification-1.so.0.0.0
7ff150d3c000-7ff150d3d000 r--p 00009000 fd:00 54334                      /usr/lib/libstartup-notification-1.so.0.0.0
7ff150d3d000-7ff150d3e000 rw-p 0000a000 fd:00 54334                      /usr/lib/libstartup-notification-1.so.0.0.0
7ff150d3e000-7ff150d42000 r--p 00000000 fd:00 53739                      /usr/lib/libexpat.so.1.6.11
7ff150d42000-7ff150d5e000 r-xp 00004000 fd:00 53739                      /usr/lib/libexpat.so.1.6.11
7ff150d5e000-7ff150d68000 r--p 00020000 fd:00 53739                      /usr/lib/libexpat.so.1.6.11
7ff150d68000-7ff150d69000 ---p 0002a000 fd:00 53739                      /usr/lib/libexpat.so.1.6.11
7ff150d69000-7ff150d6b000 r--p 0002a000 fd:00 53739                      /usr/lib/libexpat.so.1.6.11
7ff150d6b000-7ff150d6c000 rw-p 0002c000 fd:00 53739                      /usr/lib/libexpat.so.1.6.11
7ff150d6c000-7ff150d70000 r--p 00000000 fd:00 53342                      /usr/lib/libXext.so.6.4.0
7ff150d70000-7ff150d7b000 r-xp 00004000 fd:00 53342                      /usr/lib/libXext.so.6.4.0
7ff150d7b000-7ff150d7f000 r--p 0000f000 fd:00 53342                      /usr/lib/libXext.so.6.4.0
7ff150d7f000-7ff150d80000 r--p 00012000 fd:00 53342                      /usr/lib/libXext.so.6.4.0
7ff150d80000-7ff150d81000 rw-p 00013000 fd:00 53342                      /usr/lib/libXext.so.6.4.0
7ff150d81000-7ff150d9d000 r--p 00000000 fd:00 53321                      /usr/lib/libX11.so.6.3.0
7ff150d9d000-7ff150e27000 r-xp 0001c000 fd:00 53321                      /usr/lib/libX11.so.6.3.0
7ff150e27000-7ff150ebb000 r--p 000a6000 fd:00 53321                      /usr/lib/libX11.so.6.3.0
7ff150ebb000-7ff150ebe000 r--p 00139000 fd:00 53321                      /usr/lib/libX11.so.6.3.0
7ff150ebe000-7ff150ec2000 rw-p 0013c000 fd:00 53321                      /usr/lib/libX11.so.6.3.0
7ff150ec2000-7ff150ec8000 r--p 00000000 fd:00 54097                      /usr/lib/libmb.so.1.0.9
7ff150ec8000-7ff150ed7000 r-xp 00006000 fd:00 54097                      /usr/lib/libmb.so.1.0.9
7ff150ed7000-7ff150edb000 r--p 00015000 fd:00 54097                      /usr/lib/libmb.so.1.0.9
7ff150edb000-7ff150edc000 ---p 00019000 fd:00 54097                      /usr/lib/libmb.so.1.0.9
7ff150edc000-7ff150edd000 r--p 00019000 fd:00 54097                      /usr/lib/libmb.so.1.0.9
7ff150edd000-7ff150ede000 rw-p 0001a000 fd:00 54097                      /usr/lib/libmb.so.1.0.9
7ff150ede000-7ff150ee0000 rw-p 00000000 00:00 0 
7ff150ef1000-7ff150ef3000 r--p 00000000 fd:00 888                        /lib/ld-2.31.so
7ff150ef3000-7ff150f12000 r-xp 00002000 fd:00 888                        /lib/ld-2.31.so
7ff150f12000-7ff150f1a000 r--p 00021000 fd:00 888                        /lib/ld-2.31.so
7ff150f1b000-7ff150f1c000 r--p 00029000 fd:00 888                        /lib/ld-2.31.so
7ff150f1c000-7ff150f1d000 rw-p 0002a000 fd:00 888                        /lib/ld-2.31.so
7ff150f1d000-7ff150f1e000 rw-p 00000000 00:00 0 
7fff07bdc000-7fff07bfd000 rw-p 00000000 00:00 0                          [stack]
7fff07c1d000-7fff07c20000 r--p 00000000 00:00 0                          [vvar]
7fff07c20000-7fff07c21000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]


(gdb) info symbol 0x7ff150d3573c
sn_xcb_display_new + 268 in section .text of /usr/lib/libstartup-notification-1.so.0
(gdb) disassemble /m  0x7ff150d3573c
Dump of assembler code for function sn_xcb_display_new:
109	../../startup-notification-0.12/libsn/sn-common.c: No such file or directory.

110	in ../../startup-notification-0.12/libsn/sn-common.c

111	in ../../startup-notification-0.12/libsn/sn-common.c

112	in ../../startup-notification-0.12/libsn/sn-common.c
113	in ../../startup-notification-0.12/libsn/sn-common.c
114	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35630 &lt;+0&gt;:	push   %r15
   0x00007ff150d35632 &lt;+2&gt;:	lea    0x39c7(%rip),%rcx        # 0x7ff150d39000
   0x00007ff150d35639 &lt;+9&gt;:	push   %r14
   0x00007ff150d3563b &lt;+11&gt;:	push   %r13
   0x00007ff150d3563d &lt;+13&gt;:	mov    %rsi,%r13
   0x00007ff150d35640 &lt;+16&gt;:	xor    %esi,%esi
   0x00007ff150d35642 &lt;+18&gt;:	push   %r12
   0x00007ff150d35644 &lt;+20&gt;:	push   %rbp
   0x00007ff150d35645 &lt;+21&gt;:	mov    %rdx,%rbp
   0x00007ff150d35648 &lt;+24&gt;:	mov    $0xb,%edx
   0x00007ff150d3564d &lt;+29&gt;:	push   %rbx
   0x00007ff150d3564e &lt;+30&gt;:	mov    %rdi,%rbx
   0x00007ff150d35651 &lt;+33&gt;:	sub    $0x18,%rsp
   0x00007ff150d35655 &lt;+37&gt;:	callq  0x7ff150d35240 &lt;xcb_intern_atom@plt&gt;
   0x00007ff150d3565a &lt;+42&gt;:	xor    %esi,%esi
   0x00007ff150d3565c &lt;+44&gt;:	mov    $0x17,%edx
   0x00007ff150d35661 &lt;+49&gt;:	mov    %rbx,%rdi
   0x00007ff150d35664 &lt;+52&gt;:	lea    0x39a1(%rip),%rcx        # 0x7ff150d3900c
   0x00007ff150d3566b &lt;+59&gt;:	mov    %eax,%r15d

115	in ../../startup-notification-0.12/libsn/sn-common.c
116	in ../../startup-notification-0.12/libsn/sn-common.c
117	in ../../startup-notification-0.12/libsn/sn-common.c
118	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d3566e &lt;+62&gt;:	callq  0x7ff150d35240 &lt;xcb_intern_atom@plt&gt;
   0x00007ff150d35673 &lt;+67&gt;:	xor    %esi,%esi
   0x00007ff150d35675 &lt;+69&gt;:	mov    $0x11,%edx
   0x00007ff150d3567a &lt;+74&gt;:	mov    %rbx,%rdi
   0x00007ff150d3567d &lt;+77&gt;:	lea    0x39a0(%rip),%rcx        # 0x7ff150d39024
   0x00007ff150d35684 &lt;+84&gt;:	mov    %eax,%r14d

119	in ../../startup-notification-0.12/libsn/sn-common.c
120	in ../../startup-notification-0.12/libsn/sn-common.c
121	in ../../startup-notification-0.12/libsn/sn-common.c
122	in ../../startup-notification-0.12/libsn/sn-common.c
123	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35687 &lt;+87&gt;:	callq  0x7ff150d35240 &lt;xcb_intern_atom@plt&gt;
   0x00007ff150d3568c &lt;+92&gt;:	mov    $0xf,%edx
   0x00007ff150d35691 &lt;+97&gt;:	xor    %esi,%esi
   0x00007ff150d35693 &lt;+99&gt;:	mov    %rbx,%rdi
   0x00007ff150d35696 &lt;+102&gt;:	lea    0x3999(%rip),%rcx        # 0x7ff150d39036
   0x00007ff150d3569d &lt;+109&gt;:	mov    %eax,0x8(%rsp)

124	in ../../startup-notification-0.12/libsn/sn-common.c
--Type &lt;RET&gt; for more, q to quit, c to continue without paging--
125	in ../../startup-notification-0.12/libsn/sn-common.c
126	in ../../startup-notification-0.12/libsn/sn-common.c
127	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356a1 &lt;+113&gt;:	callq  0x7ff150d35240 &lt;xcb_intern_atom@plt&gt;
   0x00007ff150d356a6 &lt;+118&gt;:	mov    $0x68,%edi
   0x00007ff150d356ab &lt;+123&gt;:	mov    %eax,0xc(%rsp)

128	in ../../startup-notification-0.12/libsn/sn-common.c
129	in ../../startup-notification-0.12/libsn/sn-common.c
130	in ../../startup-notification-0.12/libsn/sn-common.c
131	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356af &lt;+127&gt;:	callq  0x7ff150d353e0 &lt;sn_malloc0@plt&gt;
   0x00007ff150d356b4 &lt;+132&gt;:	mov    %rbx,%rdi
   0x00007ff150d356b7 &lt;+135&gt;:	mov    %rbx,0x10(%rax)
   0x00007ff150d356bb &lt;+139&gt;:	mov    %rax,%r12

132	in ../../startup-notification-0.12/libsn/sn-common.c
133	in ../../startup-notification-0.12/libsn/sn-common.c

134	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356be &lt;+142&gt;:	callq  0x7ff150d35440 &lt;xcb_get_setup@plt&gt;
   0x00007ff150d356c3 &lt;+147&gt;:	mov    %rax,%rdi
   0x00007ff150d356c6 &lt;+150&gt;:	callq  0x7ff150d352f0 &lt;xcb_setup_roots_length@plt&gt;
   0x00007ff150d356cb &lt;+155&gt;:	mov    %eax,0x50(%r12)

135	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356d0 &lt;+160&gt;:	cltq   
   0x00007ff150d356d2 &lt;+162&gt;:	lea    0x0(,%rax,8),%rdi
   0x00007ff150d356da &lt;+170&gt;:	callq  0x7ff150d351e0 &lt;sn_malloc@plt&gt;
   0x00007ff150d356df &lt;+175&gt;:	mov    0x50(%r12),%edx
   0x00007ff150d356e4 &lt;+180&gt;:	mov    %r13,0x40(%r12)
   0x00007ff150d356e9 &lt;+185&gt;:	mov    %rax,0x18(%r12)

136	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356ee &lt;+190&gt;:	movl   $0x1,(%r12)

137	in ../../startup-notification-0.12/libsn/sn-common.c
138	in ../../startup-notification-0.12/libsn/sn-common.c

139	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356f6 &lt;+198&gt;:	mov    %rbp,0x48(%r12)

140	in ../../startup-notification-0.12/libsn/sn-common.c
141	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d356fb &lt;+203&gt;:	test   %edx,%edx
   0x00007ff150d356fd &lt;+205&gt;:	jle    0x7ff150d3572a &lt;sn_xcb_display_new+250&gt;
   0x00007ff150d356ff &lt;+207&gt;:	xor    %ebp,%ebp
   0x00007ff150d35701 &lt;+209&gt;:	jmp    0x7ff150d3570d &lt;sn_xcb_display_new+221&gt;
   0x00007ff150d35703 &lt;+211&gt;:	nopl   0x0(%rax,%rax,1)
   0x00007ff150d35708 &lt;+216&gt;:	mov    0x18(%r12),%rax
   0x00007ff150d35728 &lt;+248&gt;:	jg     0x7ff150d35708 &lt;sn_xcb_display_new+216&gt;

142	in ../../startup-notification-0.12/libsn/sn-common.c
--Type &lt;RET&gt; for more, q to quit, c to continue without paging--
   0x00007ff150d3570d &lt;+221&gt;:	lea    (%rax,%rbp,8),%r13
   0x00007ff150d35711 &lt;+225&gt;:	mov    %ebp,%esi
   0x00007ff150d35713 &lt;+227&gt;:	mov    %rbx,%rdi
   0x00007ff150d35716 &lt;+230&gt;:	callq  0x7ff150d35200 &lt;xcb_aux_get_screen@plt&gt;
   0x00007ff150d3571b &lt;+235&gt;:	add    $0x1,%rbp
   0x00007ff150d3571f &lt;+239&gt;:	cmp    %ebp,0x50(%r12)
   0x00007ff150d35724 &lt;+244&gt;:	mov    %rax,0x0(%r13)

143	in ../../startup-notification-0.12/libsn/sn-common.c
144	in ../../startup-notification-0.12/libsn/sn-common.c

145	in ../../startup-notification-0.12/libsn/sn-common.c
146	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d3572a &lt;+250&gt;:	mov    0x10(%r12),%rdi
   0x00007ff150d3572f &lt;+255&gt;:	mov    %r15d,%esi
   0x00007ff150d35732 &lt;+258&gt;:	xor    %edx,%edx
   0x00007ff150d35734 &lt;+260&gt;:	callq  0x7ff150d35380 &lt;xcb_intern_atom_reply@plt&gt;
   0x00007ff150d35739 &lt;+265&gt;:	mov    %rax,%rdi

147	in ../../startup-notification-0.12/libsn/sn-common.c
148	in ../../startup-notification-0.12/libsn/sn-common.c
149	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d3573c &lt;+268&gt;:	mov    0x8(%rax),%eax
   0x00007ff150d3573f &lt;+271&gt;:	mov    %eax,0x20(%r12)

150	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35744 &lt;+276&gt;:	callq  0x7ff150d35060 &lt;free@plt&gt;

151	in ../../startup-notification-0.12/libsn/sn-common.c
152	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35749 &lt;+281&gt;:	mov    0x10(%r12),%rdi
   0x00007ff150d3574e &lt;+286&gt;:	mov    %r14d,%esi
   0x00007ff150d35751 &lt;+289&gt;:	xor    %edx,%edx
   0x00007ff150d35753 &lt;+291&gt;:	callq  0x7ff150d35380 &lt;xcb_intern_atom_reply@plt&gt;
   0x00007ff150d35758 &lt;+296&gt;:	mov    %rax,%rdi

153	in ../../startup-notification-0.12/libsn/sn-common.c
154	in ../../startup-notification-0.12/libsn/sn-common.c
155	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d3575b &lt;+299&gt;:	mov    0x8(%rax),%eax
   0x00007ff150d3575e &lt;+302&gt;:	mov    %eax,0x2c(%r12)

156	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35763 &lt;+307&gt;:	callq  0x7ff150d35060 &lt;free@plt&gt;

157	in ../../startup-notification-0.12/libsn/sn-common.c
158	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35768 &lt;+312&gt;:	mov    0x8(%rsp),%esi
   0x00007ff150d3576c &lt;+316&gt;:	xor    %edx,%edx
   0x00007ff150d3576e &lt;+318&gt;:	mov    0x10(%r12),%rdi
   0x00007ff150d35773 &lt;+323&gt;:	callq  0x7ff150d35380 &lt;xcb_intern_atom_reply@plt&gt;
   0x00007ff150d35778 &lt;+328&gt;:	mov    %rax,%rdi

--Type &lt;RET&gt; for more, q to quit, c to continue without paging--
159	in ../../startup-notification-0.12/libsn/sn-common.c
160	in ../../startup-notification-0.12/libsn/sn-common.c
161	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d3577b &lt;+331&gt;:	mov    0x8(%rax),%eax
   0x00007ff150d3577e &lt;+334&gt;:	mov    %eax,0x28(%r12)

162	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35783 &lt;+339&gt;:	callq  0x7ff150d35060 &lt;free@plt&gt;

163	in ../../startup-notification-0.12/libsn/sn-common.c
164	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d35788 &lt;+344&gt;:	mov    0x10(%r12),%rdi
   0x00007ff150d3578d &lt;+349&gt;:	xor    %edx,%edx
   0x00007ff150d3578f &lt;+351&gt;:	mov    0xc(%rsp),%esi
   0x00007ff150d35793 &lt;+355&gt;:	callq  0x7ff150d35380 &lt;xcb_intern_atom_reply@plt&gt;
   0x00007ff150d35798 &lt;+360&gt;:	mov    %rax,%rdi

165	in ../../startup-notification-0.12/libsn/sn-common.c
166	in ../../startup-notification-0.12/libsn/sn-common.c
167	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d3579b &lt;+363&gt;:	mov    0x8(%rax),%eax
   0x00007ff150d3579e &lt;+366&gt;:	mov    %eax,0x24(%r12)

168	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d357a3 &lt;+371&gt;:	callq  0x7ff150d35060 &lt;free@plt&gt;

169	in ../../startup-notification-0.12/libsn/sn-common.c
170	in ../../startup-notification-0.12/libsn/sn-common.c
   0x00007ff150d357a8 &lt;+376&gt;:	add    $0x18,%rsp
   0x00007ff150d357ac &lt;+380&gt;:	mov    %r12,%rax
   0x00007ff150d357af &lt;+383&gt;:	pop    %rbx
   0x00007ff150d357b0 &lt;+384&gt;:	pop    %rbp
   0x00007ff150d357b1 &lt;+385&gt;:	pop    %r12
   0x00007ff150d357b3 &lt;+387&gt;:	pop    %r13
   0x00007ff150d357b5 &lt;+389&gt;:	pop    %r14
   0x00007ff150d357b7 &lt;+391&gt;:	pop    %r15
   0x00007ff150d357b9 &lt;+393&gt;:	retq   
   0x00007ff150d357ba:	nopw   0x0(%rax,%rax,1)

End of assembler dump.

(where I corrected for the differing load address)

so it was likely from sn_xcb_display_new + 268 in section .text of /usr/lib/libstartup-notification-1.so.0 which is 
https://cgit.freedesktop.org/startup-notification/tree/libsn/sn-common.c#n146</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87288</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-05-21 07:45:24 +0000</bug_when>
    <thetext>In 165 tests, this only happened once but three have been other cases in the YP AB. Add debug code in case it happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87315</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-22 09:02:11 +0000</bug_when>
    <thetext>Failure from qa-extras2 step 5c this time:

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/1963</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87316</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-22 09:02:33 +0000</bug_when>
    <thetext>Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/runtime/cases/parselogs.py&quot;, line 375, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /home/pokybuild/yocto-worker/qa-extras2/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/target_logs/dmesg_output.log
-----------------------
Central error: [    8.089153] matchbox-window[231]: segfault at 8 ip 00007f6e2896073c sp 00007ffef993a0a0 error 4 in libstartup-notification-1.so.0.0.0[7f6e28960000+4000]
***********************
[    5.692134] systemd[1]: Started udev Kernel Device Manager.
[    5.710011] systemd[1]: Finished udev Coldplug all Devices.
[    5.740845] systemd[1]: Finished Load/Save Random Seed.
[    6.220586] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[    6.230456] systemd[1]: Finished Rebuild Dynamic Linker Cache.
[    6.241901] systemd[1]: Started Journal Service.
[    6.254118] systemd-journald[137]: Received client request to flush runtime journal.
[    7.997486] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[    7.999978] NFSD: Using legacy client tracking operations.
[    8.005390] NFSD: starting 90-second grace period (net f0000098)
[    8.089153] matchbox-window[231]: segfault at 8 ip 00007f6e2896073c sp 00007ffef993a0a0 error 4 in libstartup-notification-1.so.0.0.0[7f6e28960000+4000]
[    8.089164] Code: ee 48 89 df e8 e5 fa ff ff 48 83 c5 01 41 39 6c 24 50 49 89 45 00 7f de 49 8b 7c 24 10 44 89 fe 31 d2 e8 47 fc ff ff 48 89 c7 &lt;8b&gt; 40 08 41 89 44 24 20 e8 17 f9 ff ff 49 8b 7c 24 10 44 89 f6 31

***********************
1 errors found in logs.

Stdout:
Machine information: 
*******************************
Machine name: qemux86-64
CPU:  Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
Arch: x86_64
Physical cores: 1
Logical cores: 1
*******************************</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87428</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-04 23:31:34 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/101/builds/892</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87566</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-06-24 08:36:50 +0000</bug_when>
    <thetext>startup-notification hasn&apos;t seen any commits since 2014:
https://cgit.freedesktop.org/startup-notification/log/
and is implementing notifications over X protocol between X clients.

Which begs the question: should we take the easy way out and just disable it in oe-core, specifically matchbox? It&apos;s all obsolete technology.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87568</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-06-24 09:43:42 +0000</bug_when>
    <thetext>startup-notification is only obsolete if you consider X obsolete. The protocol is &apos;done&apos; but it&apos;s a key part of X desktops, its just that mutter/kde don&apos;t use libstartupnotification directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87573</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-24 11:51:42 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/2095/steps/8/logs/step5c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87627</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-26 04:43:03 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/2102/steps/8/logs/step7c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87651</commentid>
    <comment_count>9</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-06-28 02:50:18 +0000</bug_when>
    <thetext>Seems like the error only occurs when systemd is in use? So far all error logs I have seen are either qa-extras2 steps 5/7 or altcfg builds. 

I have read through the code, and:
a) startup notification does not handle errors, and instead proceed directly to accessing a struct member ---&gt; crash (boo!):

  atom_reply = xcb_intern_atom_reply(display-&gt;xconnection,
                                     atom_utf8_string_c,
                                     NULL);
  display-&gt;UTF8_STRING = atom_reply-&gt;atom;
  free(atom_reply);

(atom_reply can be NULL!)


b) the only way the error can happen where it does is if the X server can&apos;t allocate memory. I suspect that because systemd starts everything at once, there is a brief situation where memory is exhausted.

How about bumping RAM again for core-image-sato, and observing for a while if the problem wont appear anymore?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87653</commentid>
    <comment_count>10</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-06-28 08:11:05 +0000</bug_when>
    <thetext>Patch to aid debugging:
https://lists.openembedded.org/g/openembedded-core/message/140067</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87654</commentid>
    <comment_count>11</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-06-28 08:50:33 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/2108 is most recent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87661</commentid>
    <comment_count>12</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-06-29 06:28:32 +0000</bug_when>
    <thetext>Alex and I both tried some debugging of this over the weekend. Alex ran 10 builds with 512MB ram and 10 builds with 1024MB whilst there was a master-next build running on the autobuilder. We saw no failures in either set.

I also tried running 6 qemu images (mixtures of core-image-sato and core-image-sato-sdk) booted locally, either unbound, or all pinned to a single cpu core whilst a world build of OE-Core was in progress, including a webkit build. No reproduction of the failure either (I have seen it locally once).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87822</commentid>
    <comment_count>13</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-07-22 14:40:52 +0000</bug_when>
    <thetext>Merged http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=27f59b5138d734aa466d7465f9438cd93e9ba861 on the offchance it might help. Debug patch from Alex has been in master-next for a while but has never reproduced with that present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87929</commentid>
    <comment_count>14</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-08-13 08:09:20 +0000</bug_when>
    <thetext>Closing as this has stopped happening.  Might be a weird 32/64 bit issue in time_t, might have been a bug in another piece of the stack that has been since fixed.

Will reopen if happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92131</commentid>
    <comment_count>15</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-12-09 15:47:37 +0000</bug_when>
    <thetext>Happening again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92133</commentid>
    <comment_count>16</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-12-09 15:48:07 +0000</bug_when>
    <thetext>*** Bug 14647 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93068</commentid>
    <comment_count>17</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-04-14 15:07:07 +0000</bug_when>
    <thetext>Ross, Moar logging?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95439</commentid>
    <comment_count>18</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-04-21 18:45:46 +0000</bug_when>
    <thetext>Moved en masse from 4.2 to 4.3 by Randy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97484</commentid>
    <comment_count>19</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2023-12-10 22:08:19 +0000</bug_when>
    <thetext>dunfell

https://autobuilder.yoctoproject.org/typhoon/#/builders/109/builds/7103/steps/14/logs/stdio

qemux86-64-alt fedora38-ty-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98943</commentid>
    <comment_count>20</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-04-30 13:02:52 +0000</bug_when>
    <thetext>Have we seen this recently?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100854</commentid>
    <comment_count>21</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-02-06 14:58:32 +0000</bug_when>
    <thetext>qemux86-64-alt ubuntu2204-vk-2 mathieu/master-next completed at 2025-02-04T08:31:17Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/912/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100930</commentid>
    <comment_count>22</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-13 15:36:24 +0000</bug_when>
    <thetext>*** Bug 15741 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100932</commentid>
    <comment_count>23</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-02-13 15:38:47 +0000</bug_when>
    <thetext>qemux86-alt opensuse155-vk-1 mathieu/master-next completed at 2025-02-13T10:31:34Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/978/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101569</commentid>
    <comment_count>24</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-04-07 07:13:49 +0000</bug_when>
    <thetext>qa-extras2 debian12-vk-3 master completed at 2025-04-04T02:19:47Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/1314/steps/23/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101980</commentid>
    <comment_count>25</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-05-16 12:32:04 +0000</bug_when>
    <thetext>qemux86-64-alt debian11-vk-2 master-next completed at 2025-05-14T16:27:29Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/1586/steps/14/logs/stdio

Two failures so close in time: this seems a bit strange, maybe these are related
to the content of the master-next branch.

qemux86-64-alt debian12-vk-9 master-next completed at 2025-05-14T21:13:39Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/1589/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102110</commentid>
    <comment_count>26</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-06-02 13:59:32 +0000</bug_when>
    <thetext>qemux86-alt opensuse156-vk-1 master-next completed at 2025-06-02T08:01:48Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/1716/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102666</commentid>
    <comment_count>27</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-08-27 14:19:11 +0000</bug_when>
    <thetext>qemux86-alt debian12-vk-5 mathieu/master-next completed at 2025-08-27 08:46:59+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/2254/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102853</commentid>
    <comment_count>28</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-09-30 08:46:27 +0000</bug_when>
    <thetext>qemux86-alt ubuntu2504-vk-1 mathieu/master-next completed at 2025-09-29 17:14:50+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/2447/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103235</commentid>
    <comment_count>29</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-11-10 09:01:05 +0000</bug_when>
    <thetext>qa-extras2 ubuntu2404-vk-2 master-next completed at 2025-11-03 12:37:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/2654/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103651</commentid>
    <comment_count>30</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-29 09:11:50 +0000</bug_when>
    <thetext>qa-extras2 debian12-vk-4 master completed at 2025-12-26 01:34:28+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/2914/steps/30/logs/stdio

qemux86-alt debian12-vk-4 mathieu/master-next completed at 2025-12-26 17:01:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/2901/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103752</commentid>
    <comment_count>31</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-01-08 08:08:25 +0000</bug_when>
    <thetext>qa-extras2 debian12-vk-5 stable/2.16-nut&amp;stable/whinlatter-nut&amp;whinlatter-next completed at 2026-01-08 07:02:27+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/2973/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103781</commentid>
    <comment_count>32</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-01-09 09:12:25 +0000</bug_when>
    <thetext>qemux86-64-alt rocky9-vk-2 mathieu/master-next completed at 2026-01-08 18:34:36+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/2957/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103885</commentid>
    <comment_count>33</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-01-14 16:41:02 +0000</bug_when>
    <thetext>Definitely notable that the failures are all in -altcfg builds (systemd) or systemd-using builds in qa-extras.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104061</commentid>
    <comment_count>34</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-01-23 14:09:32 +0000</bug_when>
    <thetext>Some hunches:

There&apos;s long-standing time_t problems in libstartup-notification where it&apos;s possible that some client code is using a 32-bit int and chaos follows.  See:
- https://gitlab.freedesktop.org/xdg/startup-notification/-/merge_requests/1
- https://gitlab.freedesktop.org/xdg/startup-notification/-/issues/6

That doesn&apos;t explain why it&apos;s only seen on systemd builds. I wondered if the recent race/dependency fix (https://lore.kernel.org/openembedded-core/20251129040503.3958950-3-Qi.Chen@windriver.com/) was related, but we&apos;ve had reports of this problem after that merged so that isn&apos;t the fix.

I do wonder if the problem is that the X server restarts on some boots and the clients are no handling that gracefully. Obviously in this case, stopping it restarting is the answer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104576</commentid>
    <comment_count>35</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-03-11 14:15:48 +0000</bug_when>
    <thetext>qa-extras2 fedora42-vk-1 mathieu/master-next completed at 2026-03-10 16:39:19+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/3310/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104980</commentid>
    <comment_count>36</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-08 07:35:20 +0000</bug_when>
    <thetext>qemux86-64-alt ubuntu2404-vk-2 mathieu/master-next completed at 2026-04-07 15:22:20+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/3503/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105036</commentid>
    <comment_count>37</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-10 07:10:25 +0000</bug_when>
    <thetext>qemux86-64-alt ubuntu2404-vk-3 mathieu/master-next completed at 2026-04-09 12:11:42+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/3514/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106163</commentid>
    <comment_count>38</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-13 08:11:11 +0000</bug_when>
    <thetext>qemux86-alt ubuntu2404-vk-3 master completed at 2026-07-12 01:16:25+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4069/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106165</commentid>
    <comment_count>39</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-07-13 15:18:28 +0000</bug_when>
    <thetext>Potentially interesting/related: matchbox-panel crashing in libstartup-notification.

https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4069</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106270</commentid>
    <comment_count>40</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-22 15:09:01 +0000</bug_when>
    <thetext>qa-extras2 debian13-vk-1 master-next completed at 2026-07-21 23:48:50+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/4146/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106284</commentid>
    <comment_count>41</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-23 08:59:42 +0000</bug_when>
    <thetext>qemux86-alt rocky9-vk-2 mathieu/master-next completed at 2026-07-23 03:10:46+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4134/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106340</commentid>
    <comment_count>42</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-07-26 21:22:23 +0000</bug_when>
    <thetext>I have a lead, one of Ross&apos; theories is looking correct and I have evidence.

Whilst https://valkyrie.yocto.io/pub/non-release/20260726-112/artefacts/qemux86-alt/oeqa-target-artefacts-20260726-0kkx0pfa/tests_artifacts.tar.gz doesn&apos;t contain any coredump/stacktrace, It does contain both an Xorg.log and an Xorg.log.old.

Xorg.log.old spans 4.116 -&gt; 4.561s and ends with:

[     4.559] (II) UnloadModule: &quot;libinput&quot;
[     4.560] (II) UnloadModule: &quot;libinput&quot;
[     4.561] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[     4.561] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[     4.561] (WW) xf86OpenConsole: VT_GETSTATE failed: Input/output error
[     4.561] (II) Server terminated successfully (0). Closing log file.

and then Xorg.log starts at  4.947s.

Looksing at the failed build:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4163

8[    4.790969] matchbox-panel[355]: segfault at 8 ip b56237d2 sp bfc46880 error 4 in libstartup-notification-1.so.0.0.0[37d2,b5623000+5000] likely on CPU 1 (core 1, socket 0)
[    4.797202] Code: 08 55 83 c5 01 ff 74 24 10 e8 0a fa ff ff 83 c4 10 39 6e 30 89 07 7f e0 8b 6c 24 10 83 ec 04 6a 00 55 ff 76 08 e8 9e fb ff ff &lt;8b&gt; 50 08 89 56 10 89 04 24 e8 10 f9 ff ff 83 c4 0c 6a 00 ff 74 24

i.e. the crash is neatly between xserver restarts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106349</commentid>
    <comment_count>43</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-27 11:33:53 +0000</bug_when>
    <thetext>qemux86-alt ubuntu2510-vk-1 master&amp;master-next completed at 2026-07-26 18:45:46+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4163/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106351</commentid>
    <comment_count>44</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-07-27 15:22:26 +0000</bug_when>
    <thetext>qa-extras2 debian12-vk-6 wrynose completed at 2026-07-27 13:16:29+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/4188</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106559</commentid>
    <comment_count>45</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-19 07:53:20 +0000</bug_when>
    <thetext>qemux86-alt debian12-vk-7 master&amp;master-next completed at 2026-08-18 13:41:27+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4359/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106611</commentid>
    <comment_count>46</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-21 05:17:23 +0000</bug_when>
    <thetext>qemux86-alt debian12-vk-7 mathieu/master-next completed at 2026-08-20 18:41:50+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4383/steps/16/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106689</commentid>
    <comment_count>47</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-31 10:23:57 +0000</bug_when>
    <thetext>qemux86-alt ubuntu2204-vk-1 master-next&amp;master completed at 2026-08-30 08:53:13+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4466/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106951</commentid>
    <comment_count>48</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-09-28 11:53:13 +0000</bug_when>
    <thetext>qemux86-alt debian12-vk-5 master completed at 2026-09-25 02:05:43+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4647/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107110</commentid>
    <comment_count>49</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-19 07:36:04 +0000</bug_when>
    <thetext>qa-extras2 debian13-vk-2 mathieu/master-next completed at 2026-10-18 14:09:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/4808/steps/26/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107187</commentid>
    <comment_count>50</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-10-26 15:17:35 +0000</bug_when>
    <thetext>It looks like xserver typically restarts during boot, I suspect the crash is when some bits of the X session have started already and don&apos;t handle the xserver disappearing.

Unsetting SPLASH, to remove psplash, appears to remove the restart. This suggests a problem with the handoff from psplash to xserver.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>