Version-Release number of selected component: cjdns-20.2-6.fc30 Additional info: reporter: libreport-2.10.0 backtrace_rating: 4 cmdline: /usr/sbin/cjdroute --nobg crash_function: Except__throw executable: /usr/sbin/cjdroute journald_cursor: s=bf040accd27b466196734b066ee0b43a;i=b2ff1;b=85c24c0d8c32497e937b3b6e93de217c;m=2936507d6;t=58748b066a6aa;x=dcc3baabd1e63da8 kernel: 5.0.9-300.fc30.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 0 Truncated backtrace: Thread no. 1 (1 frames) #2 Except__throw at exception/Except.c:48
Created attachment 1558323 [details] File: backtrace
Created attachment 1558324 [details] File: cgroup
Created attachment 1558325 [details] File: core_backtrace
Created attachment 1558326 [details] File: cpuinfo
Created attachment 1558327 [details] File: dso_list
Created attachment 1558328 [details] File: environ
Created attachment 1558329 [details] File: limits
Created attachment 1558330 [details] File: maps
Created attachment 1558331 [details] File: mountinfo
Created attachment 1558332 [details] File: open_fds
Created attachment 1558333 [details] File: proc_pid_status
I got this 3 days ago in a VM, but haven't seen it since updating. I see you have the latest kernel - is everything else updated?
Yes. I'll check if it happens again.
(In reply to Stuart D Gathman from comment #12) > I got this 3 days ago in a VM, but haven't seen it since updating. I see > you have the latest kernel - is everything else updated? It does still happen.
Ok, I updated a system from f28 -> f30, and then I get an abort. When running cjdroute as root: /usr/sbin/cjdroute --nobg </etc/cjdroute.conf I get: Can't have writable permission to pipe directory. So some permissions are screwed up. I'm not sure how I will change the package yet, but to get it working I added "pipe":"/var/run" to /etc/cjdroute.conf Now cjdroute will run with setenforce 0. To fix the selinux policy, I added this custom policy: module mycjdns 1.0; require { type cjdns_t; type var_run_t; class dir { add_name remove_name write }; class sock_file { create write }; } #============= cjdns_t ============== allow cjdns_t var_run_t:dir { add_name write remove_name }; allow cjdns_t var_run_t:sock_file { create write }; The existing policy has: allow cjdns_t tmp_t:sock_file { write create unlink }; I think making the default pipe dir /var/run is the correct fix. I have no idea why the access check works on some f30 systems.
Strangely, it seems the default pipe dir was *not* "/tmp". Scratch the above, add "pipe":"/tmp" (even though that *should* be the default) to /etc/cjdroute.conf and see if that fixes your problem. (No need for the selinux module)
After more debugging, the problem is that f30 introduces new levels of optimization with gcc-9.0 (up from gcc-8.3 in f29). And with that comes new bugs from code that is undefined in strict C language interpretation. The problem is indeed that the String constant for the default pipe dir is optimized away before it is used (legally, since it is created in parens). So the directory name is garbage. The correct workaround is simply to explicitly define "pipe":"/tmp" in /etc/cjdroute.conf
cjdns-20.2-7.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3c7d3c2723
cjdns-20.2-7.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3c7d3c2723
cjdns-20.3-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-323ad7f0a2
cjdns-20.3-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-323ad7f0a2
cjdns-20.3-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.