|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[Gtk2-perl-bugs] [Bug 567653] New: signal_chain_from_overridden vs do_mysigIf you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567653 gnome-perl | Glib | Ver: unspecified Summary: signal_chain_from_overridden vs do_mysig Product: gnome-perl Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Glib AssignedTo: gtk2-perl-bugs@... ReportedBy: user42@... QAContact: gtk2-perl-bugs@... GNOME version: Unspecified GNOME milestone: Unspecified In perl-Glib 1.200 The program below gets two errors GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed at foo.pl line 36. *** unhandled exception in callback: *** [gperl_value_from_sv] FIXME: unhandled type - 0 ((null) fundamental for (null)) *** ignoring at foo.pl line 44. I expect it's the "do_" default handler of gperl_signal_class_closure_marshal, but g_signal_chain_from_overridden in GSignal.xs might like to consider passing return_value==NULL (instead of a GValue of G_TYPE_NONE) when the signal return type is none (query.return_type == G_TYPE_NONE). package MyClass; use strict; use warnings; use Glib; use Glib::Object::Subclass 'Glib::Object', signals => { mysig => { param_types => [], return_type => undef }, }; sub INIT_INSTANCE { my ($self) = @_; } sub do_mysig { print "MyClass mysig runs\n"; return 123; } package MySubClass; use strict; use warnings; use Glib::Object::Subclass 'MyClass', signals => { mysig => \&_do_mysubclass_mysig }; sub INIT_INSTANCE { my ($self) = @_; } sub _do_mysubclass_mysig { my ($self) = @_; $self->signal_chain_from_overridden; } package main; use strict; use warnings; my $obj = MySubClass->new; $obj->signal_emit ('mysig'); exit 0; -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567653. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Gtk2-perl-bugs mailing list Gtk2-perl-bugs@... https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs |
|
|
[Gtk2-perl-bugs] [Bug 567653] signal_chain_from_overridden vs do_mysigIf you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567653 gnome-perl | Glib | Ver: unspecified Torsten Schoenfeld changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaffeetisch@... Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Comment #1 from Torsten Schoenfeld 2009-02-05 16:39 UTC ------- This is now fixed in trunk (r1078:1080) and in the stable branch (r1081). -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567653. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Gtk2-perl-bugs mailing list Gtk2-perl-bugs@... https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs |
|
|
[Gtk2-perl-bugs] [Bug 567653] signal_chain_from_overridden vs do_mysigIf you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567653 gnome-perl | Glib | Ver: unspecified Kevin Ryde changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED | ------- Comment #2 from Kevin Ryde 2009-02-06 23:26 UTC ------- Actually the point of this ticket was the latter part, ie. that the signal_chain_from_overridden() method might pass return_value==NULL to g_signal_chain_from_overridden() when the signal return type is G_TYPE_NONE. Doing so would be like a normal emission, per g_signal_emit_valist() lines if (signal_return_type == G_TYPE_NONE) signal_emit_unlocked_R (node, detail, instance, NULL, instance_and_params); -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567653. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Gtk2-perl-bugs mailing list Gtk2-perl-bugs@... https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs |
|
|
[Gtk2-perl-bugs] [Bug 567653] signal_chain_from_overridden vs do_mysigIf you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567653 gnome-perl | Glib | Ver: unspecified Torsten Schoenfeld changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 ------- Comment #3 from Torsten Schoenfeld 2009-02-10 13:36 UTC ------- Sorry, I missed that part. I'm not sure what implications this change would have. Do you have an example where the change has an effect? -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567653. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Gtk2-perl-bugs mailing list Gtk2-perl-bugs@... https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs |
|
|
[Gtk2-perl-bugs] [Bug 567653] signal_chain_from_overridden vs do_mysigIf you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=567653 gnome-perl | Glib | Ver: unspecified Kevin Ryde changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from Kevin Ryde 2009-03-01 23:40 UTC ------- Umm, no. I was hoping the gsignal docs might say if G_TYPE_NONE is meant to be ok. I suppose if GtkBindings does that then it can't be too terrible. "When the president does it it's not illegal." -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=567653. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gtk2-perl-bugs mailing list Gtk2-perl-bugs@... https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs |
| Free embeddable forum powered by Nabble | Forum Help |