unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bill Farmer <williamjfarmer@yahoo.co.uk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 19181@debbugs.gnu.org
Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit
Date: Wed, 26 Nov 2014 17:52:13 +0000	[thread overview]
Message-ID: <5476134D.7040200@yahoo.co.uk> (raw)
In-Reply-To: <83vbm2nehb.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 1976 bytes --]

It does not seem to make any difference what file, I was using the 
grep-changelog file in the bin folder for testing, but any text or 
source file seems to cause the problem. I was visiting the file by 
dragging and dropping it into the emacs window. Visiting a file using 
the menu or 'C-x C-f' does not cause the problem. Starting emacs with 
emacs -Q crashes if a file is visited. I have attached a traceback from 
the zlib-available-p function. I couldn't paste it here because it 
contains null characters (^@).

Regards
Bill Farmer

On 26/11/2014 15:55, Eli Zaretskii wrote:
>> Date: Wed, 26 Nov 2014 11:34:52 +0000
>> From: Bill Farmer <williamjfarmer@yahoo.co.uk>
>> CC: dmoncayo@gmail.com, 19181@debbugs.gnu.org
>>
>> I have downloaded a built version of zlib1.dll from the zlib web site
>> (http://zlib.net) and copied the file into the bin folder of the emacs 24.4
>> distribution. This fixes the problem, as this version of zlib does not have a
>> dependency on libgcc_s_dw2-1.dll.
> Great, so your problem is solved.  I've now mentioned zlib1.dll in
> etc/PROBLEMS as the potential source of such crashes.
>
> However, I'd still like to understand why Emacs loads zlib1.dll when
> you visit a file.  Could you please help me figure that out?
>
> First, does that happen with any file, or just with a few particular
> ones, and if the latter, then which files trigger that?
>
> Second, how do you visit that file, exactly?  "C-x C-f", via the menu
> bar, something else?
>
> And finally, does Emacs load zlib1.dll if you invoke it as "emacs -Q"?
> If "emacs -Q" doesn't load zlib1.dll, can you try finding the
> customization in your ~/.emacs that causes this?
>
> There are only 2 functions in core Emacs that might load zlib:
> zlib-available-p and zlib-decompress-region.  So another way of
> finding out why zlib is being loaded is to "M-x debug-on-entry" both
> these functions, and when Emacs pops up the Lisp backtrace, see who
> called them.
>
> Thanks.


[-- Attachment #1.2: Type: text/html, Size: 2687 bytes --]

[-- Attachment #2: Backtrace.txt --]
[-- Type: text/plain, Size: 2115 bytes --]

Debugger entered--entering a function:
* zlib-available-p()
  byte-code("\300\301!\205\f\0\301 \205\f\0\302\207" [fboundp zlib-available-p "gzip"] 2)
  (defvar url-mime-encoding-string (byte-code "\300\301!\205\f\0\301 \205\f\0\302\207" [fboundp zlib-available-p "gzip"] 2) ("d:/Images/emacs/emacs-24.4/share/emacs/24.4/lisp/url/url-vars.elc" . 6787))
  require(url-vars)
  byte-code("\300\301!\210\300\302!\210\303\304\305\"\210\306\307\310\311#\210\306\312\313\314#\207" [require url-vars auth-source autoload url-scheme-get-property "url-methods" byte-code "\300\301\302\"\207" [defalias url-type--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\x06\207" [cl-x cl--defsubst-expand (cl-x) (cl-block url-type (or (and (memq ... cl-struct-url-tags)) (error "%s accessing a non-%s" (quote url-type) (quote url))) (aref cl-x 1)) nil] 7]] 3 "\300\301\302\303#\207" [put url-type compiler-macro url-type--cmacro] 4] 4)
  require(url-parse)
  byte-code("\300\301!\210\300\302!\210\303\304\305\"\210\303\306\305\"\210\303\307\310\"\207" [require url-parse url-vars autoload timezone-parse-date "timezone" timezone-make-date-arpa-standard mail-header-extract "mailheader"] 3)
  url-hexify-string("D:")
  mapconcat(url-hexify-string ("D:" "Images" "emacs" "emacs-24.4" "bin" "grep-changelog") "/")
  w32-handle-dropped-file(#<window 3 on *scratch*> "D:\\Images\\emacs\\emacs-24.4\\bin\\grep-changelog")
  apply(w32-handle-dropped-file #<window 3 on *scratch*> "D:\\Images\\emacs\\emacs-24.4\\bin\\grep-changelog")
  (closure (t) (&rest args) (apply (quote w32-handle-dropped-file) (quote #<window 3 on *scratch*>) args))("D:\\Images\\emacs\\emacs-24.4\\bin\\grep-changelog")
  mapc((closure (t) (&rest args) (apply (quote w32-handle-dropped-file) (quote #<window 3 on *scratch*>) args)) ("D:\\Images\\emacs\\emacs-24.4\\bin\\grep-changelog"))
  w32-drag-n-drop((drag-n-drop (#<window 3 on *scratch*> 192 (61 . 364) 10304786 nil 192 (6 . 4) nil (61 . 296) (9 . 17)) ("D:\\Images\\emacs\\emacs-24.4\\bin\\grep-changelog")))
  call-interactively(w32-drag-n-drop nil nil)
  command-execute(w32-drag-n-drop)

  reply	other threads:[~2014-11-26 17:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 11:08 bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Bill Farmer
2014-11-25 17:26 ` Eli Zaretskii
     [not found]   ` <5474C91A.3010007@yahoo.co.uk>
2014-11-25 18:58     ` Eli Zaretskii
2014-11-25 19:03   ` Dani Moncayo
2014-11-25 19:08     ` Eli Zaretskii
2014-11-25 19:11       ` Dani Moncayo
2014-11-25 23:42         ` Bill Farmer
2014-11-26  3:47           ` Eli Zaretskii
2014-11-26 10:06             ` Bill Farmer
2014-11-26 11:34             ` Bill Farmer
2014-11-26 15:55               ` Eli Zaretskii
2014-11-26 17:52                 ` Bill Farmer [this message]
2014-11-26 18:05                   ` Eli Zaretskii
2014-11-25 21:01       ` Óscar Fuentes
2014-11-26  3:42         ` Eli Zaretskii

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=5476134D.7040200@yahoo.co.uk \
    --to=williamjfarmer@yahoo.co.uk \
    --cc=19181@debbugs.gnu.org \
    --cc=eliz@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).