GNU bug report logs -
#12390
24.2.50 ; NS variant of GNU Emacs crashes at launch time
Previous Next
Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Date: Sat, 8 Sep 2012 19:21:01 UTC
Severity: normal
Found in version 24.2.50
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12390 in the body.
You can then email your comments to 12390 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12390
; Package
emacs
.
(Sat, 08 Sep 2012 19:21:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 08 Sep 2012 19:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello!
At "revno: 109934" I configured
env LANG=C ./configure --without-sound --without-dbus --without-pop
--without-gconf --without-gpm --without-gsettings --without-selinux --
without-gif --without-jpeg --without-png --without-rsvg --without-
tiff --without-xpm --with-ns --disable-ns-self-contained --x-
libraries=/opt/local/lib --x-includes=/opt/local/include --enable-
locallisppath=/Library/Application\ Support/Emacs/calendar24:/Library/
Application\ Support/Emacs CFLAGS="-g3 -H -pipe -fPIC -fno-common -O0
-mcpu=7450 -mtune=7450" CC=gcc-4.0 CXX=g++-4.0 CPPFLAGS="" LDFLAGS="-
L/opt/local/lib -v -Wl,-v -Wl,-bind_at_load -Wl,-t" PKG_CONFIG_PATH=/
opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr/lib/
pkgconfig:/usr/lib/pkgconfig
When I launch from emacs-24.2.50/nextstep Emacs.app it crashes. In
Console this is reported:
2012-09-08 17:01:41.790 Emacs[8452] *** -[EmacsImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]:
selector not recognized [self = 0x39903c0]
2012-09-08 17:01:41.791 Emacs[8452] An uncaught exception was raised
2012-09-08 17:01:41.800 Emacs[8452] *** -[EmacsImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]:
selector not recognized [self = 0x39903c0]
2012-09-08 17:01:41.801 Emacs[8452] *** Uncaught exception:
<NSInvalidArgumentException> *** -[EmacsImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]:
selector not recognized [self = 0x39903c0]
Here is a gud-gdb session. It contains some non-UTF-8 bytes so that
it can't be pasted into the eMail.
[debug-backtrace (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
--
Greetings
Pete
"Indentation?! I will show you how to indent when I indent your skull!"
Reply sent
to
Jan Djärv <jan.h.d <at> swipnet.se>
:
You have taken responsibility.
(Sat, 08 Sep 2012 20:32:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
bug acknowledged by developer.
(Sat, 08 Sep 2012 20:32:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 12390-done <at> debbugs.gnu.org (full text, mbox):
Hello.
I forgot to check the version on drawInRect (10.6) when I added it. The oldest I have is 10.6. I have reintroduced the deprecated method for older versions.
Try again,
Jan D.
8 sep 2012 kl. 21:17 skrev Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
> Hello!
>
> At "revno: 109934" I configured
>
> env LANG=C ./configure --without-sound --without-dbus --without-pop --without-gconf --without-gpm --without-gsettings --without-selinux --without-gif --without-jpeg --without-png --without-rsvg --without-tiff --without-xpm --with-ns --disable-ns-self-contained --x-libraries=/opt/local/lib --x-includes=/opt/local/include --enable-locallisppath=/Library/Application\ Support/Emacs/calendar24:/Library/Application\ Support/Emacs CFLAGS="-g3 -H -pipe -fPIC -fno-common -O0 -mcpu=7450 -mtune=7450" CC=gcc-4.0 CXX=g++-4.0 CPPFLAGS="" LDFLAGS="-L/opt/local/lib -v -Wl,-v -Wl,-bind_at_load -Wl,-t" PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/lib/pkgconfig
>
> When I launch from emacs-24.2.50/nextstep Emacs.app it crashes. In Console this is reported:
>
> 2012-09-08 17:01:41.790 Emacs[8452] *** -[EmacsImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]: selector not recognized [self = 0x39903c0]
> 2012-09-08 17:01:41.791 Emacs[8452] An uncaught exception was raised
> 2012-09-08 17:01:41.800 Emacs[8452] *** -[EmacsImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]: selector not recognized [self = 0x39903c0]
> 2012-09-08 17:01:41.801 Emacs[8452] *** Uncaught exception: <NSInvalidArgumentException> *** -[EmacsImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]: selector not recognized [self = 0x39903c0]
>
> Here is a gud-gdb session. It contains some non-UTF-8 bytes so that it can't be pasted into the eMail.
>
> <debug-backtrace>
>
> --
> Greetings
>
> Pete
>
> "Indentation?! I will show you how to indent when I indent your skull!"
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12390
; Package
emacs
.
(Sat, 08 Sep 2012 20:49:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 12390 <at> debbugs.gnu.org (full text, mbox):
I made a desperate attempt to avoid the optimisation for my processor
hardware, but the failure persists:
pete 263 /\ nextstep/Emacs.app/Contents/MacOS/Emacs -Q
*** Warning: font in family 'LucidaSans-Typewriter' not found
*** Warning: font in family 'LucidaSans-Typewriter' not found
Fatal error 10: Bus error
C-c C-cAbort (core dumped)
Exit 134
The font family exists:
ftxinstalledfonts -flp | egrep 'Typewri|Locat' | egrep 'Lucida|Locat'
Font ID PostScript name Full name Location
20 8813 LucidaSans-TypewriterBoldOblique Lucida Sans
Typewriter Bold Oblique /System/Library/Frameworks/
JavaVM.framework/Versions/1.3.1/Home/lib/fonts/
LucidaTypewriterBoldOblique.ttf
201 8997 LucidaSans-TypewriterBold Lucida Sans
Typewriter Bold /System/Library/Frameworks/JavaVM.framework/
Versions/1.3.1/Home/lib/fonts/LucidaTypewriterBold.ttf
202 8999 LucidaSans-TypewriterBold Lucida Sans
Typewriter Bold /System/Library/Frameworks/JavaVM.framework/
Versions/1.5.0/Home/lib/fonts/LucidaTypewriterBold.ttf
231 9028 LucidaSans-TypewriterOblique Lucida Sans
Typewriter Oblique /System/Library/Frameworks/JavaVM.framework/
Versions/1.3.1/Home/lib/fonts/LucidaTypewriterOblique.ttf
362 9161 LucidaSans-Typewriter Lucida Sans Typewriter
Regular /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/
Home/lib/fonts/LucidaTypewriterRegular.ttf
363 9163 LucidaSans-Typewriter Lucida Sans Typewriter
Regular /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home/lib/fonts/LucidaTypewriterRegular.ttf
… but maybe I should clean it up!
In that case only a strip appeared near the upper left corner of the
screen. Its width was approximately that of the scroll-bar, the
height approximately half of the screen. The strip accepted commands
like C-x 5 2 – which produced a second strip.
pete 264 /\ nextstep/Emacs.app/Contents/MacOS/Emacs -q
2012-09-08 22:18:46.348 Emacs[28284] *** -[EmacsImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]:
selector not recognized [self = 0x3a20b10]
2012-09-08 22:18:46.348 Emacs[28284] An uncaught exception was raised
2012-09-08 22:18:46.349 Emacs[28284] *** -[EmacsImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]:
selector not recognized [self = 0x3a20b10]
2012-09-08 22:18:46.349 Emacs[28284] *** Uncaught exception:
<NSInvalidArgumentException> *** -[EmacsImage
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]:
selector not recognized [self = 0x3a20b10]
Fatal error 5: Trace/BPT trapAbort (core dumped)
Exit 134
The initial frame appeared, showing the completely empty *scratch*
buffer and also the tool-bar (which I usually have hidden). The frame
title seemed to have been initially "Emacs", which soon changed to
"*GNU Emacs*".
--
Greetings
Pete
Isn't vi that text editor with two modes... one that beeps and one
that corrupts your file?
– Dan Jacobson, on comp.os.linux.advocacy
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12390
; Package
emacs
.
(Sat, 08 Sep 2012 21:10:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 12390 <at> debbugs.gnu.org (full text, mbox):
Hello.
The font issue is unrelated, open a separate bug for that.
But I'm afraid you have to debug it yourself, it is most likely something in your environment. I don't think any Emacs maintainer has 10.4.
Jan D.
8 sep 2012 kl. 22:45 skrev Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
> I made a desperate attempt to avoid the optimisation for my processor hardware, but the failure persists:
>
> pete 263 /\ nextstep/Emacs.app/Contents/MacOS/Emacs -Q
> *** Warning: font in family 'LucidaSans-Typewriter' not found
> *** Warning: font in family 'LucidaSans-Typewriter' not found
> Fatal error 10: Bus error
> C-c C-cAbort (core dumped)
> Exit 134
>
> The font family exists:
>
> ftxinstalledfonts -flp | egrep 'Typewri|Locat' | egrep 'Lucida|Locat'
> Font ID PostScript name Full name Location
> 20 8813 LucidaSans-TypewriterBoldOblique Lucida Sans Typewriter Bold Oblique /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/fonts/LucidaTypewriterBoldOblique.ttf
> 201 8997 LucidaSans-TypewriterBold Lucida Sans Typewriter Bold /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/fonts/LucidaTypewriterBold.ttf
> 202 8999 LucidaSans-TypewriterBold Lucida Sans Typewriter Bold /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/fonts/LucidaTypewriterBold.ttf
> 231 9028 LucidaSans-TypewriterOblique Lucida Sans Typewriter Oblique /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/fonts/LucidaTypewriterOblique.ttf
> 362 9161 LucidaSans-Typewriter Lucida Sans Typewriter Regular /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/fonts/LucidaTypewriterRegular.ttf
> 363 9163 LucidaSans-Typewriter Lucida Sans Typewriter Regular /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/fonts/LucidaTypewriterRegular.ttf
>
> … but maybe I should clean it up!
>
> In that case only a strip appeared near the upper left corner of the screen. Its width was approximately that of the scroll-bar, the height approximately half of the screen. The strip accepted commands like C-x 5 2 – which produced a second strip.
>
> pete 264 /\ nextstep/Emacs.app/Contents/MacOS/Emacs -q
> 2012-09-08 22:18:46.348 Emacs[28284] *** -[EmacsImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]: selector not recognized [self = 0x3a20b10]
> 2012-09-08 22:18:46.348 Emacs[28284] An uncaught exception was raised
> 2012-09-08 22:18:46.349 Emacs[28284] *** -[EmacsImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]: selector not recognized [self = 0x3a20b10]
> 2012-09-08 22:18:46.349 Emacs[28284] *** Uncaught exception: <NSInvalidArgumentException> *** -[EmacsImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]: selector not recognized [self = 0x3a20b10]
> Fatal error 5: Trace/BPT trapAbort (core dumped)
> Exit 134
>
> The initial frame appeared, showing the completely empty *scratch* buffer and also the tool-bar (which I usually have hidden). The frame title seemed to have been initially "Emacs", which soon changed to "*GNU Emacs*".
>
> --
> Greetings
>
> Pete
>
> Isn't vi that text editor with two modes... one that beeps and one that corrupts your file?
> – Dan Jacobson, on comp.os.linux.advocacy
>
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12390
; Package
emacs
.
(Sat, 08 Sep 2012 23:24:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 12390-done <at> debbugs.gnu.org (full text, mbox):
Am 08.09.2012 um 22:31 schrieb Jan Djärv:
> I forgot to check the version on drawInRect (10.6) when I added
> it. The oldest I have is 10.6. I have reintroduced the deprecated
> method for older versions.
It builds, but it also writes into the Console:
ns_update_window_end
ns_update_window_begin
ns_update_window_end
ns_update_window_begin
ns_update_window_end
ns_update_window_begin
ns_update_window_end
ns_update_window_begin
ns_update_window_end
-[EmacsWindow constrainFrameRect:toScreen:] 753/25 559/843 => 753/25
559/843
-[EmacsView updateFrameSize] 104 559
-[EmacsWindow constrainFrameRect:toScreen:] 753/12 559/856 => 753/12
559/856
-[EmacsView updateFrameSize] 104 559
-[EmacsView updateFrameSize] 104 559
Particularly the ns_update_window calls don't seem to end.
--
Greetings
Pete
Bake pizza not war!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12390
; Package
emacs
.
(Sun, 09 Sep 2012 08:47:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 12390-done <at> debbugs.gnu.org (full text, mbox):
9 sep 2012 kl. 01:20 skrev Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
>
> Am 08.09.2012 um 22:31 schrieb Jan Djärv:
>
>> I forgot to check the version on drawInRect (10.6) when I added it. The oldest I have is 10.6. I have reintroduced the deprecated method for older versions.
>
>
> It builds, but it also writes into the Console:
>
> ns_update_window_end
> ns_update_window_begin
> ns_update_window_end
> ns_update_window_begin
> ns_update_window_end
> ns_update_window_begin
> ns_update_window_end
> ns_update_window_begin
> ns_update_window_end
> -[EmacsWindow constrainFrameRect:toScreen:] 753/25 559/843 => 753/25 559/843
> -[EmacsView updateFrameSize] 104 559
> -[EmacsWindow constrainFrameRect:toScreen:] 753/12 559/856 => 753/12 559/856
> -[EmacsView updateFrameSize] 104 559
> -[EmacsView updateFrameSize] 104 559
>
> Particularly the ns_update_window calls don't seem to end.
>
Sorry, my fault. Now fixed.
Jan D.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 07 Oct 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 213 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.