Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cupsd crashes when spawning "/usr/lib/cups/notifier/dbus dbus:// ''" via cups-exec #5127

Closed
tillkamppeter opened this issue Sep 27, 2017 · 4 comments
Assignees
Labels
third-party This issue is in a third-party component unable-to-reproduce Unable to reproduce

Comments

@tillkamppeter
Copy link

tillkamppeter commented Sep 27, 2017

The following bug got reported to Ubuntu:
Bug 1719004: cupsd assert failure: cupsd: ../sysdeps/unix/sysv/linux/spawni.c:368: __spawnix: Assertion 'ec >= 0' failed.
Looking into the stack trace attached to the report one can see that the command
/usr/lib/cups/notifier/dbus dbus:// ''
was called by CUPS through the cups-exec helper, via the cupsdStartProcess() function with infd=14, outfd=-1, errfd=13, backfd=-1, sidefd=-1, root=0, profile=0x0, job=0x0, and correctly looking argv and envp string arrays. This leads to an assertion failure in some posux_spawn function (see stack trace).

@michaelrsweet
Copy link
Collaborator

@tillkamppeter The bug link isn't working for me...

Nothing immediately looks wrong in the stack trace. Seeing if I can find the glibc sources...

@michaelrsweet michaelrsweet self-assigned this Sep 27, 2017
@michaelrsweet michaelrsweet added the third-party This issue is in a third-party component label Sep 27, 2017
@michaelrsweet
Copy link
Collaborator

OK, looking at the glibc code, the only way we hit this assert is if args.err is not getting set by the child process. But I can't see how that would happen since __spawni_child always sets a value 0 or errno.

Right now this doesn't look like us...

@fweimer
Copy link

fweimer commented Oct 9, 2017

I filed a glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22273

However, I do not know if this bug is the root cause of the issue reported here.

@michaelrsweet
Copy link
Collaborator

Well, unless you can find more information that points to a problem in cupsd, there isn't anything we can do here... Closing for now, but we can always re-open if new information is available...

@michaelrsweet michaelrsweet added the unable-to-reproduce Unable to reproduce label Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third-party This issue is in a third-party component unable-to-reproduce Unable to reproduce
Projects
None yet
Development

No branches or pull requests

3 participants