bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13245: 24.2; emacs24.2 crashed in gentoo.


From: Eli Zaretskii
Subject: bug#13245: 24.2; emacs24.2 crashed in gentoo.
Date: Fri, 21 Dec 2012 11:07:05 +0200

> Date: Fri, 21 Dec 2012 11:26:59 +0800
> From: Jingtao Xu <jingtaozf@gmail.com>
> 
> I am editing a remote file with tramp, and use org-mode recording my
> work,some timer runs in background.
> the backtrack in gdb shows this
> 
> ,----
> | Program received signal SIGSEGV, Segmentation fault.
> | 0x000000000043a7a9 in compute_line_metrics ()
> |
> | (gdb) bt
> | #0  0x000000000043a7a9 in compute_line_metrics ()
> | #1  0x00000000004466ea in display_mode_line ()
> `----
> 
> and my emacs configuration is very complex with about 10000 lines.

Can you reproduce this with an Emacs compiled without optimizations?
If so, please show the source line where it crashes, and the values of
relevant variables from that source line.  The information you
provided is insufficient for guessing what could be the problem,
because compute_line_metrics is a non-trivial function of substantial
size.

> I also find that emacs will crash(just sometime) when show tooltip with
> following codes:

Can you give a precise recipe for the crashes, starting from "emacs -Q"?

> (defun kid-star-dict-internal (&optional word)
>   (interactive)
>   (let ((word (if word
>                 word
>                 (let ((word (if mark-active
>                               (buffer-substring-no-properties
>                                (region-beginning)
>                                (region-end))
>                               (current-word nil t))))
>                   (if word
>                     word
>                     (read-string
>                      (format "Search the dictionary for (default %s): "
> word)
>                      nil nil word))))))
>     (message "searching for %s ..." word)
>     (cond (windows-os-p
>            (let ((coding-system-for-read (coding-system-from-name "utf-8"))
>                  (coding-system-for-write (coding-system-from-name "utf-8"))
>                  (shell-file-name "d:\\emacs\\bin\\cmdproxy.exe")
>                  (explicit-shell-file-name nil)
>                  (default-directory "~"))
>              (shell-command-to-string
>               (concat "d:/sdcv/sdcv.exe " (kid-sdcv-dictory)
>                       " --non-interactive --utf8-input --utf8-output
> --data-dir D:/sdcv -n "
>                       word))))
>           (t
>            (let ((default-directory "~"))
>              (shell-command-to-string
>               (if (file-exists-p "/usr/bin/sdcv")
>                 (concat "sdcv --non-interactive " (kid-sdcv-dictory) "
> --utf8-input --utf8-output -n " word)
>                 (concat "env WINEPREFIX=~/.wine.org wine
> /home/local/sdcv/sdcv.exe --non-interactive "
>                         (kid-sdcv-dictory) " --utf8-input --utf8-output
> --data-dir /home/local/sdcv"
>                         "-n " word))))))))

Does this cause crashes on Windows or on Unix?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]