unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
Subject: Problem report #32
Date: Mon, 10 Apr 2006 11:58:54 -0700	[thread overview]
Message-ID: <200604101858.k3AIwsFQ005633@scanner2.ics.uci.edu> (raw)

CID: 32
Checker: NULL_RETURNS (help)
File: emacs/src/xterm.c
Function: handle_one_xevent
Description: Dereferencing NULL value "f"

Event returned_null: Function "x_top_window_to_frame" returned NULL value (checked 5 out of 6 times) [model]
Event var_assigned: Variable "f" assigned to NULL return value from "x_top_window_to_frame"
Also see events: [var_assigned][dereference]

5746 	                    f = x_top_window_to_frame (dpyinfo,
5747 	                                               event.xclient.window);
5748 	                    /* This is just so we only give real data once
5749 	                       for a single Emacs process.  */

At conditional (1): "selected_frame & 7 == 4" taking true path
At conditional (2): "((0), (selected_frame & -8))->size & 1073742848 == 1073742848" taking true path
At conditional (3): "(((0), (selected_frame & -8))->output_data).nothing != 0" taking true path
At conditional (4): "f == ((selected_frame & 7 == 4 && ((0), (selected_frame & -8))->size & 1073742848 == 1073742848 && (((0), (selected_frame & -8))->output_data).nothing != 0) ? (0), (selected_frame & -8) : ((abort), (0)))" taking true path

5750 	                    if (f == SELECTED_FRAME ())

Event dereference: Dereferencing NULL value "f"
Also see events: [returned_null][var_assigned]

5751 	                      XSetCommand (FRAME_X_DISPLAY (f),
5752 	                                   event.xclient.window,
5753 	                                   initial_argv, initial_argc);
5754 	                    else if (f)
5755 	                      XSetCommand (FRAME_X_DISPLAY (f),
5756 	                                   event.xclient.window,
5757 	                                   0, 0);
5758 	                  }

             reply	other threads:[~2006-04-10 18:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 18:58 Dan Nicolaescu [this message]
2006-04-10 19:45 ` Problem report #32 Stuart D. Herring
2006-04-11  6:49   ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200604101858.k3AIwsFQ005633@scanner2.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).