crash on opening files

Bug #1679580 reported by G.M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs25 (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ emacs ~/.Rprofile

(emacs:25494): GLib-ERROR **: creating thread 'dconf worker': Error creating thread: Resource temporarily unavailable
Fatal error 5: Trace/breakpoint trap
Backtrace:
emacs[0x50b7ec]
emacs[0x4f1bac]
emacs[0x509f5e]
emacs[0x50a189]
emacs[0x50a229]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11620)[0x7f6450d04620]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4fde1)[0x7f645742cde1]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_default_handler+0xc7)[0x7f645742de37]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x1e4)[0x7f645742e144]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7f645742e34f]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_thread_new+0x8b)[0x7f645744f37b]
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so(+0x7437)[0x7f63d99d8437]
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so(+0x74fb)[0x7f63d99d84fb]
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so(+0x53ba)[0x7f63d99d63ba]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x15427)[0x7f6457706427]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x44e)[0x7f6457707dbe]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xf1)[0x7f6457708061]
emacs[0x4df1d5]
emacs[0x4cef8a]
emacs[0x4d1807]
emacs[0x566766]
emacs[0x59b823]
emacs[0x56657b]
emacs[0x567bac]
emacs[0x566689]
emacs[0x59b823]
emacs[0x56657b]
emacs[0x59b823]
emacs[0x56657b]
emacs[0x59b823]
emacs[0x5655f8]
emacs[0x56595a]
emacs[0x56922c]
emacs[0x564e92]
emacs[0x4f47d0]
emacs[0x564e33]
emacs[0x4f201d]
emacs[0x4f6857]
emacs[0x4f6ba8]
emacs[0x419e92]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f64507303f1]
...
Trace/breakpoint trap

Strangely, it works in another terminal, so I might have hit some strange key combi that led to a reconfig of the terminal that does not suit Emacs' expectations...

FYI
$ env
LC_ALL=
GRAILS_OPTS=-Ddisable.auto.recompile=true -Xmx1536M -server -Dhttp.proxyHost=cache.polytechnique.fr -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts='localhost,127.0.0.1'
LC_MEASUREMENT=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_MONETARY=C
LANG=en_US.UTF-8
GDM_LANG=en_US
HISTCONTROL=ignoredups
DISPLAY=:0.0
GRAILS_HOME=/usr/local/grails-2.3.0/
IGNOREEOF=0
GPG_TTY=/dev/pts/3
GTK2_MODULES=overlay-scrollbar
JAVA_OPTS=-Xmx1G -server
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
NO_AT_BRIDGE=1
XDG_VTNR=7
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
GIT_EDITOR=emacs
SSH_AUTH_SOCK=/tmp/ssh-2ZHYWXHa9KTq/agent.2172
MANDATORY_PATH=/usr/share/gconf/awesome.mandatory.path
LC_NAME=en_US.UTF-8
XDG_SESSION_ID=c4
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/guillaume
XTERM_SHELL=/bin/bash
USER=guillaume
DESKTOP_SESSION=awesome
LC_COLLATE=C
PGPASSWORD=
DEFAULTS_PATH=/usr/share/gconf/awesome.default.path
PWD=/home/guillaume/NEW_SAINTETIENNE/Perso/RedDigits/images
HOME=/home/guillaume
LC_CTYPE=en_US.UTF-8
SSH_AGENT_PID=2305
QT_ACCESSIBILITY=1
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/awesome:/usr/local/share/:/usr/share/
HISTFILE=/home/guillaume/.bash_history
SVN_EDITOR=emacs
JDK_HOME=/usr/lib/jvm/java-8-openjdk-amd64
XDG_SESSION_DESKTOP=awesome
R_HOME=/usr/lib/R
LC_ADDRESS=en_US.UTF-8
LC_NUMERIC=C
XTERM_VERSION=XTerm(324)
GTK_MODULES=gail:atk-bridge
UBUNTU_MENUPROXY=libappmenu.so
LIBOVERLAY_SCROLLBAR=0
TERM=xterm-256color
SHELL=/bin/bash
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
LC_MESSAGES=en_US.UTF-8
SVN_SSH=ssh -p 22
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
SHLVL=1
XDG_SEAT=seat0
LANGUAGE=en_US:en
PYTHONPATH=:/usr/local/lib/python2.6/:.
PRINTER=
WINDOWID=90177551
LC_TELEPHONE=en_US.UTF-8
GDMSESSION=awesome
_JAVA_AWT_WM_NONREPARENTING=1
LOGNAME=guillaume
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=/home/guillaume/.Xauthority
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_CONFIG_DIRS=/etc/xdg/xdg-awesome:/etc/xdg
PATH=/usr/local/grails-2.3.0/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/X11R6/bin/:/sbin:/usr/local/bin:/home/guillaume/Softs/:/home/guillaume/Softs/eclipse:/home/guillaume/Softs/SublimeText3:/usr/share/go/src/pkg/github.com/t3rm1n4l/megacmd/
LC_IDENTIFICATION=en_US.UTF-8
PS1=$(__stat) \[\e[1m\e[38;5;220m\]\u\001\033[0m\002@\h:\W$
WEKA_HOME=/home/guillaume/.wekafiles/
HISTSIZE=300
HISTFILESIZE=150
XTERM_LOCALE=en_US.UTF-8
LC_TIME=C
OLDPWD=/home/guillaume/NEW_SAINTETIENNE/Perso/RedDigits
_=/usr/bin/env

Revision history for this message
G.M. (sexxxenator) wrote :

Hi,

I just realized this crash occurs when I start Emacs right after closing R...

PS: bug also submitted to <email address hidden>

------ ~/.Renviron
R_LIBS=~/.R/x86_64-pc-linux-gnu-library/3.2/
R_LIBS_USER=~/.R/x86_64-pc-linux-gnu-library/3.2

PAGER=/usr/bin/less
R_HISTFILE=~/.Rhistory

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8

------ ~/.Rprofile
.First <- function() {
    # Reload last typed commands
    if (!any(commandArgs()=='--no-readline') && interactive()){
        require(utils)
        try(loadhistory(Sys.getenv("R_HISTFILE")))
    }
    options(quiet=TRUE)
    options(continue=" ")
    options(download.file.method="wget")
    options(repos=c("http://cran.univ-lyon1.fr", "http://cran.irsn.fr"))
    options(showWarnCalls=T, showErrorCalls=T)

    .libPaths("~/.R/x86_64-pc-linux-gnu-library/3.2")
}

# Set width and add date+color to the prompt
updatePrompt <- function(...)
{
    # Add Time + Colors
    options(menu.graphics=FALSE,
            prompt=paste("\001\033[01;32m\002", format(Sys.time(),"%H:%M:%S"), "R > \001\033[00m\002")) ;
    return(invisible(TRUE)) ;
}
updatePrompt() ;
invisible(addTaskCallback(updatePrompt)) ;

# Some useful aliases
cd <- setwd
pwd <- getwd
lss <- dir

# Use Evince as the pdf viewer
options("pdfviewer"="evince")
# Use Firefox as the html viewer
options("htmlviewer"="firefox -new-tab")
# Use Firefox as the browser
options("browser"="firefox -new-tab")

# Does not work!
.Last <- function() {
        if (!any(commandArgs()=='--no-readline') && interactive()){
                require(utils)
                try(savehistory(Sys.getenv("R_HISTFILE")))
        }
}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.