colord crashed with SIGSEGV in dbus_message_get_reply_serial()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
colord-gtk (Ubuntu) |
Fix Released
|
Medium
|
Chris Halse Rogers | ||
Precise |
Fix Released
|
Undecided
|
Chris Halse Rogers | ||
Quantal |
Fix Released
|
Medium
|
Chris Halse Rogers |
Bug Description
[Impact]
This causes frequent crashes of the colord daemon for some users. For most users, the visible result of this will be an apport popup. For users who have calibrated their monitors, this will unset the calibration, causing the screen colours to change.
[Test Case]
I'm not able to reproduce this myself. However, this crash (and crashes like it) are pretty much *all* of the colord crash reports for 0.1.16-2 on errors.ubuntu.com.
This should cook in -proposed until we're reasonably certain that these crashes no longer show up there.
[Regression Potential]
Low. The upload adds a single call to dbus_threads_
There is no explicit synchronisation between the dbus-using threads, so deadlocks are unlikely.
The colord daemon is run as an unprivileged user, so even in the incredibly unlikely event that this opens a security hole it's a limited threat.
[Development release]
This code is split out of the colord daemon in the development release; the same fix applies to colord-sane, however, and will be uploaded shortly.
[Original report]
crashes at startup
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: colord 0.1.11-1ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-10-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed Sep 7 14:06:00 2011
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110829.2)
ProcCmdline: /usr/lib/
ProcEnviron:
SegvAnalysis:
Segfault happened at: 0x7f15e33888a5: mov (%r12,%rdx,1),%edx
PC (0x7f15e33888a5) ok
source "(%r12,%rdx,1)" (0x0000017a) not located in a known VMA region (needed readable region)!
destination "%edx" ok
Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: colord
StacktraceTop:
?? () from /lib/x86_
?? () from /lib/x86_
dbus_message_
?? () from /lib/x86_
?? () from /lib/x86_
Title: colord crashed with SIGSEGV in dbus_message_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: scanner
Changed in colord (Ubuntu): | |
status: | New → Confirmed |
tags: | added: bugpattern-needed |
visibility: | private → public |
tags: | added: precise |
tags: | added: quantal |
tags: | added: qa-manual-testing |
tags: | added: rls-q-incoming |
Changed in colord (Ubuntu Quantal): | |
importance: | Medium → High |
tags: | removed: rls-q-incoming |
affects: | avahi (Ubuntu Precise) → colord (Ubuntu Precise) |
Changed in colord (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in colord (Ubuntu Precise): | |
status: | New → Confirmed |
description: | updated |
Changed in colord (Ubuntu Quantal): | |
importance: | High → Medium |
milestone: | none → ubuntu-12.10 |
Changed in colord (Ubuntu Precise): | |
assignee: | nobody → Chris Halse Rogers (raof) |
affects: | colord (Ubuntu) → colord-gtk (Ubuntu) |
StacktraceTop: marshal_ read_basic (str=0xa8e068, pos=0, type=117, value=0x7f15d48 17b3c, byte_order=232, new_pos=0x0) at ../../dbus/ dbus-marshal- basic.c: 549 header_ get_field_ basic (header=0xa8e068, field=<optimized out>, type=<optimized out>, value=<optimized out>) at ../../dbus/ dbus-marshal- header. c:1342 get_reply_ serial (message=<optimized out>) at ../../dbus/ dbus-message. c:1031 connection_ queue_received_ message_ link (connection= 0xa8e210, link=0xa91138) at ../../dbus/ dbus-connection .c:487 transport_ queue_messages (transport= 0xa8db20) at ../../dbus/ dbus-transport. c:1148
_dbus_
_dbus_
dbus_message_
_dbus_
_dbus_