unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Babylon crashes Emacs
Date: Sat, 23 Jun 2007 15:24:44 +0200	[thread overview]
Message-ID: <f7ccd24b0706230624u50ddfeaeja8ac4efb8237166f@mail.gmail.com> (raw)
In-Reply-To: <ubqf6q292.fsf@gnu.org>

On 6/23/07, Eli Zaretskii <eliz@gnu.org> wrote:

> The backtrace produced by DrMinGW (attached below) seems to indicate
> that we get a WM_PAINT message that we somehow cannot grok(?).  Is it
> possible that Babylon sends us WM_PAINT so that we draw some part of
> our screen in a DC that isn't ours?

I get this backtrace.

(BTW, how do you set drmingw to get such detailed backtrace?)

             Juanma


emacs.exe caused an Access Violation at location 77ef6f8c in module
GDI32.dll Writing to location 284590c1.

Registers:
eax=00000000 ebx=00f8594c ecx=00000000 edx=000005c0 esi=00f85928 edi=00000000
eip=77ef6f8c esp=207ff7e4 ebp=207ff860 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
77EF6F8C  GDI32.dll:77EF6F8C  BitBlt
5B15675C  uxtheme.dll:5B15675C  DrawThemeBackgroundEx
5B156AB2  uxtheme.dll:5B156AB2  DrawThemeBackgroundEx
5B151AC7  uxtheme.dll:5B151AC7
5B15367A  uxtheme.dll:5B15367A  DrawThemeText
7E3AF11D  USER32.dll:7E3AF11D  SendInput
01139792  emacs.exe:01139792  w32_wnd_proc  w32fns.c:3913
LRESULT w32_wnd_proc(
	HWND hwnd = &{
		int i =
	},
	UINT msg = 134,
	WPARAM wParam = 0,
	LPARAM lParam = 0
)
	...
	
	    dflt:
>	      return DefWindowProc (hwnd, msg, wParam, lParam);
	    }
	
	...

7E398734  USER32.dll:7E398734  GetDC
7E398816  USER32.dll:7E398816  GetDC
7E39B4C0  USER32.dll:7E39B4C0  DefWindowProcW
7E39B50C  USER32.dll:7E39B50C  DefWindowProcW
7C91EAE3  ntdll.dll:7C91EAE3  KiUserCallbackDispatcher
01139138  emacs.exe:01139138  w32_msg_pump  w32fns.c:2596
static void w32_msg_pump(
	deferred_msg * msg_buf =
)
	...
	      /* Exit nested loop when our deferred message has completed.  */
	      if (msg_buf->completed)
>	break;
	    }
	}
	...

0113B2D9  emacs.exe:0113B2D9  w32_msg_worker  w32fns.c:2718
DWORD w32_msg_worker(
	void * arg =
)
	...
	
	  return 0;
>	}
	
	static void
	...

7C80B683  kernel32.dll:7C80B683  GetModuleFileNameA
emacs.exe caused an Access Violation at location 77ef6f8c in module
GDI32.dll Writing to location 284590c1.

Registers:
eax=00000000 ebx=00f8594c ecx=00000000 edx=000005c0 esi=00f85928 edi=00000000
eip=77ef6f8c esp=207ff7e4 ebp=207ff860 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000206

Call stack:
77EF6F8C  GDI32.dll:77EF6F8C  BitBlt
5B15675C  uxtheme.dll:5B15675C  DrawThemeBackgroundEx
5B156AB2  uxtheme.dll:5B156AB2  DrawThemeBackgroundEx
5B151AC7  uxtheme.dll:5B151AC7
5B15367A  uxtheme.dll:5B15367A  DrawThemeText
7E3AF11D  USER32.dll:7E3AF11D  SendInput
01139792  emacs.exe:01139792  w32_wnd_proc  w32fns.c:3913
LRESULT w32_wnd_proc(
	HWND hwnd = &{
		int i =
	},
	UINT msg = 134,
	WPARAM wParam = 0,
	LPARAM lParam = 0
)
	...
	
	    dflt:
>	      return DefWindowProc (hwnd, msg, wParam, lParam);
	    }
	
	...

7E398734  USER32.dll:7E398734  GetDC
7E398816  USER32.dll:7E398816  GetDC
7E39B4C0  USER32.dll:7E39B4C0  DefWindowProcW
7E39B50C  USER32.dll:7E39B50C  DefWindowProcW
7C91EAE3  ntdll.dll:7C91EAE3  KiUserCallbackDispatcher
01139138  emacs.exe:01139138  w32_msg_pump  w32fns.c:2596
static void w32_msg_pump(
	deferred_msg * msg_buf =
)
	...
	      /* Exit nested loop when our deferred message has completed.  */
	      if (msg_buf->completed)
>	break;
	    }
	}
	...

0113B2D9  emacs.exe:0113B2D9  w32_msg_worker  w32fns.c:2718
DWORD w32_msg_worker(
	void * arg =
)
	...
	
	  return 0;
>	}
	
	static void
	...

7C80B683  kernel32.dll:7C80B683  GetModuleFileNameA

  reply	other threads:[~2007-06-23 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-23 12:33 Babylon crashes Emacs Eli Zaretskii
2007-06-23 13:24 ` Juanma Barranquero [this message]
2007-06-23 13:42   ` Eli Zaretskii
2007-06-24 16:59     ` Juanma Barranquero

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=f7ccd24b0706230624u50ddfeaeja8ac4efb8237166f@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=eliz@gnu.org \
    --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).