(zorp:3155): GLib-CRITICAL **: source_remove_from_context: assertion 'source_list != NULL' failed
266	  z_stream_watch_finalize(self->stream, s);
(gdb) bt
#0  z_stream_source_finalize (s=0x7fffe000ea90) at stream.cc:266
#1  0x00007ffff742d272 in g_source_unref_internal (source=0x7fffe000ea90, context=0x61ae20, have_lock=0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:1989
#2  0x00007ffff7713693 in z_stream_detach_source_method (self=0x7fffe000f480) at stream.cc:1049
#3  0x00007ffff7711f23 in z_stream_detach_source (self=0x7fffe000f480) at ./zorp/stream.h:403
#4  0x00007ffff77136c3 in z_stream_detach_source_method (self=0x7fffe000ff20) at stream.cc:1055
#5  0x00007ffff7b71e6b in z_stream_detach_source (self=0x7fffe000ff20) at /home/dexter/zwa/projects/zorpproduct-6.0/install/include/zorp/stream.h:403
#6  0x00007ffff7b75160 in z_stacked_proxy_destroy (self=0x7fffe000bb30) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/lib/proxystack.cc:1101
#7  0x00007ffff035c4e0 in z_transfer2_free_method (s=0x7fffe000eb00) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/libproxy/transfer2.cc:1024
#8  0x00007ffff05770da in http_transfer_free_method (s=0x7fffe000eb00) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/modules/http/httpfltr.cc:1154
#9  0x00007ffff05740e3 in z_object_unref (self=0x7fffe000eb00) at /home/dexter/zwa/projects/zorpproduct-6.0/install/include/zorp/zobject.h:166
#10 0x00007ffff0577534 in http_data_transfer (self=0x94c210, transfer_type=0, from=EP_SERVER, from_stream=0x7fffe000b880, to=EP_CLIENT, to_stream=0x7fffe0009db0, expect_data=1, suppress_data=0, 
    format_preamble=0x7ffff0571e6d <http_format_response(HttpProxy*, gboolean, GString*)>) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/modules/http/httpfltr.cc:1286
#11 0x00007ffff05721fe in http_copy_response (self=0x94c210) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/modules/http/http.cc:3436
#12 0x00007ffff0573699 in http_main (s=0x94c210) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/modules/http/http.cc:3877
#13 0x00007ffff7b6d43a in z_proxy_main (self=0x94c210) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/lib/zorp/proxy.h:337
#14 0x00007ffff7b71168 in z_proxy_run (self=0x94c210) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/lib/proxy.cc:1794
#15 0x00007ffff7b711d5 in z_proxy_thread_func (s=0x94c210) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/lib/proxy.cc:1816
#16 0x00007ffff771d10b in z_thread_func_core (self=0x94d000, user_data=0x0) at thread.cc:136
#17 0x00007ffff771d1a9 in z_thread_func (st=0x94d000) at thread.cc:164
#18 0x00007ffff7454f05 in g_thread_proxy (data=0x63c0f0) at /build/buildd/glib2.0-2.40.2/./glib/gthread.c:764
#19 0x00007ffff71d1182 in start_thread (arg=0x7fffebfff700) at pthread_create.c:312
#20 0x00007ffff6efe47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) i th
  Id   Target Id         Frame 
* 5    Thread 0x7fffebfff700 (LWP 3163) "zorp" z_stream_source_finalize (s=0x7fffe000ea90) at stream.cc:266
  4    Thread 0x7ffff0f89700 (LWP 3160) "zorp" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  3    Thread 0x7ffff2d07700 (LWP 3157) "zorp" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  2    Thread 0x7ffff3ac8700 (LWP 3156) "zorp" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  1    Thread 0x7ffff7fc8780 (LWP 3155) "zorp" z_stream_source_finalize (s=0x7fffe000ea90) at stream.cc:259
(gdb) t 1
[Switching to thread 1 (Thread 0x7ffff7fc8780 (LWP 3155))]
#0  z_stream_source_finalize (s=0x7fffe000ea90) at stream.cc:259
259	  ZStreamSource *self = (ZStreamSource *) s;
(gdb) bt
#0  z_stream_source_finalize (s=0x7fffe000ea90) at stream.cc:259
#1  0x00007ffff742d272 in g_source_unref_internal (source=0x7fffe000ea90, context=0x61ae20, have_lock=have_lock@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:1989
#2  0x00007ffff742d47e in g_source_iter_next (iter=iter@entry=0x7fffffffcd10, source=source@entry=0x7fffffffcd08) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:924
#3  0x00007ffff742f9bb in g_main_context_check (context=context@entry=0x61ae20, max_priority=2147483647, fds=fds@entry=0x781e50, n_fds=n_fds@entry=5) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3555
#4  0x00007ffff742ff7b in g_main_context_iterate (context=context@entry=0x61ae20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3731
#5  0x00007ffff74300ec in g_main_context_iteration (context=0x61ae20, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#6  0x00007ffff7b7b6ed in z_main_loop (policy_file=0x404258 "/home/dexter/zwa/projects/zorpproduct-6.0/install/etc/zorp/policy.py", instance_name=0x6180a0 "insyansy", 
    instance_policy_list=0x6075c0 <instance_policy_list>, virtual_instance_name=0x616c30 "insyansy", is_master=1) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/lib/zorp.cc:243
#7  0x0000000000403f88 in main (argc=1, argv=0x7fffffffd108) at /home/dexter/zwa/projects/zorpproduct-6.0/source/zorp-core/zorp/main.cc:568
(gdb) f 1
#1  0x00007ffff742d272 in g_source_unref_internal (source=0x7fffe000ea90, context=0x61ae20, have_lock=have_lock@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:1989
1989	/build/buildd/glib2.0-2.40.2/./glib/gmain.c: No such file or directory.
(gdb) p source
$100 = (GSource *) 0x7fffe000ea90
(gdb) p *source
$101 = {callback_data = 0x0, callback_funcs = 0x0, source_funcs = 0x7ffff7937c20 <z_stream_source_funcs>, ref_count = 0, context = 0x61ae20, priority = -1, flags = 0, source_id = 6, poll_fds = 0x0, 
  prev = 0x0, next = 0x0, name = 0x0, priv = 0x7fffe000fb40}
(gdb) t 5
[Switching to thread 5 (Thread 0x7fffebfff700 (LWP 3163))]
#0  z_stream_source_finalize (s=0x7fffe000ea90) at stream.cc:266
266	  z_stream_watch_finalize(self->stream, s);
(gdb) f 1
#1  0x00007ffff742d272 in g_source_unref_internal (source=0x7fffe000ea90, context=0x61ae20, have_lock=0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:1989
1989	/build/buildd/glib2.0-2.40.2/./glib/gmain.c: No such file or directory.
(gdb) p *source
$102 = {callback_data = 0x0, callback_funcs = 0x0, source_funcs = 0x7ffff7937c20 <z_stream_source_funcs>, ref_count = 0, context = 0x61ae20, priority = -1, flags = 0, source_id = 6, poll_fds = 0x0, 
  prev = 0x0, next = 0x0, name = 0x0, priv = 0x7fffe000fb40}
(gdb) 

