FS#45343 - [systemd] Upgrade to 220 caused segfault in (unrelated?) 3rd party app
Attached to Project:
Arch Linux
Opened by Ng Oon-Ee (ngoonee) - Tuesday, 16 June 2015, 04:32 GMT
Last edited by Dave Reisner (falconindy) - Friday, 19 June 2015, 18:59 GMT
Opened by Ng Oon-Ee (ngoonee) - Tuesday, 16 June 2015, 04:32 GMT
Last edited by Dave Reisner (falconindy) - Friday, 19 June 2015, 18:59 GMT
|
Details
Description:
After upgrade of systemd, libsystemd, and systemd-sysvcompat from 219-6 to 220-5, I get segfaults in openni2, a library used to access 3D USB cameras (Asus Xtion Pro Live in my case). I first observed this in my own project which links openni2, then found the same to occur with SimpleViewer, an executable provided with openni2 to test basic functionality. Recompiling openni2 does not change behaviour, which is to be expected as it should not be linking to systemd in any way. I had previously asked about this on [arch-general][1]. I understand the affected app is not in the repos, but the problem occurs due to update of systemd, and I don't know enough to track down what causes this, or even make a proper bug report to the openni2 bug tracker. Additional info: * package version(s) systemd-220-5, libsystemd-220-5, systemd-sysvcompat-220-5 * config and/or log files etc. none Steps to reproduce: Simply upgrade to the version mentioned and run the SimpleViewer binary in openni2 (from the AUR[2]. [1] - https://lists.archlinux.org/pipermail/arch-general/2015-June/039336.html [2] - https://aur.archlinux.org/packages/openni2/ |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 19 June 2015, 18:59 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 221
Friday, 19 June 2015, 18:59 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 221
According to an OpenNI2 README I found, the library links to libudev which is part of systemd.
From the systemd-220 changelog:
"A new (currently still internal) API sd-device.h has been added to libsystemd. This modernized API is supposed to replace libudev eventually. In fact, already much of libudev is now just a wrapper around sd-device.h."
Maybe something broke in the process.
c32eb440bab953a0169cd207dfef5cad16dfb340 is the first bad commit
commit c32eb440bab953a0169cd207dfef5cad16dfb340
Author: Tom Gundersen <teg@jklm.no>
Date: Tue Apr 14 16:25:06 2015 +0200
libudev: make libudev-enumerate a thin wrapper around sd-device
:100644 100644 837fd36381315029171562b344dca8620528d327 68d8252b84c13591cf8e0b0e15a99780f5dd0309 M Makefile.am
:040000 040000 c54e32bc21e34cc28693fbf653c4128a0383d3d7 11e1eeec94338e9294e25e720007c35f229d24cf M src
Trace.log - https://www.dropbox.com/s/ngpjjer3g6vamrn/trace.log?dl=0
Does this mean I'm running the latest git commit? Not sure how version numbering works for systemd, but if they follow convention I guess this would mean I'm still on 220 (as 221 is not out yet) but tracking commit gdde8bb3.
Tangentially, the systemd-git PKGBUILD I got from doing this is miles better (in my opinion) than the cruft currently masquerading as systemd-git (which draws from a different git repo even) in AUR3, thanks the the official PKGBUILD already pulling directly from git anyway. Will re-look at that when AUR4 fully takes over.