Bug 101331

Summary: colord-sane 1.3.5 crashes at startup
Product: colord Reporter: darkbasic <darkbasic>
Component: libcolordAssignee: Richard Hughes <richard>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: dump.txt

Description darkbasic 2017-06-07 15:58:34 UTC
Created attachment 131779 [details]
dump.txt

Every time I start my system colord-sane 1.3.5 crashes. I attached a dump. I can compile colord with more debugging options if needed.

$ sudo journalctl -b 0 -u colord.service
Journal file /var/log/journal/758b0cbe779343d9a65bf57ac101974d/user-1000@00054f1b0037218a-cfb5fd2a384a1cb7.journal~ is truncated, ignoring file.
-- Logs begin at Sun 2016-12-18 23:57:54 CET, end at Wed 2017-06-07 17:46:12 CEST. --
giu 07 17:33:22 arch-laptop systemd[1]: Starting Manage, Install and Generate Color Profiles...
giu 07 17:33:22 arch-laptop colord[881]: CdMain: failed to emit DeviceAdded: failed to register object: An object is already exported for the interface org.freedesktop.ColorManager.Device at /org/freedesktop/ColorManager/devices/sysfs__null_
giu 07 17:33:22 arch-laptop colord[881]: failed to get session [pid 734]: No such device or address
giu 07 17:33:22 arch-laptop colord[881]: failed to get session [pid 734]: No such device or address
giu 07 17:33:22 arch-laptop colord[881]: failed to get session [pid 734]: No such device or address
giu 07 17:33:22 arch-laptop colord[881]: failed to get session [pid 734]: No such device or address
giu 07 17:33:25 arch-laptop systemd[1]: Started Manage, Install and Generate Color Profiles.
giu 07 17:33:27 arch-laptop colord[881]: GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.






