{"id":141,"date":"2026-09-20T09:52:39","date_gmt":"2026-09-20T01:52:39","guid":{"rendered":"https:\/\/gd.patchouli-go.cn\/?p=141"},"modified":"2026-09-20T09:52:39","modified_gmt":"2026-09-20T01:52:39","slug":"ubuntu-%e4%b8%8b-atrusttray2-%e5%8f%8d%e5%a4%8d%e5%b4%a9%e6%ba%83%e5%af%bc%e8%87%b4-apport-%e5%8d%a0%e7%94%a8-cpu","status":"publish","type":"post","link":"https:\/\/gd.patchouli-go.cn\/?p=141","title":{"rendered":"Ubuntu \u4e0b aTrustTray2 \u53cd\u590d\u5d29\u6e83\u5bfc\u81f4 apport \u5360\u7528 CPU"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6700\u8fd1\u5728 Ubuntu \u4e0a\u8fd0\u884c\u6df1\u4fe1\u670d aTrust \u65f6\uff0c\u53d1\u73b0 <code>apport<\/code> \u8fdb\u7a0b\u4f1a\u4e0d\u5b9a\u671f\u5360\u7528\u8f83\u9ad8 CPU\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u5f00\u59cb\u67e5\u770b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps -ef | grep -E &#039;apport|aTrust&#039;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d1\u73b0 <code>apport<\/code> \u662f\u56e0\u4e3a <code>aTrustTray2<\/code> \u5d29\u6e83\u540e\u88ab\u7cfb\u7edf\u62c9\u8d77\uff0c\u4e14 <code>aTrustTray2<\/code> \u7684 PID \u4e00\u76f4\u53d8\u5316\uff0c\u8bf4\u660e\u5b83\u5728\u53cd\u590d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u542f\u52a8 \u2192 \u5d29\u6e83 \u2192 \u88ab\u91cd\u65b0\u62c9\u8d77<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5d29\u6e83\u4fe1\u53f7\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SIGABRT<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u4e00\u6b65\u624b\u52a8\u8fd0\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>QT_DEBUG_PLUGINS=1 \\\n\/usr\/share\/sangfor\/aTrust\/resources\/bin\/aTrustTray2 -l zh-CN<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d1\u73b0\u62a5\u9519\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>This application failed to start because it could not find or load the Qt platform plugin &quot;xcb&quot;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ee7\u7eed\u68c0\u67e5\u53d1\u73b0\uff0caTrust \u81ea\u5df1\u5176\u5b9e\u5df2\u7ecf\u5e26\u4e86 <code>libqxcb.so<\/code>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>find \/usr\/share\/sangfor\/aTrust -name &#039;libqxcb.so&#039;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u679c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/share\/sangfor\/aTrust\/resources\/lib\/libqxcb.so<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46 <code>aTrustTray2<\/code> \u9ed8\u8ba4\u641c\u7d22\u7684\u8def\u5f84\u5374\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/share\/sangfor\/aTrust\/resources\/bin\/platforms<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u800c\u8fd9\u4e2a\u76ee\u5f55\u4e0d\u5b58\u5728\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7ec8\u901a\u8fc7\u521b\u5efa\u76ee\u5f55\u5e76\u6dfb\u52a0\u8f6f\u94fe\u63a5\u89e3\u51b3\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p \/usr\/share\/sangfor\/aTrust\/resources\/bin\/platforms\n\nsudo ln -s \\\n\/usr\/share\/sangfor\/aTrust\/resources\/lib\/libqxcb.so \\\n\/usr\/share\/sangfor\/aTrust\/resources\/bin\/platforms\/libqxcb.so<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u590d\u540e\uff0c<code>aTrustTray2<\/code> \u4e0d\u518d\u53cd\u590d\u5d29\u6e83\uff0c<code>apport<\/code> \u4e5f\u4e0d\u518d\u6301\u7eed\u5360\u7528 CPU\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u95ee\u9898\u672c\u8d28\u4e0a\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>aTrust \u81ea\u5e26 Qt xcb \u63d2\u4ef6\n\u2193\n\u63d2\u4ef6\u5b9e\u9645\u4f4d\u4e8e resources\/lib\n\u2193\n\u7a0b\u5e8f\u5374\u53ea\u641c\u7d22 resources\/bin\/platforms\n\u2193\n\u627e\u4e0d\u5230\u63d2\u4ef6\u540e SIGABRT\n\u2193\napport \u4e0d\u65ad\u5904\u7406\u5d29\u6e83<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4ee5\u540e\u5347\u7ea7\u6216\u91cd\u88c5 aTrust \u540e\u95ee\u9898\u518d\u6b21\u51fa\u73b0\uff0c\u53ef\u4ee5\u4f18\u5148\u68c0\u67e5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -l \/usr\/share\/sangfor\/aTrust\/resources\/bin\/platforms\/libqxcb.so<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u8fd9\u4e2a\u8f6f\u94fe\u63a5\u662f\u5426\u8fd8\u5b58\u5728\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5728 Ubuntu \u4e0a\u8fd0\u884c\u6df1\u4fe1\u670d aTrust \u65f6\uff0c\u53d1\u73b0 apport \u8fdb\u7a0b\u4f1a\u4e0d\u5b9a\u671f\u5360\u7528\u8f83\u9ad8 CPU\u3002 \u4e00\u5f00 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":1,"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gd.patchouli-go.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}