unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs crash
@ 2015-02-13 15:56 Rusi
  2015-02-13 16:03 ` Rusi
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Rusi @ 2015-02-13 15:56 UTC (permalink / raw)
  To: help-gnu-emacs

emacs crashes with this (below)

Does not happen with -Q
Happens with -q
Can file bug report but not clear whether its debian or emacs.

Happens as follows:
Start emacs -q
Goto options set default font and pull slider to a large value
Click once -- beep.
Click again -- crash!
=================================
Fatal error 11: Segmentation fault
Backtrace:
emacs[0x8138719]
emacs[0x8120446]
emacs[0x813758e]
emacs[0x81375fb]
linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7723d18]
/lib/i386-linux-gnu/libglib-2.0.so.0(g_main_loop_quit+0x18)[0xb6809548]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__INTv+0x50)[0xb68fa920]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0xda5f)[0xb68f8a5f]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x889)[0xb69127f9]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x25)[0xb69130d5]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(gtk_dialog_response+0x72)[0xb6f22042]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0x1583e7)[0xb6f223e7]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x6c)[0xb68fa46c]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x14b)[0xb68f883b]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0x1f855)[0xb690a855]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf6a)[0xb6912eda]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x25)[0xb69130d5]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(gtk_button_clicked+0x71)[0xb6ebb6f1]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0xf18cd)[0xb6ebb8cd]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0xf1926)[0xb6ebb926]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOIDv+0x27)[0xb68fa4c7]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0xc2e2)[0xb68f72e2]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0xda5f)[0xb68f8a5f]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x889)[0xb69127f9]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x25)[0xb69130d5]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0xef71b)[0xb6eb971b]
/usr/lib/i386-linux-gnu/libffi.so.6(ffi_call_SYSV+0x1a)[0xb5744a82]
/usr/lib/i386-linux-gnu/libffi.so.6(ffi_call+0x76)[0xb5744556]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_generic_va+0x21d)[0xb68f93bd]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0xda5f)[0xb68f8a5f]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x889)[0xb69127f9]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x25)[0xb69130d5]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0x19d354)[0xb6f67354]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXEDv+0x4e)[0xb68fb47e]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0xc2e2)[0xb68f72e2]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0xda5f)[0xb68f8a5f]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x889)[0xb69127f9]
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x25)[0xb69130d5]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0x19a94d)[0xb6f6494d]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0x19be51)[0xb6f65e51]
/usr/lib/i386-linux-gnu/libgtk-3.so.0(+0x19e9e4)[0xb6f689e4]
...
Segmentation fault


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs crash
  2015-02-13 15:56 emacs crash Rusi
@ 2015-02-13 16:03 ` Rusi
  2015-02-14  6:44 ` Alexis
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Rusi @ 2015-02-13 16:03 UTC (permalink / raw)
  To: help-gnu-emacs

On Friday, February 13, 2015 at 9:26:37 PM UTC+5:30, Rusi wrote:
> emacs crashes with this (below)

Should have said:
emacs 24.4.1
on debian testing
xfce4 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs crash
  2015-02-13 15:56 emacs crash Rusi
  2015-02-13 16:03 ` Rusi
@ 2015-02-14  6:44 ` Alexis
       [not found] ` <mailman.35.1423896300.31049.help-gnu-emacs@gnu.org>
  2015-02-14 17:53 ` Robert Thorpe
  3 siblings, 0 replies; 7+ messages in thread
From: Alexis @ 2015-02-14  6:44 UTC (permalink / raw)
  To: help-gnu-emacs

 
On 2015-02-14T02:56:34+1100, Rusi said: 
 
 R> emacs crashes with this (below) 
 
 R> Does not happen with -Q Happens with -q Can file bug report 
 but R> not clear whether its debian or emacs. 
 
 R> Happens as follows: Start emacs -q Goto options set default 
 font R> and pull slider to a large value Click once -- beep. 
 Click again R> -- crash!  ================================= Fatal 
 error 11: R> Segmentation fault

i'm on Debian Wheezy x86_64 (+updates), running a manually 
compiled Emacs 24.4.1, and have not so far managed to reproduce 
this. However, i'm not sure what you mean by "Click once" and 
"Click again" - where are you clicking in each instance?


Alexis.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs crash
       [not found] ` <mailman.35.1423896300.31049.help-gnu-emacs@gnu.org>
@ 2015-02-14 10:23   ` Rusi
  2015-02-14 11:10     ` Alexis
  0 siblings, 1 reply; 7+ messages in thread
From: Rusi @ 2015-02-14 10:23 UTC (permalink / raw)
  To: help-gnu-emacs

