Comment 5 for bug 1569292

It seems packagekitd is the problem. That process segfaults when realmd try to do the package-resolution:

Starting program: /usr/lib/packagekit/packagekitd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff4ceb700 (LWP 1292)]
[New Thread 0x7ffff44ea700 (LWP 1293)]
[New Thread 0x7ffff3ce9700 (LWP 1294)]
[New Thread 0x7ffff2431700 (LWP 1295)]
[Thread 0x7ffff2431700 (LWP 1295) exited]
[New Thread 0x7ffff2431700 (LWP 1307)]

Thread 6 "PK-Backend" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2431700 (LWP 1307)]
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007ffff65efba9 in __add_to_environ (
    name=name@entry=0x7ffff1a289ef "http_proxy", value=value@entry=0x0,
    combined=combined@entry=0x0, replace=replace@entry=1) at setenv.c:131
#2 0x00007ffff65efcca in __setenv (
    name=name@entry=0x7ffff1a289ef "http_proxy", value=value@entry=0x0,
    replace=replace@entry=1) at setenv.c:259
#3 0x00007ffff1a175cf in AptIntf::init (this=this@entry=0x55555585b070)
    at apt-intf.cpp:94
#4 0x00007ffff1a24c00 in pk_backend_resolve_thread (job=<optimized out>,
    params=<optimized out>, user_data=<optimized out>)
    at pk-backend-aptcc.cpp:685
#5 0x000055555556e419 in pk_backend_job_thread_setup (
    thread_data=0x555555859df0) at pk-backend-job.c:792
#6 0x00007ffff6c0cb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff69866fa in start_thread (arg=0x7ffff2431700)
    at pthread_create.c:333
#8 0x00007ffff66bcb5d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)