* bug#21641: 25.0.50; Emacs crash on network connection?
@ 2015-10-07 13:28 Lars Magne Ingebrigtsen
2015-10-07 16:48 ` Glenn Morris
0 siblings, 1 reply; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 2015-10-07 13:28 UTC (permalink / raw)
To: 21641
In the current trunk,
`M-x eww http://www.nrk.no/ytring/fremtiden-bygges-ikke-med-asfalt-1.12590339'
will crash Emacs, or, if run under gdb, go into an infloop saying
"Maximum string size exceeded", blinking in error, which can't be
stopped from gdb.
These crashes started happening when I updated Emacs a few days ago, and
seem to be related to network traffic.
In GNU Emacs 25.0.50.7 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
of 2015-10-07
Repository revision: 9ed9b7dc953c787518f12da4fa2d28fccf8c1b24
Windowing system distributor 'The X.Org Foundation', version 11.0.11204000
System Description: Debian GNU/Linux 7.8 (wheezy)
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GSETTINGS NOTIFY GNUTLS
LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11
Important settings:
value of $LANG: en_US
locale-coding-system: iso-latin-1-unix
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
Recent messages:
Reading active file via nndraft...done
Reading active file via nnmbox...
Opening nnmbox server...done
Reading active file via nnmbox...done
Checking new news...done
No more unseen articles
http://www.nrk.no/ytring/fremtiden-bygges-ikke-med-asfalt-1.12590339
Copied http://www.nrk.no/ytring/fremtiden-bygges-ikke-med-asfalt-1.12590339
Auto-saving...
Making completion list...
Load-path shadows:
/home/larsi/mgnus/lisp/compface hides ~/pgnus/contrib/compface
/home/larsi/src/clock.el/clock hides /home/larsi/lisp/clock
/home/larsi/src/cddb.el/expect hides /home/larsi/lisp/expect
/home/larsi/src/pvr.el/pvr hides /home/larsi/lisp/pvr
~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard
/home/larsi/src/cddb.el/captitle hides /home/larsi/lisp/captitle
~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example
/home/larsi/mgnus/lisp/format-spec hides /home/larsi/src/emacs/trunk/lisp/format-spec
/home/larsi/lisp/dom hides /home/larsi/src/emacs/trunk/lisp/dom
/home/larsi/mgnus/lisp/hex-util hides /home/larsi/src/emacs/trunk/lisp/hex-util
/home/larsi/mgnus/lisp/color hides /home/larsi/src/emacs/trunk/lisp/color
/home/larsi/mgnus/lisp/md4 hides /home/larsi/src/emacs/trunk/lisp/md4
/home/larsi/mgnus/lisp/password-cache hides /home/larsi/src/emacs/trunk/lisp/password-cache
/home/larsi/mgnus/lisp/dns-mode hides /home/larsi/src/emacs/trunk/lisp/textmodes/dns-mode
/home/larsi/mgnus/lisp/sasl-ntlm hides /home/larsi/src/emacs/trunk/lisp/net/sasl-ntlm
/home/larsi/mgnus/lisp/dns hides /home/larsi/src/emacs/trunk/lisp/net/dns
/home/larsi/mgnus/lisp/sasl-scram-rfc hides /home/larsi/src/emacs/trunk/lisp/net/sasl-scram-rfc
/home/larsi/mgnus/lisp/hmac-def hides /home/larsi/src/emacs/trunk/lisp/net/hmac-def
/home/larsi/mgnus/lisp/ntlm hides /home/larsi/src/emacs/trunk/lisp/net/ntlm
/home/larsi/mgnus/lisp/tls hides /home/larsi/src/emacs/trunk/lisp/net/tls
/home/larsi/mgnus/lisp/rfc2104 hides /home/larsi/src/emacs/trunk/lisp/net/rfc2104
/home/larsi/mgnus/lisp/sasl-digest hides /home/larsi/src/emacs/trunk/lisp/net/sasl-digest
/home/larsi/mgnus/lisp/netrc hides /home/larsi/src/emacs/trunk/lisp/net/netrc
/home/larsi/mgnus/lisp/sasl-cram hides /home/larsi/src/emacs/trunk/lisp/net/sasl-cram
/home/larsi/mgnus/lisp/hmac-md5 hides /home/larsi/src/emacs/trunk/lisp/net/hmac-md5
/home/larsi/mgnus/lisp/dig hides /home/larsi/src/emacs/trunk/lisp/net/dig
/home/larsi/mgnus/lisp/sasl hides /home/larsi/src/emacs/trunk/lisp/net/sasl
/home/larsi/mgnus/lisp/uudecode hides /home/larsi/src/emacs/trunk/lisp/mail/uudecode
/home/larsi/mgnus/lisp/hashcash hides /home/larsi/src/emacs/trunk/lisp/mail/hashcash
/home/larsi/mgnus/lisp/binhex hides /home/larsi/src/emacs/trunk/lisp/mail/binhex
/home/larsi/mgnus/lisp/nndoc hides /home/larsi/src/emacs/trunk/lisp/gnus/nndoc
/home/larsi/mgnus/lisp/mm-partial hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-partial
/home/larsi/mgnus/lisp/gnus-srvr hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-srvr
/home/larsi/mgnus/lisp/mailcap hides /home/larsi/src/emacs/trunk/lisp/gnus/mailcap
/home/larsi/mgnus/lisp/gnus-range hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-range
/home/larsi/mgnus/lisp/rfc1843 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc1843
/home/larsi/mgnus/lisp/nneething hides /home/larsi/src/emacs/trunk/lisp/gnus/nneething
/home/larsi/mgnus/lisp/gnus-logic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-logic
/home/larsi/mgnus/lisp/spam-wash hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-wash
/home/larsi/mgnus/lisp/gnus-cloud hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cloud
/home/larsi/mgnus/lisp/nnmail hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmail
/home/larsi/mgnus/lisp/nnmbox hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmbox
/home/larsi/mgnus/lisp/gssapi hides /home/larsi/src/emacs/trunk/lisp/gnus/gssapi
/home/larsi/mgnus/lisp/gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-agent
/home/larsi/mgnus/lisp/mail-parse hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-parse
/home/larsi/mgnus/lisp/mml-smime hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-smime
/home/larsi/mgnus/lisp/gnus-msg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-msg
/home/larsi/mgnus/lisp/gnus-icalendar hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-icalendar
/home/larsi/mgnus/lisp/gnus-fun hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-fun
/home/larsi/mgnus/lisp/mail-source hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-source
/home/larsi/mgnus/lisp/mm-encode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-encode
/home/larsi/mgnus/lisp/gnus-cache hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cache
/home/larsi/mgnus/lisp/mm-util hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-util
/home/larsi/mgnus/lisp/mm-archive hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-archive
/home/larsi/mgnus/lisp/nnnil hides /home/larsi/src/emacs/trunk/lisp/gnus/nnnil
/home/larsi/mgnus/lisp/mml2015 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml2015
/home/larsi/mgnus/lisp/nnoo hides /home/larsi/src/emacs/trunk/lisp/gnus/nnoo
/home/larsi/mgnus/lisp/messcompat hides /home/larsi/src/emacs/trunk/lisp/gnus/messcompat
/home/larsi/mgnus/lisp/gnus-sync hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sync
/home/larsi/mgnus/lisp/nnweb hides /home/larsi/src/emacs/trunk/lisp/gnus/nnweb
/home/larsi/mgnus/lisp/nnrss hides /home/larsi/src/emacs/trunk/lisp/gnus/nnrss
/home/larsi/mgnus/lisp/legacy-gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/legacy-gnus-agent
/home/larsi/mgnus/lisp/nnspool hides /home/larsi/src/emacs/trunk/lisp/gnus/nnspool
/home/larsi/mgnus/lisp/compface hides /home/larsi/src/emacs/trunk/lisp/gnus/compface
/home/larsi/mgnus/lisp/smime hides /home/larsi/src/emacs/trunk/lisp/gnus/smime
/home/larsi/mgnus/lisp/ietf-drums hides /home/larsi/src/emacs/trunk/lisp/gnus/ietf-drums
/home/larsi/mgnus/lisp/yenc hides /home/larsi/src/emacs/trunk/lisp/gnus/yenc
/home/larsi/mgnus/lisp/gnus-delay hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-delay
/home/larsi/mgnus/lisp/gnus-async hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-async
/home/larsi/mgnus/lisp/nnmh hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmh
/home/larsi/mgnus/lisp/mm-url hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-url
/home/larsi/mgnus/lisp/gnus-picon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-picon
/home/larsi/mgnus/lisp/gnus-bookmark hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bookmark
/home/larsi/mgnus/lisp/gnus-diary hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-diary
/home/larsi/mgnus/lisp/html2text hides /home/larsi/src/emacs/trunk/lisp/gnus/html2text
/home/larsi/mgnus/lisp/nndraft hides /home/larsi/src/emacs/trunk/lisp/gnus/nndraft
/home/larsi/mgnus/lisp/auth-source hides /home/larsi/src/emacs/trunk/lisp/gnus/auth-source
/home/larsi/mgnus/lisp/gnus-bcklg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bcklg
/home/larsi/mgnus/lisp/gnus-win hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-win
/home/larsi/mgnus/lisp/gnus-salt hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-salt
/home/larsi/mgnus/lisp/rfc2045 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2045
/home/larsi/mgnus/lisp/gnus-draft hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-draft
/home/larsi/mgnus/lisp/gnus-spec hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-spec
/home/larsi/mgnus/lisp/nnir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnir
/home/larsi/mgnus/lisp/mm-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-uu
/home/larsi/mgnus/lisp/nngateway hides /home/larsi/src/emacs/trunk/lisp/gnus/nngateway
/home/larsi/mgnus/lisp/gnus-sum hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sum
/home/larsi/mgnus/lisp/mail-prsvr hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-prsvr
/home/larsi/mgnus/lisp/gnus-dup hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dup
/home/larsi/mgnus/lisp/score-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/score-mode
/home/larsi/mgnus/lisp/starttls hides /home/larsi/src/emacs/trunk/lisp/gnus/starttls
/home/larsi/mgnus/lisp/plstore hides /home/larsi/src/emacs/trunk/lisp/gnus/plstore
/home/larsi/mgnus/lisp/gnus-topic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-topic
/home/larsi/mgnus/lisp/gnus-notifications hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-notifications
/home/larsi/mgnus/lisp/registry hides /home/larsi/src/emacs/trunk/lisp/gnus/registry
/home/larsi/mgnus/lisp/mml-sec hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-sec
/home/larsi/mgnus/lisp/nnmaildir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmaildir
/home/larsi/mgnus/lisp/nnbabyl hides /home/larsi/src/emacs/trunk/lisp/gnus/nnbabyl
/home/larsi/mgnus/lisp/sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve
/home/larsi/mgnus/lisp/qp hides /home/larsi/src/emacs/trunk/lisp/gnus/qp
/home/larsi/mgnus/lisp/nnregistry hides /home/larsi/src/emacs/trunk/lisp/gnus/nnregistry
/home/larsi/mgnus/lisp/gnus-art hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-art
/home/larsi/mgnus/lisp/gnus-dired hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dired
/home/larsi/mgnus/lisp/gnus-util hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-util
/home/larsi/mgnus/lisp/nnheader hides /home/larsi/src/emacs/trunk/lisp/gnus/nnheader
/home/larsi/mgnus/lisp/gnus-demon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-demon
/home/larsi/mgnus/lisp/message hides /home/larsi/src/emacs/trunk/lisp/gnus/message
/home/larsi/mgnus/lisp/rfc2231 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2231
/home/larsi/mgnus/lisp/canlock hides /home/larsi/src/emacs/trunk/lisp/gnus/canlock
/home/larsi/mgnus/lisp/mm-extern hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-extern
/home/larsi/mgnus/lisp/gnus-undo hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-undo
/home/larsi/mgnus/lisp/mm-bodies hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-bodies
/home/larsi/mgnus/lisp/gnus-score hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-score
/home/larsi/mgnus/lisp/gnus-mh hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mh
/home/larsi/mgnus/lisp/nnvirtual hides /home/larsi/src/emacs/trunk/lisp/gnus/nnvirtual
/home/larsi/mgnus/lisp/spam-report hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-report
/home/larsi/mgnus/lisp/nndiary hides /home/larsi/src/emacs/trunk/lisp/gnus/nndiary
/home/larsi/mgnus/lisp/sieve-manage hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-manage
/home/larsi/mgnus/lisp/mml1991 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml1991
/home/larsi/mgnus/lisp/gnus-eform hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-eform
/home/larsi/mgnus/lisp/mml hides /home/larsi/src/emacs/trunk/lisp/gnus/mml
/home/larsi/mgnus/lisp/gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gravatar
/home/larsi/mgnus/lisp/nntp hides /home/larsi/src/emacs/trunk/lisp/gnus/nntp
/home/larsi/mgnus/lisp/ecomplete hides /home/larsi/src/emacs/trunk/lisp/gnus/ecomplete
/home/larsi/mgnus/lisp/rtree hides /home/larsi/src/emacs/trunk/lisp/gnus/rtree
/home/larsi/mgnus/lisp/gnus-int hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-int
/home/larsi/mgnus/lisp/gnus-sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sieve
/home/larsi/mgnus/lisp/smiley hides /home/larsi/src/emacs/trunk/lisp/gnus/smiley
/home/larsi/mgnus/lisp/gnus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus
/home/larsi/mgnus/lisp/gnus-cus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cus
/home/larsi/mgnus/lisp/nnfolder hides /home/larsi/src/emacs/trunk/lisp/gnus/nnfolder
/home/larsi/mgnus/lisp/nnmairix hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmairix
/home/larsi/mgnus/lisp/pop3 hides /home/larsi/src/emacs/trunk/lisp/gnus/pop3
/home/larsi/mgnus/lisp/gnus-start hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-start
/home/larsi/mgnus/lisp/nnml hides /home/larsi/src/emacs/trunk/lisp/gnus/nnml
/home/larsi/mgnus/lisp/gnus-vm hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-vm
/home/larsi/mgnus/lisp/gnus-mlspl hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mlspl
/home/larsi/mgnus/lisp/gnus-registry hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-registry
/home/larsi/mgnus/lisp/gnus-ml hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ml
/home/larsi/mgnus/lisp/gnus-gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-gravatar
/home/larsi/mgnus/lisp/spam hides /home/larsi/src/emacs/trunk/lisp/gnus/spam
/home/larsi/mgnus/lisp/gnus-cite hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cite
/home/larsi/mgnus/lisp/flow-fill hides /home/larsi/src/emacs/trunk/lisp/gnus/flow-fill
/home/larsi/mgnus/lisp/mm-view hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-view
/home/larsi/mgnus/lisp/gnus-html hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-html
/home/larsi/mgnus/lisp/gnus-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-uu
/home/larsi/mgnus/lisp/deuglify hides /home/larsi/src/emacs/trunk/lisp/gnus/deuglify
/home/larsi/mgnus/lisp/spam-stat hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-stat
/home/larsi/mgnus/lisp/nndir hides /home/larsi/src/emacs/trunk/lisp/gnus/nndir
/home/larsi/mgnus/lisp/gnus-kill hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-kill
/home/larsi/mgnus/lisp/gnus-ems hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ems
/home/larsi/mgnus/lisp/gnus-group hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-group
/home/larsi/mgnus/lisp/nnagent hides /home/larsi/src/emacs/trunk/lisp/gnus/nnagent
/home/larsi/mgnus/lisp/sieve-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-mode
/home/larsi/mgnus/lisp/rfc2047 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2047
/home/larsi/mgnus/lisp/gmm-utils hides /home/larsi/src/emacs/trunk/lisp/gnus/gmm-utils
/home/larsi/mgnus/lisp/utf7 hides /home/larsi/src/emacs/trunk/lisp/gnus/utf7
/home/larsi/mgnus/lisp/nnimap hides /home/larsi/src/emacs/trunk/lisp/gnus/nnimap
/home/larsi/mgnus/lisp/mm-decode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-decode
/home/larsi/mgnus/lisp/time-date hides /home/larsi/src/emacs/trunk/lisp/calendar/time-date
/home/larsi/mgnus/lisp/parse-time hides /home/larsi/src/emacs/trunk/lisp/calendar/parse-time
Features:
(shadow ecomplete emacsbug sendmail gnus-html gnus-picon sort gnus-cite
smiley ansi-color url-cache mm-archive gnus-async gnus-dup qp gnus-ml
gmane spam-gmane dns mm-url disp-table gnus-fun gnus-mdrtn gnus-topic
pop3 nndoc nnmbox nndraft utf-7 nnmh nnml nnfolder gnutls network-stream
nsm starttls nnir spam-report spam spam-stat gnus-uu yenc gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu
mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range message format-spec rfc822
mml mml-sec mailabbrev gmm-utils mailheader gnus-win gnus-load gnus
gnus-ems gnus-compat nnheader mail-utils movie mkv shr subr-x imdb dom
pvr debug debbugs-gnu easy-mmode derived debbugs soap-client mm-decode
mm-bodies mm-encode url-http tls url-auth mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-gw url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source cl-seq eieio eieio-core gnus-util mm-util help-fns
mail-prsvr password-cache url-vars mailcap warnings xml ido seq byte-opt
bytecomp byte-compile cconv cl-extra help-mode flyspell ispell benchmark
w3m browse-url doc-view dired image-mode timezone w3m-hist w3m-fb
w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util
add-log cl-macs mail-extr jka-compr cl gv cl-loaddefs pcase cl-lib
finder-inf package easymenu epg-config time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
inotify dynamic-setting system-font-setting font-render-setting
x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 546189 21506)
(symbols 48 165809 0)
(miscs 40 131 595)
(strings 32 205200 9754)
(string-bytes 1 7954047)
(vectors 16 30461)
(vector-slots 8 816701 24546)
(floats 8 6743 162)
(intervals 56 2165 883)
(buffers 976 35)
(heap 1024 76107 2910))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 13:28 bug#21641: 25.0.50; Emacs crash on network connection? Lars Magne Ingebrigtsen
@ 2015-10-07 16:48 ` Glenn Morris
2015-10-07 17:14 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Glenn Morris @ 2015-10-07 16:48 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 21641
Lars Magne Ingebrigtsen wrote:
> In the current trunk,
>
> `M-x eww http://www.nrk.no/ytring/fremtiden-bygges-ikke-med-asfalt-1.12590339'
addr2line gives me the following. I confirmed that disabling svg support
makes the crash go away.
emacs_backtrace at src/sysdep.c:2203
terminate_due_to_signal at src/emacs.c:391
deliver_fatal_signal at src/sysdep.c:1598
deliver_thread_signal at src/sysdep.c:1568
deliver_fatal_thread_signal at src/sysdep.c:1606
handle_sigsegv at src/sysdep.c:1688
?? ??:0
STRING_MULTIBYTE at src/lisp.h:1238
styled_format at src/editfns.c:4060
Fformat_message at src/editfns.c:3850
vadd_to_log at src/xdisp.c:9905
image_error at src/image.c:645
image_size_error at src/image.c:651
svg_load_image at src/image.c:9201
svg_load at src/image.c:9137 (discriminator 1)
lookup_image at src/image.c:1753
Fimage_metadata at src/image.c:928
Ffuncall at src/eval.c:2653
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
Ffuncall at src/eval.c:2699
exec_byte_code at src/bytecode.c:880
funcall_lambda at src/eval.c:2876
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 16:48 ` Glenn Morris
@ 2015-10-07 17:14 ` Eli Zaretskii
2015-10-07 17:22 ` Glenn Morris
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2015-10-07 17:14 UTC (permalink / raw)
To: Glenn Morris; +Cc: 21641, larsi
> From: Glenn Morris <rgm@gnu.org>
> Date: Wed, 07 Oct 2015 12:48:17 -0400
> Cc: 21641@debbugs.gnu.org
>
> addr2line gives me the following. I confirmed that disabling svg support
> makes the crash go away.
Probably because all this starts from image.c trying to report some
SVG "size error":
> emacs_backtrace at src/sysdep.c:2203
> terminate_due_to_signal at src/emacs.c:391
> deliver_fatal_signal at src/sysdep.c:1598
> deliver_thread_signal at src/sysdep.c:1568
> deliver_fatal_thread_signal at src/sysdep.c:1606
> handle_sigsegv at src/sysdep.c:1688
> ?? ??:0
> STRING_MULTIBYTE at src/lisp.h:1238
> styled_format at src/editfns.c:4060
> Fformat_message at src/editfns.c:3850
> vadd_to_log at src/xdisp.c:9905
> image_error at src/image.c:645
> image_size_error at src/image.c:651 <<<<<<<<<<<<<<<<<<<<<<<<<<<<
> svg_load_image at src/image.c:9201
> svg_load at src/image.c:9137 (discriminator 1)
Can you show the details of the error message?
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:14 ` Eli Zaretskii
@ 2015-10-07 17:22 ` Glenn Morris
2015-10-07 17:30 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Glenn Morris @ 2015-10-07 17:22 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 21641, larsi
[-- Attachment #1: Type: text/plain, Size: 72 bytes --]
Eli Zaretskii wrote:
> Can you show the details of the error message?
[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 4807 bytes --]
#0 0x000000000054047c in STRING_MULTIBYTE (str=...) at lisp.h:1238
No locals.
#1 0x00000000005da170 in styled_format (nargs=2, args=0x7ffffffd9800,
message=true) at editfns.c:4060
minus_flag = false
space_flag = false
conversion = 115 's'
num_end = 0x6cca19 "s')"
raw_field_width = 0
precision_given = false
plus_flag = false
sharp_flag = false
zero_flag = false
field_width = 0
precision = 18446744073709551615
n0 = 0
format0 = 0x6cca18 "%s')"
convbytes = 1
convsrc = 0x6cca18 "%s')"
format_char = 37 '%'
used = 0
n = 1
initial_buffer = "Invalid image size (see ‘\000\000\000\000\000\365\350\037\001\000\000\000\000\002\000\000\000\016\000\000\000\245\330z\001", '\000' <repeats 12 times>, "\243\353s\001\000\000\000\000\000\206\375\377\377\177\000\000=\002T\000\000\000\000\000\002", '\000' <repeats 15 times>, "\235\tT\000\000\000\000\000\225\206*\001\000\000\000\000\n\000\000\000\000\000\000\000п\000\000\000\000\000\000\340\264\031\001\000\000\000\000S\210\203\001\000\000\000\000\n\000\000\000\000\000\000\000[\272\276\000\000\000\000\000\204\242\222\000\000\000\000\000\035\272\276\000\000\000\000\000\300\216\375\377\377\177\000\000^\237Z\000\000\000\000\000P\223\375"...
buf = 0x7ffffffd85a0 "Invalid image size (see ‘"
bufsize = 4000
max_bufsize = 2305843009213693952
p = 0x7ffffffd85bb ""
buf_save_value_index = 140737353836912
format = 0x6cca1a "')"
end = 0x6cca1c ""
nchars = 25
maybe_combine_byte = false
arg_intervals = false
sa_avail = 16283
sa_count = 272
sa_must_free = false
info = 0x7ffffffd7f20
format_start = 0x6cc9ff "Invalid image size (see `%s')"
formatlen = 29
alloca_size = 101
discarded = 0x7ffffffd7f68 ""
multibyte_format = false
multibyte = true
quoting_style = 0
val = {
i = 8589934594
}
#2 0x00000000005d989f in Fformat_message (nargs=2, args=0x7ffffffd9800)
at editfns.c:3849
No locals.
#3 0x000000000044dcf5 in vadd_to_log (
format=0x6cc9ff "Invalid image size (see `%s')", ap=0x7ffffffd98e8)
at xdisp.c:9905
form_nargs = 1
nargs = 2
args = {{
i = 140737488197716
},
{
i = 3837776
},
{
i = 0
},
{
i = 24533536
},
{
i = 24790912
},
{
i = 24863568
},
{
i = 140737488198192
},
{
i = 140737351948470
},
{
i = 5
},
{
i = 0
}}
args0 = {
i = 140737488197716
}
msg = {
i = 0
}
len = 140737213630304
sa_avail = 24790912
sa_count = 140737351975712
sa_must_free = false
buffer = 0x175c0d0 ""
#4 0x0000000000677849 in image_error (
format=0x6cc9ff "Invalid image size (see `%s')") at image.c:643
ap = {{
gp_offset = 24,
fp_offset = 48,
overflow_arg_area = 0x7ffffffd99c0,
reg_save_area = 0x7ffffffd9900
}}
#5 0x0000000000677863 in image_size_error () at image.c:650
No locals.
#6 0x00000000006843d5 in svg_load_image (f=0x12a7680, img=0x174c040,
contents=0x17b2428 "<svg viewbox=\"0 0 100 100\" role=\"presentation\" aria-hidden=\"true\" shape-rendering=\"auto\"> <use class=\"gray-fill\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#published-time\"></use></svg>",
size=197, filename=0x0) at image.c:9200
rsvg_handle = 0x175c0d0
dimension_data = {
width = 0,
height = 0,
em = 0,
ex = 0
}
err = 0x0
pixbuf = 0x17a9914
width = 0
height = 6782372
pixels = 0x5404a1 <SDATA+24> "H\213@\030\311\303UH\211\345H\203\354\020H\211}\360H\213E\360H\211\307\350\312\377\377\377\311\303UH\211\345H\203\354\020H\211}\360H\211u\370H\213E\360H\211\307\350\254\377\377\377H\213U\370H\001\320\017\266"
rowstride = 32767
ximg = 0x7ffffffd9a3f
specified_bg = {
i = 0
}
background = {
pixel = 472446402651,
red = 0,
green = 0,
blue = 0,
flags = 0 '\000',
pad = 0 '\000'
}
x = 32767
y = -157024
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:22 ` Glenn Morris
@ 2015-10-07 17:30 ` Eli Zaretskii
2015-10-07 17:47 ` Eli Zaretskii
2015-10-07 18:29 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2015-10-07 17:30 UTC (permalink / raw)
To: Glenn Morris; +Cc: 21641, larsi
> From: Glenn Morris <rgm@gnu.org>
> Cc: larsi@gnus.org, 21641@debbugs.gnu.org
> Date: Wed, 07 Oct 2015 13:22:32 -0400
>
> Eli Zaretskii wrote:
>
> > Can you show the details of the error message?
>
> #1 0x00000000005da170 in styled_format (nargs=2, args=0x7ffffffd9800,
> message=true) at editfns.c:4060
> minus_flag = false
> space_flag = false
> conversion = 115 's'
> num_end = 0x6cca19 "s')"
> raw_field_width = 0
> precision_given = false
> plus_flag = false
> sharp_flag = false
> zero_flag = false
> field_width = 0
> precision = 18446744073709551615
> n0 = 0
> format0 = 0x6cca18 "%s')"
> convbytes = 1
> convsrc = 0x6cca18 "%s')"
> format_char = 37 '%'
> used = 0
> n = 1
> initial_buffer = "Invalid image size (see
> ‘\000\000\000\000\000\365\350\037\001\000\000\000\000\002\000\000\000\016\000\000\000\245\330z\001", '\000' <repeats 12 times>
Ouch! Does the below help?
diff --git a/src/image.c b/src/image.c
index b586c53..6add400 100644
--- a/src/image.c
+++ b/src/image.c
@@ -647,7 +647,8 @@ image_error (const char *format, ...)
static void
image_size_error (void)
{
- image_error ("Invalid image size (see `%s')", "max-image-size");
+ image_error ("Invalid image size (see `%s')",
+ build_string ("max-image-size"));
}
\f
^ permalink raw reply related [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:30 ` Eli Zaretskii
@ 2015-10-07 17:47 ` Eli Zaretskii
2015-10-07 17:55 ` Glenn Morris
2015-10-08 5:46 ` Daiki Ueno
2015-10-07 18:29 ` Lars Magne Ingebrigtsen
1 sibling, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2015-10-07 17:47 UTC (permalink / raw)
To: rgm; +Cc: 21641, larsi
> Date: Wed, 07 Oct 2015 20:30:13 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 21641@debbugs.gnu.org, larsi@gnus.org
>
> > initial_buffer = "Invalid image size (see
> > ‘\000\000\000\000\000\365\350\037\001\000\000\000\000\002\000\000\000\016\000\000\000\245\330z\001", '\000' <repeats 12 times>
>
> Ouch! Does the below help?
>
> diff --git a/src/image.c b/src/image.c
> index b586c53..6add400 100644
> --- a/src/image.c
> +++ b/src/image.c
> @@ -647,7 +647,8 @@ image_error (const char *format, ...)
> static void
> image_size_error (void)
> {
> - image_error ("Invalid image size (see `%s')", "max-image-size");
> + image_error ("Invalid image size (see `%s')",
> + build_string ("max-image-size"));
> }
Btw, after making this change, I see a lot of error messages from Glib
(called by librsvg), like this:
(emacs.exe:1624): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed
(And, of course, a lot of "Invalid image size" errors in *Messages*.)
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:47 ` Eli Zaretskii
@ 2015-10-07 17:55 ` Glenn Morris
2015-10-07 18:01 ` Eli Zaretskii
2015-10-08 5:46 ` Daiki Ueno
1 sibling, 1 reply; 11+ messages in thread
From: Glenn Morris @ 2015-10-07 17:55 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 21641, larsi
Eli Zaretskii wrote:
>> Ouch! Does the below help?
No more crash.
> Btw, after making this change, I see a lot of error messages from Glib
> (called by librsvg), like this:
>
> (emacs.exe:1624): GLib-CRITICAL **: g_error_free: assertion 'error
> != NULL' failed
>
> (And, of course, a lot of "Invalid image size" errors in *Messages*.)
Me too.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:55 ` Glenn Morris
@ 2015-10-07 18:01 ` Eli Zaretskii
0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2015-10-07 18:01 UTC (permalink / raw)
To: Glenn Morris; +Cc: larsi, 21641-done
> From: Glenn Morris <rgm@gnu.org>
> Cc: 21641@debbugs.gnu.org, larsi@gnus.org
> Date: Wed, 07 Oct 2015 13:55:46 -0400
>
> Eli Zaretskii wrote:
>
> >> Ouch! Does the below help?
>
> No more crash.
Great, then c026c00 should already fix it (in a slightly different
way). Thanks for confirmation.
Closing.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:30 ` Eli Zaretskii
2015-10-07 17:47 ` Eli Zaretskii
@ 2015-10-07 18:29 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 2015-10-07 18:29 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 21641
Eli Zaretskii <eliz@gnu.org> writes:
> Ouch! Does the below help?
[...]
> - image_error ("Invalid image size (see `%s')", "max-image-size");
> + image_error ("Invalid image size (see `%s')",
> + build_string ("max-image-size"));
Thanks; that fixes the problem for me, too.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-07 17:47 ` Eli Zaretskii
2015-10-07 17:55 ` Glenn Morris
@ 2015-10-08 5:46 ` Daiki Ueno
2015-10-08 15:07 ` Eli Zaretskii
1 sibling, 1 reply; 11+ messages in thread
From: Daiki Ueno @ 2015-10-08 5:46 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: larsi, 21641
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
> Btw, after making this change, I see a lot of error messages from Glib
> (called by librsvg), like this:
>
> (emacs.exe:1624): GLib-CRITICAL **: g_error_free: assertion 'error
> != NULL' failed
How about using g_clear_error to avoid this kind of g_error_free usage?
The function has been there since glib 2.0, so there shouldn't be a
compatibility issue.
gtkutil.c has similar code reusing GError variable, which could be
simplified as well.
Regards,
--
Daiki Ueno
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-image.c-use-g_clear_error-instead-of-g_error_free.patch --]
[-- Type: text/x-patch, Size: 2216 bytes --]
From b2be270bb367d925fce9b53be84771aaeb9691c7 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno@gnu.org>
Date: Thu, 8 Oct 2015 12:43:37 +0900
Subject: [PATCH] image.c: use g_clear_error, instead of g_error_free
* src/image.c: Define g_clear_error, instead of g_error_free.
(init_svg_functions): Resolve DLL function g_clear_error, instead
of g_error_free.
(svg_load_image): Use g_clear_error, instead of g_error_free.
---
src/image.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/image.c b/src/image.c
index 10b067f..418c656 100644
--- a/src/image.c
+++ b/src/image.c
@@ -9004,7 +9004,7 @@ DEF_DLL_FN (int, gdk_pixbuf_get_bits_per_sample, (const GdkPixbuf *));
DEF_DLL_FN (void, g_type_init, (void));
# endif
DEF_DLL_FN (void, g_object_unref, (gpointer));
-DEF_DLL_FN (void, g_error_free, (GError *));
+DEF_DLL_FN (void, g_clear_error, (GError **));
static bool
init_svg_functions (void)
@@ -9042,7 +9042,7 @@ init_svg_functions (void)
LOAD_DLL_FN (gobject, g_type_init);
# endif
LOAD_DLL_FN (gobject, g_object_unref);
- LOAD_DLL_FN (glib, g_error_free);
+ LOAD_DLL_FN (glib, g_clear_error);
return 1;
}
@@ -9058,7 +9058,7 @@ init_svg_functions (void)
# undef gdk_pixbuf_get_pixels
# undef gdk_pixbuf_get_rowstride
# undef gdk_pixbuf_get_width
-# undef g_error_free
+# undef g_clear_error
# undef g_object_unref
# undef g_type_init
# undef rsvg_handle_close
@@ -9076,7 +9076,7 @@ init_svg_functions (void)
# define gdk_pixbuf_get_pixels fn_gdk_pixbuf_get_pixels
# define gdk_pixbuf_get_rowstride fn_gdk_pixbuf_get_rowstride
# define gdk_pixbuf_get_width fn_gdk_pixbuf_get_width
-# define g_error_free fn_g_error_free
+# define g_clear_error fn_g_clear_error
# define g_object_unref fn_g_object_unref
# define g_type_init fn_g_type_init
# define rsvg_handle_close fn_rsvg_handle_close
@@ -9331,7 +9331,7 @@ svg_load_image (struct frame *f, /* Pointer to emacs frame structure. *
/* FIXME: Use error->message so the user knows what is the actual
problem with the image. */
image_error ("Error parsing SVG image `%s'", img->spec);
- g_error_free (err);
+ g_clear_error (&err);
return 0;
}
--
2.4.3
^ permalink raw reply related [flat|nested] 11+ messages in thread
* bug#21641: 25.0.50; Emacs crash on network connection?
2015-10-08 5:46 ` Daiki Ueno
@ 2015-10-08 15:07 ` Eli Zaretskii
0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2015-10-08 15:07 UTC (permalink / raw)
To: Daiki Ueno; +Cc: larsi, 21641
> From: Daiki Ueno <ueno@gnu.org>
> Cc: rgm@gnu.org, 21641@debbugs.gnu.org, larsi@gnus.org
> Date: Thu, 08 Oct 2015 14:46:08 +0900
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Btw, after making this change, I see a lot of error messages from Glib
> > (called by librsvg), like this:
> >
> > (emacs.exe:1624): GLib-CRITICAL **: g_error_free: assertion 'error
> > != NULL' failed
>
> How about using g_clear_error to avoid this kind of g_error_free usage?
Thanks, please install your patch.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-10-08 15:07 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 13:28 bug#21641: 25.0.50; Emacs crash on network connection? Lars Magne Ingebrigtsen
2015-10-07 16:48 ` Glenn Morris
2015-10-07 17:14 ` Eli Zaretskii
2015-10-07 17:22 ` Glenn Morris
2015-10-07 17:30 ` Eli Zaretskii
2015-10-07 17:47 ` Eli Zaretskii
2015-10-07 17:55 ` Glenn Morris
2015-10-07 18:01 ` Eli Zaretskii
2015-10-08 5:46 ` Daiki Ueno
2015-10-08 15:07 ` Eli Zaretskii
2015-10-07 18:29 ` Lars Magne Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.