On Saturday, February 14, 2015 at 12:15:02 PM UTC+5:30, Alexis wrote:
> On 2015-02-14T02:56:34+1100, Rusi said: 
>  
>  R> emacs crashes with this (below) 
>  
>  R> Does not happen with -Q Happens with -q Can file bug report 
>  but R> not clear whether its debian or emacs. 
>  
>  R> Happens as follows: Start emacs -q Goto options set default 
>  font R> and pull slider to a large value Click once -- beep. 
>  Click again R> -- crash!  ================================= Fatal 
>  error 11: R> Segmentation fault
> 
> i'm on Debian Wheezy x86_64 (+updates), running a manually 
> compiled Emacs 24.4.1, and have not so far managed to reproduce 
> this. However, i'm not sure what you mean by "Click once" and 
> "Click again" - where are you clicking in each instance?
> 
> 
> Alexis.

Menu → Options → Set Default Font → (Slide the font value up and then) SELECT (button)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs crash
  2015-02-14 10:23   ` Rusi
@ 2015-02-14 11:10     ` Alexis
  0 siblings, 0 replies; 7+ messages in thread
From: Alexis @ 2015-02-14 11:10 UTC (permalink / raw)
  To: help-gnu-emacs


On 2015-02-14T21:23:49+1100, Rusi said:

 R> Menu → Options → Set Default Font → (Slide the font value up 
 and R> then) SELECT (button)

That's what i guessed, and that's what i did - i don't get a 
segfault. However, i'm on Debian stable, not testing, so it might 
be an issue with one of the libraries used by testing to build 
Emacs; you might like to report it as a Debian bug:

https://www.debian.org/Bugs/Reporting

Existing bug reports for Emacs on testing can be found here:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=emacs;dist=testing


Alexis.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs crash
  2015-02-13 15:56 emacs crash Rusi
                   ` (2 preceding siblings ...)
       [not found] ` <mailman.35.1423896300.31049.help-gnu-emacs@gnu.org>
@ 2015-02-14 17:53 ` Robert Thorpe
  3 siblings, 0 replies; 7+ messages in thread
From: Robert Thorpe @ 2015-02-14 17:53 UTC (permalink / raw)
  To: Rusi; +Cc: help-gnu-emacs

Rusi <rustompmody@gmail.com> writes:

> emacs crashes with this (below)
>
> Does not happen with -Q
> Happens with -q
> Can file bug report but not clear whether its debian or emacs.

-Q disables loading of .emacs/init.el and site-start.el.  -q disables
loading of .emacs/init.el but not site-start.el.  So, the problem is
probably in site-start.el which is a debian file.

> Happens as follows:
> Start emacs -q
> Goto options set default font and pull slider to a large value
> Click once -- beep.
> Click again -- crash!

I see no problem on Xubuntu.  You clarified that "click once" means
click on "Select".  What does "Click again" mean?  When I click on
select the pop-up window disappears and I see the Emacs frame with huge
text.  I can click on things in the frame with no problem.

BR,
Robert Thorpe



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Emacs crash
@ 2016-06-20 14:17 Rusi
  0 siblings, 0 replies; 7+ messages in thread
From: Rusi @ 2016-06-20 14:17 UTC (permalink / raw)
  To: help-gnu-emacs

Can someone check this recipe for crashing emacs please?

Ubuntu 16.4 running vanilla Unity -- yes this is likely related to X/WM stuff
emacs 24.5.1

1 Start emacs with
$ emacs --daemon

init contains just this 2 line function:

(defun kill-later ()
  (run-with-timer 1 nil 'save-buffers-kill-emacs))


2. 
$ emacsclient -n -c somefile
[somefile exists]

3. Write something there (ie dirty it and get a '*' in modeline)

4. Remove the frame by clicking the X in the frame

5. Try to kill emacs with
$ emacsclient -c  -e '(kill-later)'

6. top shows emacs running at 100% usage

7. killing it in top causes an apport crash

Note 1 Why is kill-later defined in that round-about way?
Because directly invoking save-buffers-kill-emacs from emacsclient
makes the -n option ignored
This in turn causes the save-buffers-kill-emacs to say "You have clients"

Note 2 If an emacs frame is present the save-buffer dialog appears as expected
and there is no issue 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-20 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 15:56 emacs crash Rusi
2015-02-13 16:03 ` Rusi
2015-02-14  6:44 ` Alexis
     [not found] ` <mailman.35.1423896300.31049.help-gnu-emacs@gnu.org>
2015-02-14 10:23   ` Rusi
2015-02-14 11:10     ` Alexis
2015-02-14 17:53 ` Robert Thorpe
  -- strict thread matches above, loose matches on Subject: below --
2016-06-20 14:17 Emacs crash Rusi

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).