GNU bug report logs - #14588
24.1; perldb broken

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Len Weisberg <Len@HIDDEN>; dated Mon, 10 Jun 2013 23:03:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 14588 <at> debbugs.gnu.org:


Received: (at 14588) by debbugs.gnu.org; 11 Jun 2013 07:39:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 03:39:48 2013
Received: from localhost ([127.0.0.1]:55963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UmJBD-0003xN-UE
	for submit <at> debbugs.gnu.org; Tue, 11 Jun 2013 03:39:48 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:52457 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1UmJBB-0003xF-JE
 for 14588 <at> debbugs.gnu.org; Tue, 11 Jun 2013 03:39:46 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1UmJAw-0001jU-OT; Tue, 11 Jun 2013 03:39:31 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Len Weisberg <Len@HIDDEN>
Subject: Re: bug#14588: 24.1; perldb broken
References: <51B65717.5090100@HIDDEN>
X-Spook: sniper Bin Laden broadside Delta Force security
X-Ran: K1#-WZ?kn4vy/rG4U-4_gA<A.{FH'<{As*es%UBLLT@H8t5eb2Yv;}D-rb]Yn)c-^oDt4=
X-Hue: cyan
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 11 Jun 2013 03:39:30 -0400
In-Reply-To: <51B65717.5090100@HIDDEN> (Len Weisberg's message of "Mon, 
 10 Jun 2013 15:45:43 -0700")
Message-ID: <7i4nd5yu31.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: 14588
Cc: 14588 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.4 (----)

Len Weisberg wrote:

> (perldb "/tmp/args.pl  a b c")

It seems (by comparing with M-x perldb) that you are supposed to use:

(perldb "perl -d /tmp/args.pl a b c")




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14588; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jun 2013 23:02:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 10 19:02:53 2013
Received: from localhost ([127.0.0.1]:55551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UmB6z-00022l-7n
	for submit <at> debbugs.gnu.org; Mon, 10 Jun 2013 19:02:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39700)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <len@HIDDEN>) id 1UmAqv-0001Is-HP
 for submit <at> debbugs.gnu.org; Mon, 10 Jun 2013 18:46:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <len@HIDDEN>) id 1UmAqa-0001HS-Th
 for submit <at> debbugs.gnu.org; Mon, 10 Jun 2013 18:46:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44396)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <len@HIDDEN>) id 1UmAqa-0001HO-Qc
 for submit <at> debbugs.gnu.org; Mon, 10 Jun 2013 18:45:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41382)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <len@HIDDEN>) id 1UmAqU-00085O-RA
 for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2013 18:45:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <len@HIDDEN>) id 1UmAqP-0001F2-LE
 for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2013 18:45:50 -0400
Received: from smtprelay0236.hostedemail.com ([216.40.44.236]:48099
 helo=smtprelay.hostedemail.com)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <len@HIDDEN>) id 1UmAqP-0001Es-F3
 for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2013 18:45:45 -0400
Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254])
 by smtprelay02.hostedemail.com (Postfix) with ESMTP id 469D890FF0;
 Mon, 10 Jun 2013 22:45:44 +0000 (UTC)
X-Session-Marker: 6C656E4077656973626572672E636F6D
X-Panda: scanned!
X-HE-Tag: geese40_31fd9fcbe2e12
X-Filterd-Recvd-Size: 5037
Received: from [192.168.1.10] (c-50-148-128-134.hsd1.ca.comcast.net
 [50.148.128.134]) (Authenticated sender: len@HIDDEN)
 by omf06.hostedemail.com (Postfix) with ESMTPA;
 Mon, 10 Jun 2013 22:45:43 +0000 (UTC)
Message-ID: <51B65717.5090100@HIDDEN>
Date: Mon, 10 Jun 2013 15:45:43 -0700
From: Len Weisberg <Len@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:17.0) Gecko/20130510 Thunderbird/17.0.6
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: 24.1; perldb broken
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 10 Jun 2013 19:02:51 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

--------------------------------------------------------------
Here's the bug recipe:

Generate a file in  /tmp/args.pl   containing:
#! /usr/bin/perl
$x = 3 ;
print "here are the args: ", join (' ', @ARGV), "\n" ;

then run:

(perldb "/tmp/args.pl  a b c")

the result is:
Current directory is /tmp/
here are the args: a -emacs b c

Debugger finished
--------------

Two serious problems:
 - inserts second arg  '-emacs'
 - doesn't debug - just runs!
       (ie should stop at line 2, the first exectable line)

---------------------
Second test (simpler, but even worse result:)

(perldb "/tmp/args.pl")
This gets:
*gud* output:
Current directory is ~/

and *Backtrace*:
Debugger entered--Lisp error: (error "Can't use stdin as the script to debug")
  signal(error ("Can't use stdin as the script to debug"))
  error("Can't use stdin as the script to debug")
  gud-perldb-massage-args(nil nil)
  gud-common-init("/tmp/args.pl" gud-perldb-massage-args gud-perldb-marker-filter)
  perldb("/tmp/args.pl")
  eval((perldb "/tmp/args.pl") nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

---------------------
Also, a minor problem in that the perldb command does not initialize
with the currently edited filename
    - it just uses previously used perldb command line.
--------------------------------------------------------------


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.1/etc/DEBUG.


In GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12)
 of 2012-09-22 on batsu, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-y <left> <left> <backspace> C-e C-x C-e <help-echo>
<menu-bar> <buffer> C-b <help-echo> <menu-bar> <buffer>
C-b <return> <return> C-y C-b C-b <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> C-e C-x C-e <help-echo> <help-echo> <menu-bar>
<buffer> C-c <help-echo> <help-echo> <menu-bar> <buffer>
C-c <return> <return> ESC x r e p o r t - TAB <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
nil
Mark set
Entering debugger...

Load-path shadows:




Acknowledgement sent to Len Weisberg <Len@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#14588; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.