[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#145489: marked as done (entity: simple entity script dies with sig11 )



Your message dated Fri,  5 Feb 2010 12:51:54 +0000 (WET)
with message-id <20100205125154.599396BF8@kmos.homeip.net>
and subject line Package entity has been removed from Debian
has caused the Debian Bug report #145489,
regarding entity: simple entity script dies with sig11 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
145489: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=145489
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: entity
Version: 0.7.2-6
Severity: normal

A simple script, based on /usr/share/doc/entity/examples/enview.e dies
with sig11 (literally: it prints "Exiting with sig11") with any .jpg
file (doesn't seem to matter if it has content, I don't think it gets
that far.)

Included is the not-especially-helpful C traceback, and the script
itself... 
			_Mark_ <eichin@thok.org>
			The Herd of Kittens
			Debian Package Maintainer

(gdb) where
#0  0x404350d9 in Perl_sv_2pv () from /usr/lib/libperl.so.5.6
#1  0x4043a8c2 in Perl_sv_pvn_force () from /usr/lib/libperl.so.5.6
#2  0x4043708d in Perl_sv_catpvn () from /usr/lib/libperl.so.5.6
#3  0x404371ef in Perl_sv_catsv () from /usr/lib/libperl.so.5.6
#4  0x4042bc29 in Perl_pp_concat () from /usr/lib/libperl.so.5.6
#5  0x4042b411 in Perl_runops_standard () from /usr/lib/libperl.so.5.6
#6  0x403e3b2c in perl_call_sv () from /usr/lib/libperl.so.5.6
#7  0x403e3cce in perl_eval_sv () from /usr/lib/libperl.so.5.6
#8  0x08075d60 in my_perl_eval_pv (
    p=0x811e390 "package namespace0; ENode::import ('enode'); ENode::import ('enode_rx'); ENode::import ('elist'); ENode::import ('elist_rx'); \n\t\tmy $node = enode(\"system-args.args\");\n\n\t\tmy $working_dir = $node->attri"...) at perl-embed.c:383
#9  0x08075e14 in execute_perl_code (calling_node=0x80c6ba8, 
    code=0x80c6ca0 "\n\t\tmy $node = enode(\"system-args.args\");\n\n\t\tmy $working_dir = $node->attrib(\"startup-directory\") . \"/\";\n\n\t\tmy $obj = enode(\"object.enview\");\n\n\t\tmy @children = $node->children();\n\n        my $found_ima"...)
    at perl-embed.c:414
#10 0x08075f61 in perl_node_render (node=0x80c6ba8) at perl-embed.c:435
#11 0x400343fe in element_render_notify () from /usr/lib/libentity.so.0
#12 0x4003a289 in renderers_init () from /usr/lib/libentity.so.0
#13 0x4003a751 in xml_parse_file () from /usr/lib/libentity.so.0
#14 0x0805587b in entity_exec_class_load (files=0x80883a0) at entity-exec-class.c:333
#15 0x08055213 in main (argc=3, argv=0xbffffb84) at main.c:143


#!/usr/bin/entity

<object name="bins-edit-image">
  <system-args name="args" />

  <perl>
    <![CDATA[
		my $node = enode("system-args.args");

		my $working_dir = $node->attrib("startup-directory") . "/";

		my $obj = enode("object.enview");

		my @children = $node->children();

        my $found_image = "false";

		foreach my $child (@children)
		{
		  my $name = $child->attrib("name");
          chomp($name);

          if (! -e $name)
		  {
			$name = $working_dir . $name;
          }

          if ( (-e $name) && 
             ($name =~ /.gif/i||$name =~ /.jpg/i||$name =~ /.png/i||$name =~ /.xpm/i))
          {
            my $newimage=qq!
            <window name="image" ondelete="entity:exit">
             <valign expand="true">
               <scrollwindow fill="true" expand="true">
                 <valign>
		   <image name="image" src="$name"/>
		 </valign>
               </scrollwindow>
               <scrollwindow fill="true" expand="true">
	     <list>
	      <list-item label="Tag"/>
	      <list-item label="Value"/>
	     </list>
             </valign>
               </scrollwindow>
            </window>!;
            $obj->append_xml("$newimage");
			$found_image = "true";
		    print "opening file: $name\n";
			last;
          }
		}

		if ($found_image eq "true")
		{
			my $image = enode("image.image");
			my $window = enode("window.image");
			my $width = int($image->attrib("width")) + 15;
			my $height = int($image->attrib("height")) + 15;

			if ($width > 800)
			{
				$width = 800;
			}
			if ($height > 600)
			{
				$height = 600;
			}
			$window->attrib("width" => "$width" );
			$window->attrib("height" => "$height" );	
		}
		else
		{
			# Print usage and die.
			print "error processing command line options\n\n";
			print "usage: enview image_name.[jpg | gif | png | xpm ]\n";
			exit;
		}
	]]>
  </perl>
</object>

-- System Information
Debian Release: 3.0
Kernel Version: Linux kuroneko.thok.org 2.4.18 #2 Thu Feb 28 18:28:34 EST 2002 i686 unknown

Versions of the packages entity depends on:
ii  gdk-imlib1     1.9.14-3       Gdk-Imlib is an imaging library for use with
ii  libc6          2.2.5-6        GNU C Library: Shared libraries and Timezone
ii  libentity0     0.7.2-6        XML-based GUI builder for GTK+ (core library
ii  libglib1.2     1.2.10-4       The GLib library of C routines
ii  libgtk1.2      1.2.10-11      The GIMP Toolkit set of widgets for X
ii  libpcre3       3.4-1.1        Philip Hazel's Perl Compatible Regular Expre
ii  libperl5.6     5.6.1-7        Shared Perl library.
ii  xlibs          4.1.0-16       X Window System client libraries


--- End Message ---
--- Begin Message ---
Version: 1.0.1-9+rm

You filed the bug http://bugs.debian.org/145489 in Debian BTS
against the package entity. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/384183. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: