From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#9910: valgrind warning in coding.c:coding_set_destination Date: Sun, 30 Oct 2011 17:38:40 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1320010746 18159 80.91.229.12 (30 Oct 2011 21:39:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2011 21:39:06 +0000 (UTC) To: 9910@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 30 22:39:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKd5o-0007A7-EW for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 22:39:00 +0100 Original-Received: from localhost ([::1]:41945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKd5n-0008HG-Kd for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 17:38:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKd5k-0008Gh-Qv for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKd5i-0003po-Rs for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKd5i-0003pd-Ne for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RKd7m-0006bT-3W for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2011 21:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9910 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132001085325367 (code B ref -1); Sun, 30 Oct 2011 21:41:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Oct 2011 21:40:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKd7d-0006b6-LH for submit@debbugs.gnu.org; Sun, 30 Oct 2011 17:40:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKd7c-0006az-CY for submit@debbugs.gnu.org; Sun, 30 Oct 2011 17:40:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKd5X-0003jb-FL for submit@debbugs.gnu.org; Sun, 30 Oct 2011 17:38:44 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:50084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKd5X-0003jX-Dr for submit@debbugs.gnu.org; Sun, 30 Oct 2011 17:38:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKd5W-0008B9-H4 for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKd5V-0003hY-4d for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKd5U-0003hD-Vv for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:41 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RKd5U-0006ds-I2 for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 17:38:40 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 30 Oct 2011 17:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53331 Archived-At: valgrind ./temacs produces this warning: ==30382== Conditional jump or move depends on uninitialised value(s) ==30382== at 0x499251: coding_set_destination (coding.c:1046) ==30382== by 0x4B477A: decode_coding (coding.c:7022) ==30382== by 0x4B7317: decode_coding_object (coding.c:7671) ==30382== by 0x63610F: Fcall_process (callproc.c:813) ==30382== by 0x5D6C07: Ffuncall (eval.c:2956) ==30382== by 0x5D5ECA: Fapply (eval.c:2479) ==30382== by 0x5D6C07: Ffuncall (eval.c:2956) ==30382== by 0x622C5B: exec_byte_code (bytecode.c:785) ==30382== by 0x5D77BA: funcall_lambda (eval.c:3205) ==30382== by 0x5D6F4C: Ffuncall (eval.c:3023) ==30382== by 0x622C5B: exec_byte_code (bytecode.c:785) ==30382== by 0x5D77BA: funcall_lambda (eval.c:3205) This looks like setup_coding_system (or whatever else initializes struct coding_system) does not initialize the src_pos field.