[Top][All Lists]

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

Re: M-x dired //<server>/<sharename> crashes emacs

From: Eli Zaretskii
Subject: Re: M-x dired //<server>/<sharename> crashes emacs
Date: Mon, 21 May 2007 23:13:17 +0300

> Date: Mon, 21 May 2007 09:11:16 +0200
> From: Rainer Stengele <address@hidden>
> Cc: "address@hidden" <address@hidden>
> >>>>> M-x dired
> >>>>> //<server>/<sharename>
> >>>>>
> >>>>>
> >>>>> crashes my emacs w32 repeatable. Emacs asks to attach the gdb debugger
> >>>>> but that doesn't really help.

FWIW, I tried this on my machine, and it didn't crash.

> > Can you try running Emacs under gdb to start with? That way gdb will
> > hopefully catch the error before the stack is messed up, or whatever it
> > is that is preventing it from helping when you attach it after the fact.
> >
> >   
> hi and thanx.
> can you give me a short outline how to setup gdb under windows xp or 
> point me to some resources?

No setup is needed.  Just download and install a MinGW port of GDB
from the MinGW site, and then chdir to the Emacs src directory and run
Emacs like this:

     c:\whatever> gdb ../bin/emacs.exe

(This assumes that emacs.exe is installed in a directory that is a
sibling to the src directory under the same parent directory.)  Note
that it is imperative that you start GDB from the src directory, since
we need it to read the file src/.gdbinit which defines various useful
commands for debugging Emacs.

After you start GDB like above, type at the GDB prompt:

    (gdb) run -Q

and then, after Emacs finishes its startup, invoke the dired command
as you did to crash it.

reply via email to

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