Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Segfault in Glib/Gtk2 script

by Anonymous Monk
on May 25, 2018 at 14:56 UTC ( [id://1215218]=note: print w/replies, xml ) Need Help??


in reply to Re: Segfault in Glib/Gtk2 script
in thread Segfault in Glib/Gtk2 script

>Are all the modules really needed to reproduce the issue?

I have already tried cutting out all unnecessary blocks of code, leaving just essential features. For modules, these are the absolute minimum required to run the script and produce the segfault

use Archive::Extract; use Archive::Tar; use Encode qw(decode encode encodings find_encoding from_to); use File::Basename; use File::Copy qw(copy move); use File::HomeDir qw(my_home); use File::Path qw(remove_tree); use Gnome2::Canvas; use Gnome2::Wnck; use Gtk2 '-init'; use IPC::Run qw(start); use Storable qw(lock_nstore lock_retrieve);

>BTW, what does it mean to have use statements in a BEGIN block?

It's not necessary. Removing the BEGIN {} section from the script does not remove the segfault.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1215218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found