From: Gary Mills <mills@cc.umanitoba.ca>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked
Date: Sun, 17 Jun 2007 11:01:06 -0500 [thread overview]
Message-ID: <20070617160106.GA8733@cc.umanitoba.ca> (raw)
In-Reply-To: <wl4pl79j6x.wl%mituharu@math.s.chiba-u.ac.jp>
On Sun, Jun 17, 2007 at 03:41:26PM +0900, YAMAMOTO Mitsuharu wrote:
>
> Gosh! I noticed that the mutex code in gmalloc.c did not take effect
> at all because `HAVE_GTK_AND_PTHREAD' is checked before including
> config.h. Could you try moving the following part at the beginning of
> gmalloc.c to just before the first occurrence of '#ifdef USE_PTHREAD'?
>
> #ifdef HAVE_GTK_AND_PTHREAD
> #define USE_PTHREAD
> #endif
Well, I got a different core dump this time...
$ dbx src/emacs core
...
t@2 (l@2) terminated by signal KILL (Killed)
0xfd3416b8: __pollsys+0x0008: blu _cerror ! 0xfd2a2600
(dbx) lwps
l@1 LWP suspended in _write()
>l@2 LWP suspended in __pollsys()
o l@3 signal SIGSEGV in 0x0()
(dbx) lwp l@3
Current function is malloc (optimized)
967 return (__malloc_hook != NULL ? *__malloc_hook : _malloc_internal) (size);
t@3 (l@3) stopped in (unknown) at 0x0
0x00000000: <bad address 0x0>
(dbx) regs
current thread: t@3
current frame: [2]
g0-g1 0x00000000 0x00000000 0x00000000 0x00678000
g2-g3 0x00000000 0x0000006d 0x00000000 0x0084eec0
g4-g5 0x00000000 0x003b2000 0x00000000 0x003a8800
g6-g7 0x00000000 0x00000000 0x00000000 0xfa0f0000
o0-o1 0x00000000 0x00000010 0x00000000 0x00001000
o2-o3 0x00000000 0xfd36ec80 0x00000000 0xfa0f0000
o4-o5 0x00000000 0x00368ae0 0x00000000 0x00000000
o6-o7 0x00000000 0xfa14f5e0 0x00000000 0x00221cc0
l0-l1 0x00000000 0x00000056 0x00000000 0x00000000
l2-l3 0x00000000 0xfd7f2000 0x00000000 0xff39c000
l4-l5 0x00000000 0x00000004 0x00000000 0x00000000
l6-l7 0x00000000 0x00000001 0x00000000 0x001aeba8
i0-i1 0x00000000 0x00000010 0x00000000 0x003ad400
i2-i3 0x00000000 0x00000000 0x00000000 0x003ad400
i4-i5 0x00000000 0x00000000 0x00000000 0x00000001
i6-i7 0x00000000 0xfa14f640 0x00000000 0x0022286c
y 0x00000000 0x00000000
ccr 0x00000000 0xfe001000
pc 0x00000000 0x00221cc0:malloc+0x58 call %i2
npc 0x00000000 0x00000004:0x00000004 <bad address 0x4>
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
next prev parent reply other threads:[~2007-06-17 16:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-09 15:49 emacs-22.1 with GTK dumps core when Gnome wigets clicked Gary Mills
2007-06-10 8:43 ` YAMAMOTO Mitsuharu
2007-06-10 12:51 ` Gary Mills
2007-06-10 13:48 ` YAMAMOTO Mitsuharu
2007-06-10 14:10 ` Gary Mills
2007-06-14 2:16 ` YAMAMOTO Mitsuharu
[not found] ` <20070614184924.GA25414@cc.umanitoba.ca>
2007-06-16 5:22 ` YAMAMOTO Mitsuharu
2007-06-16 13:32 ` Gary Mills
2007-06-16 14:30 ` Gary Mills
2007-06-16 15:40 ` Gary Mills
2007-06-17 6:41 ` YAMAMOTO Mitsuharu
2007-06-17 16:01 ` Gary Mills [this message]
2007-06-18 1:08 ` YAMAMOTO Mitsuharu
2007-06-18 3:03 ` Gary Mills
2007-06-18 9:58 ` YAMAMOTO Mitsuharu
2007-06-16 18:51 ` Richard Stallman
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=20070617160106.GA8733@cc.umanitoba.ca \
--to=mills@cc.umanitoba.ca \
--cc=bug-gnu-emacs@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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).