search for: object_new

Displaying 20 results from an estimated 35 matches for "object_new".

Did you mean: g_object_new
2007 Nov 01
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie.c test/image
...ode diff --git a/libswfdec/swfdec_as_array.c b/libswfdec/swfdec_as_array.c index 57fb85e..1c9c61a 100644 --- a/libswfdec/swfdec_as_array.c +++ b/libswfdec/swfdec_as_array.c @@ -761,6 +761,8 @@ swfdec_as_array_concat (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, const char *var; object_new = swfdec_as_array_new (cx); + if (object_new == NULL) + return; array_new = SWFDEC_AS_ARRAY (object_new); swfdec_as_array_append_array (array_new, object); @@ -814,6 +816,8 @@ swfdec_as_array_slice (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, } object_new = swfdec_a...
2016 Mar 18
0
Fwd: [Issue]: Regarding client socket getting closed from the server once the lxc container is started
...nection is established and we are able to enter the namespace. Enabled the libvirtd debug logs to debug this issue. For *success* case we see that for new client connection gets created and is able to handle async incoming events, *2016-03-12 08:18:55.748+0000: 1247: info : virObjectNew:202 : OBJECT_NEW: obj=0x7fed54005460 classname=virLXCMonitor* *2016-03-12 08:18:55.748+0000: 1247: debug : virNetSocketNew:159 : localAddr=0x7fed7cd1d170 remoteAddr=0x7fed7cd1d200 fd=28 errfd=-1 pid=0* *2016-03-12 08:18:55.749+0000: 1247: info : virObjectNew:202 : OBJECT_NEW: obj=0x7fed54009040 classname=virNetSo...
2019 Feb 08
1
libvirtd (4.9) version takes a long time to start
...4.9. libvirtd 4.9 takes a long time to come up. I enabled debug prints and also put my own prints Logs are below 2019-02-06 05:55:49.082+0000: 377: info : libvirt version: 4.9.0 2019-02-06 05:55:49.082+0000: 377: info : hostname: draco 2019-02-06 05:55:49.082+0000: 377: info : virObjectNew:248 : OBJECT_NEW: obj=0x558e782d8bb0 classname=virAccessManager 2019-02-06 05:55:49.082+0000: 377: debug : virAccessManagerNewDriver:105 : Initialized with stack 2019-02-06 05:55:49.082+0000: 377: info : virObjectNew:248 : OBJECT_NEW: obj=0x558e782cd870 classname=virAccessManager 2019-02-06 05:55:49.082+0000: 377:...
2007 Aug 17
0
2 commits - libswfdec/swfdec_as_array.c test/trace
..._set; } @@ -374,7 +395,7 @@ swfdec_as_array_new (SwfdecAsContext *co g_return_val_if_fail (SWFDEC_IS_AS_CONTEXT (context), NULL); g_return_val_if_fail (context->Array != NULL, NULL); - + if (!swfdec_as_context_use_mem (context, sizeof (SwfdecAsArray))) return FALSE; ret = g_object_new (SWFDEC_TYPE_AS_ARRAY, NULL); @@ -385,9 +406,10 @@ swfdec_as_array_new (SwfdecAsContext *co /*** AS CODE ***/ -static void -swfdec_as_array_join (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, - SwfdecAsValue *ret) +SWFDEC_AS_NATIVE (252, 7, swfdec_as_array_jo...
2008 Jan 07
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_types.c libswfdec/swfdec_xml.c
...(252, 11, swfdec_as_array_reverse) @@ -801,7 +799,7 @@ swfdec_as_array_concat (SwfdecAsContext *cx, SwfdecAsObject *object, } else { - var = swfdec_as_double_to_string (object->context, + var = swfdec_as_integer_to_string (object->context, swfdec_as_array_length (object_new)); swfdec_as_object_set_variable (object_new, var, &argv[j]); } @@ -1036,7 +1034,7 @@ swfdec_as_array_foreach_sort_rename (SwfdecAsObject *object, // leave room for undefined values if (after_undefined) i += fdata->length - fdata->defined_values - 1; - ret...
2018 Oct 02
1
Libvirt 4.2.0 hang on destination on live migration cancel
...tPollAddTimeout:253 : EVENT_POLL_ADD_TIMEOUT: timer=1 frequency=-1 cb=0x5559f8dba380 opaque=0x7ffe5b15e700 ff=(nil) 2018-10-02 05:14:05.054+0000: 16207: debug : virConnectOpenAuth:1218 : name=<null>, auth=0x7f70c1ddea00, flags=0x0 2018-10-02 05:14:05.054+0000: 16207: info : virObjectNew:254 : OBJECT_NEW: obj=0x5559fa83a3f0 classname=virConnect 2018-10-02 05:14:05.054+0000: 16208: debug : virThreadJobSet:99 : Thread 16208 is now running job vshEventLoop 2018-10-02 05:14:05.054+0000: 16208: debug : virEventRunDefaultImpl:324 : running default event implementation 2018-10-02...
2007 Aug 17
0
Branch 'vivi' - 9 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c
...fun; - g_return_val_if_fail (SWFDEC_IS_AS_CONTEXT (context), NULL); - g_return_val_if_fail (g_type_is_a (type, SWFDEC_TYPE_AS_FUNCTION), NULL); - g_return_val_if_fail (size >= sizeof (SwfdecAsFunction), NULL); - - if (!swfdec_as_context_use_mem (context, size)) - return NULL; - fun = g_object_new (type, NULL); - swfdec_as_object_add (SWFDEC_AS_OBJECT (fun), context, size); + g_return_if_fail (SWFDEC_IS_AS_FUNCTION (fun)); + + object = SWFDEC_AS_OBJECT (fun); + context = object->context; if (context->Function) { SWFDEC_AS_VALUE_SET_OBJECT (&val, context->Function); -...
2018 Nov 15
1
libvirt call qemu to create vm need more than 10 seconds
...f81f8257e60 Line 58682: 2018-11-13 14:22:30.129+0000: 95225: debug : qemuProcessLaunch:5634 : Creating domain log file Line 58683: 2018-11-13 14:22:30.129+0000: 95225: info : virObjectRef:296 : OBJECT_REF: obj=0x7f81f80166f0 Line 58684: 2018-11-13 14:22:30.129+0000: 95225: info : virObjectNew:202 : OBJECT_NEW: obj=0x7f822c006560 classname=qemuDomainLogContext Line 58685: 2018-11-13 14:22:30.129+0000: 95225: debug : qemuDomainLogContextNew:4563 : Context new 0x7f822c006560 stdioLogD=1 Line 58686: 2018-11-13 14:22:30.130+0000: 95225: debug : virNetSocketNewConnectUNIX:640 : path=/var/run/libvirt/virtlogd-...
2019 Feb 07
0
libvirtd (4.9) version takes a long time to start
...4.9. libvirtd 4.9 takes a long time to come up. I enabled debug prints and also put my own prints Logs are below 2019-02-06 05:55:49.082+0000: 377: info : libvirt version: 4.9.0 2019-02-06 05:55:49.082+0000: 377: info : hostname: draco 2019-02-06 05:55:49.082+0000: 377: info : virObjectNew:248 : OBJECT_NEW: obj=0x558e782d8bb0 classname=virAccessManager 2019-02-06 05:55:49.082+0000: 377: debug : virAccessManagerNewDriver:105 : Initialized with stack 2019-02-06 05:55:49.082+0000: 377: info : virObjectNew:248 : OBJECT_NEW: obj=0x558e782cd870 classname=virAccessManager 2019-02-06 05:55:49.082+0000: 377:...
2017 Feb 17
2
"virsh list" hangs
...ollAddTimeout:253 : EVENT_POLL_ADD_TIMEOUT: timer=1 frequency=-1 cb=0x563a29758360 opaque=0x7fff70941380 ff=(nil) 2017-02-17 15:58:36.127+0000: 18505: debug : virConnectOpenAuth:1245 : name=<null>, auth=0x7f1e5aca2a00, flags=0 2017-02-17 15:58:36.127+0000: 18505: info : virObjectNew:202 : OBJECT_NEW: obj=0x563a2a7f5f50 classname=virConnect 2017-02-17 15:58:36.127+0000: 18505: debug : virConfLoadConfig:1604 : Loading config file '/etc/libvirt/libvirt.conf' 2017-02-17 15:58:36.127+0000: 18505: debug : virConfReadFile:778 : filename=/etc/libvirt/libvirt.conf 2017-02-17 15:58:36.127+0000...
2007 Nov 14
0
2 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_initialize.as
...object); swfdec_as_object_foreach_rename (object, swfdec_as_array_foreach_reverse, &length); @@ -760,6 +781,9 @@ swfdec_as_array_concat (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsArray *array_new; const char *var; + if (object == NULL) + return; + object_new = swfdec_as_array_new (cx); if (object_new == NULL) return; @@ -794,6 +818,9 @@ swfdec_as_array_slice (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsObject *object_new; SwfdecAsArray *array_new; + if (object == NULL) + return; + length = swfdec_as_array_len...
2013 Sep 18
0
libvirt report error "error: End of file while reading data: Input/output error" when start domain
...culateTimeout:332 : Calculate expiry of 0 timers debug : virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms debug : virEventPollRunOnce:627 : EVENT_POLL_RUN: nhandles=1 timeout=-1 debug : virConnectOpenAuth:1457 : name=(null), auth=0x3fffd164728, flags=0 debug : virObjectNew:199 : OBJECT_NEW: obj=0x2aad62a1e10 classname=virConnect debug : virObjectNew:199 : OBJECT_NEW: obj=0x2aad62a1f40 classname=virConnectCloseCallbackData debug : virConnectGetConfigFile:998 : Loading config file '/etc/libvirt/libvirt.conf' debug : virConfReadFile:745 : filename=/etc/libvirt/libvirt.c...
2013 Jul 14
0
OSX: trying to use libvirt 1.1.0 with VirtualBox 4.2
...virConnectOpenAuth:1446 : name=vbox:///session, auth=0x10e39f940, flags=0 2013-07-14 20:18:52.005+0000: 18446744073709551615: debug : virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used, releasing 0 2013-07-14 20:18:52.005+0000: 18446744073709551615: debug : virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c45d60 classname=virConnect 2013-07-14 20:18:52.005+0000: 18446744073709551615: debug : virEventPollCleanupHandles:564 : Cleanup 1 2013-07-14 20:18:52.005+0000: 18446744073709551615: debug : virObjectNew:203 : OBJECT_NEW: obj=0x7fa630d00050 classname=virConnectCloseCallbackData 2013...
2015 Oct 02
0
virsh with OSX and virtualbox
...ebug : virConnectOpenAuth:1339 : name=vbox:///session, auth=0x100711ff0, flags=0 2015-10-02 08:52:11.876+0000: 18446744073709551615: debug : virThreadJobSet:99 : Thread 18446744073709551615 is now running job vshEventLoop 2015-10-02 08:52:11.876+0000: 18446744073709551615: info : virObjectNew:202 : OBJECT_NEW: obj=0x7f9cda600b10 classname=virConnect 2015-10-02 08:52:11.876+0000: 18446744073709551615: info : virObjectNew:202 : OBJECT_NEW: obj=0x7f9cda600c20 classname=virConnectCloseCallbackData 2015-10-02 08:52:11.876+0000: 18446744073709551615: debug : virEventRunDefaultImpl:305 : running default event...
2017 Jun 03
2
Re: libvirtd not accepting connections
On Sat, Jun 03, 2017 at 05:20:47PM -0400, Michael C Cambria wrote: >I also tried stopping libvirtd, renaming both qemu-system-i386 and >qemu-system-x86_64, start libvirtd. Things get further along; dnsmasq >log messages show up. > >$ sudo systemctl status libvirtd.service >● libvirtd.service - Virtualization daemon > Loaded: loaded
2007 Dec 23
0
2 commits - libswfdec/swfdec_as_array.c
...c_as_array.c b/libswfdec/swfdec_as_array.c index ee2c0a1..61a62e9 100644 --- a/libswfdec/swfdec_as_array.c +++ b/libswfdec/swfdec_as_array.c @@ -1043,6 +1043,7 @@ swfdec_as_array_foreach_sort_rename (SwfdecAsObject *object, } g_assert_not_reached (); + return NULL; } // fills fdata->object_new array using indexes based on the fdata->order @@ -1079,6 +1080,7 @@ swfdec_as_array_foreach_sort_indexedarray (SwfdecAsObject *object, } g_assert_not_reached (); + return FALSE; } // sets undefined values in the fdata->object_new array to indexes of undefined @@ -1193,6 +1195,7 @...
2017 Jun 04
0
Re: libvirtd not accepting connections
...3f6c2e0e0 name=QEMU 2017-06-04 00:04:13.825+0000: 3363: debug : virRegisterConnectDriver:695 : registering QEMU as driver 9 2017-06-04 00:04:14.302+0000: 3379: debug : virStateInitialize:769 : Running global init for QEMU state driver 2017-06-04 00:04:14.303+0000: 3379: info : virObjectNew:202 : OBJECT_NEW: obj=0x7fa3d0122250 classname=virQEMUDriverConfig 2017-06-04 00:04:14.305+0000: 3379: debug : virSecurityManagerNewDriver:86 : drv=0x7fa44d580f40 (selinux) virtDriver=QEMU flags=a 2017-06-04 00:04:14.305+0000: 3379: debug : virSecuritySELinuxInitialize:561 : SELinuxInitialize QEMU 2017-06-04 00:...
2017 Jun 04
2
Re: libvirtd not accepting connections
...gt;2017-06-04 00:04:13.825+0000: 3363: debug : virRegisterConnectDriver:695 >: registering QEMU as driver 9 >2017-06-04 00:04:14.302+0000: 3379: debug : virStateInitialize:769 : >Running global init for QEMU state driver >2017-06-04 00:04:14.303+0000: 3379: info : virObjectNew:202 : >OBJECT_NEW: obj=0x7fa3d0122250 classname=virQEMUDriverConfig >2017-06-04 00:04:14.305+0000: 3379: debug : >virSecurityManagerNewDriver:86 : drv=0x7fa44d580f40 (selinux) >virtDriver=QEMU flags=a >2017-06-04 00:04:14.305+0000: 3379: debug : >virSecuritySELinuxInitialize:561 : SELinuxInitialize QE...
2018 Feb 27
1
Reply: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
...="zstack"><secret type="ceph" uuid="9b06bb70-dc13-4338-88fd-b0c72d5ab9e9" /></auth><target bus="ide " dev="hdc" /><readonly /></disk>, flags=0x1 ... 2018-02-27 09:27:43.788+0000: 16656: info : virObjectNew:254 : OBJECT_NEW: obj=0x7f2084003cc0 classname=qemuDomainStorageSourcePrivate 2018-02-27 09:27:43.788+0000: 16656: debug : virConnectOpen:1169 : name=secret:///system 2018-02-27 09:27:43.788+0000: 16656: info : virObjectNew:254 : OBJECT_NEW: obj=0x7f20840008c0 classname=virConnect 2018-02-27 09:27:43.788+0000: 1665...
2020 Jul 14
2
Unable to decode message length
...ce. Here is the debug log of libvirtd when I try to connect with virsh: 2020-07-14 16:29:58.220+0000: 5352: info : virEventGLibHandleDispatch:116 : EVENT_GLIB_DISPATCH_HANDLE: watch=2 events=1 cb=0x7f7b55b86c50 opaque=0x556fbcf8b8a0 2020-07-14 16:29:58.220+0000: 5352: info : virObjectNew:250 : OBJECT_NEW: obj=0x556fbcf8d770 classname=virNetSocket 2020-07-14 16:29:58.220+0000: 5352: info : virNetSocketNew:278 : RPC_SOCKET_NEW: sock=0x556fbcf8d770 fd=18 errfd=-1 pid=0 localAddr=127.0.0.1;0, remoteAddr=127.0.0.1;0 2020-07-14 16:29:58.220+0000: 5352: info : virObjectNew:250 : OBJECT_NEW: obj=0x556fb...