Skip Menu |
 

This queue is for tickets about the Glib CPAN distribution.

Report information
The Basics
Id: 88500
Status: resolved
Priority: 0/
Queue: Glib

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Better diagnostic output in signal accumulator
I don’t have the requisite C libraries to compile Glib, so I have not tested this patch.
Subject: open_HWlPavh5.txt
Download open_HWlPavh5.txt
text/plain 710b
diff -rup Glib-1.301-gy1yG6/GType.xs Glib-1.301-8jML2z/GType.xs --- Glib-1.301-gy1yG6/GType.xs 2013-06-23 09:55:30.000000000 -0700 +++ Glib-1.301-8jML2z/GType.xs 2013-09-08 11:24:55.000000000 -0700 @@ -1101,11 +1101,19 @@ gperl_real_signal_accumulator (GSignalIn n = call_sv (callback->func, G_EVAL|G_ARRAY); +#ifndef SVf +# define SVf s +# define SVfARG SvPV_nolen +#endif + if (SvTRUE (ERRSV)) { warn ("### WOAH! unhandled exception in a signal accumulator!\n" + "### %"SVf" + "### this is really uncool, and for now i'm not even going to\n" "### try to recover.\n" - "### aborting"); + "### aborting", + SVfARG(ERRSV)); abort (); }
Our git repository now contains something similar to this. Thanks for the suggestion.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.