giu 07 17:33:26 arch-laptop sddm[893]: Greeter session started successfully
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: Reading from "/usr/share/xsessions/plasma.desktop"
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: Connected to the daemon.
giu 07 17:33:27 arch-laptop sddm[893]: Message received from greeter: Connect
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
giu 07 17:33:27 arch-laptop colord[881]: GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.
giu 07 17:33:27 arch-laptop systemd[1]: Created slice system-systemd\x2dcoredump.slice.
giu 07 17:33:27 arch-laptop systemd[1]: Started Process Core Dump (PID 1031/UID 0).
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is SDDM::GreeterApp(0x7ffd81d44ee0), parent's thread is QThread(0xb184c0), current thread is QThread(0xb75160)
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is SDDM::GreeterApp(0x7ffd81d44ee0), parent's thread is QThread(0xb184c0), current thread is QThread(0xb75160)
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is SDDM::GreeterApp(0x7ffd81d44ee0), parent's thread is QThread(0xb184c0), current thread is QThread(0xb75160)
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is SDDM::GreeterApp(0x7ffd81d44ee0), parent's thread is QThread(0xb184c0), current thread is QThread(0xb75160)
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is SDDM::GreeterApp(0x7ffd81d44ee0), parent's thread is QThread(0xb184c0), current thread is QThread(0xb75160)
giu 07 17:33:27 arch-laptop systemd[1022]: Started D-Bus User Message Bus.
giu 07 17:33:27 arch-laptop systemd-coredump[1032]: Process 885 (colord-sane) of user 124 dumped core.
                                                    
                                                    Stack trace of thread 888:
                                                    #0  0x00007f11b1f41670 raise (libc.so.6)
                                                    #1  0x00007f11b1f42d00 abort (libc.so.6)
                                                    #2  0x00007f11b27b0831 n/a (libglib-2.0.so.0)
                                                    #3  0x00007f11b27b0e1a g_private_set (libglib-2.0.so.0)
                                                    #4  0x00007f11b2789485 g_slice_alloc (libglib-2.0.so.0)
                                                    #5  0x00007f11b27671a6 g_list_prepend (libglib-2.0.so.0)
                                                    #6  0x00007f11b277c661 g_queue_push_head (libglib-2.0.so.0)
                                                    #7  0x00007f11b169562d n/a (libgio-2.0.so.0)
                                                    #8  0x00007f11b1695679 n/a (libgio-2.0.so.0)
                                                    #9  0x00007f11b276b66a g_main_context_dispatch (libglib-2.0.so.0)
                                                    #10 0x00007f11b276ba20 n/a (libglib-2.0.so.0)
                                                    #11 0x00007f11b276bd42 g_main_loop_run (libglib-2.0.so.0)
                                                    #12 0x00007f11b16d6f86 n/a (libgio-2.0.so.0)
                                                    #13 0x00007f11b2793295 n/a (libglib-2.0.so.0)
                                                    #14 0x00007f11b22ba297 start_thread (libpthread.so.0)
                                                    #15 0x00007f11b1ffb25f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 885:
                                                    #0  0x00007f11b331a496 n/a (n/a)
                                                    #1  0x00007f11b331a782 n/a (n/a)
                                                    #2  0x00007f11b1f44298 __run_exit_handlers (libc.so.6)
                                                    #3  0x00007f11b1f442ea exit (libc.so.6)
                                                    #4  0x00007f11b1f2e441 __libc_start_main (libc.so.6)
                                                    #5  0x00005644c4f1f84a _start (colord-sane)
                                                    
                                                    Stack trace of thread 886:
                                                    #0  0x00007f11b1ff12bd poll (libc.so.6)
                                                    #1  0x00007f11b276b9b6 n/a (libglib-2.0.so.0)
                                                    #2  0x00007f11b276bacc g_main_context_iteration (libglib-2.0.so.0)
                                                    #3  0x00007f11b276bb11 n/a (libglib-2.0.so.0)
                                                    #4  0x00007f11b2793295 n/a (libglib-2.0.so.0)
                                                    #5  0x00007f11b22ba297 start_thread (libpthread.so.0)
                                                    #6  0x00007f11b1ffb25f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 887:
                                                    #0  0x00007f11b1ff63b9 syscall (libc.so.6)
                                                    #1  0x00007f11b27b144a g_cond_wait_until (libglib-2.0.so.0)
                                                    #2  0x00007f11b273ff49 n/a (libglib-2.0.so.0)
                                                    #3  0x00007f11b274056c g_async_queue_timeout_pop (libglib-2.0.so.0)
                                                    #4  0x00007f11b2793d5d n/a (libglib-2.0.so.0)
                                                    #5  0x00007f11b2793295 n/a (libglib-2.0.so.0)
                                                    #6  0x00007f11b22ba297 start_thread (libpthread.so.0)
                                                    #7  0x00007f11b1ffb25f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 891:
                                                    #0  0x00007f11b1ff12bd poll (libc.so.6)
                                                    #1  0x00007f11b046bd51 n/a (libusb-1.0.so.0)
                                                    #2  0x00007f11b22ba297 start_thread (libpthread.so.0)
                                                    #3  0x00007f11b1ffb25f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 1030:
                                                    #0  0x00007f11b1ff12bd poll (libc.so.6)
                                                    #1  0x00007f11b025706a n/a (libavahi-common.so.3)
                                                    #2  0x00007f11b0256bf3 avahi_simple_poll_run (libavahi-common.so.3)
                                                    #3  0x00007f11b0256dc8 avahi_simple_poll_iterate (libavahi-common.so.3)
                                                    #4  0x00007f11b0257003 avahi_simple_poll_loop (libavahi-common.so.3)
                                                    #5  0x00007f11b02570c4 n/a (libavahi-common.so.3)
                                                    #6  0x00007f11b22ba297 start_thread (libpthread.so.0)
                                                    #7  0x00007f11b1ffb25f __clone (libc.so.6)
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject: Cannot create children for a parent that is in a different thread.
                                                (Parent is SDDM::GreeterApp(0x7ffd81d44ee0), parent's thread is QThread(0xb184c0), current thread is QThread(0xb75160)
giu 07 17:33:27 arch-laptop sddm-greeter[1027]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.