Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# This tries to import PGP data contained in a mail message
# Depends on:
# - GPGKEY having the value of my key
# - gpglist (part of signing-party package) (perl scripts)
# -
#
# Programs used
ZN=zenity
Thread 1 "astroid" received signal SIGSEGV, Segmentation fault.
0x0000555555916665 in std::vector<Astroid::Account, std::allocator<Astroid::Account> >::~vector (this=0x69737265762e756e, __in_chrg=<optimized out>)
at /usr/include/c++/7.2.1/bits/stl_vector.h:434
434 { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
(gdb) bt
#0 0x0000555555916665 in std::vector<Astroid::Account, std::allocator<Astroid::Account> >::~vector() (this=0x69737265762e756e, __in_chrg=<optimized out>)
at /usr/include/c++/7.2.1/bits/stl_vector.h:434
#1 0x000055555591554a in Astroid::AccountManager::~AccountManager() (this=0x69737265762e756e, __in_chrg=<optimized out>) at /home/mrb/dat/src/mail/astroid/src/account_manager.cc:122
#2 0x00005555557a3563 in Astroid::Astroid::~Astroid() (this=0x555555ca6150, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/mrb/dat/src/mail/astroid/src/astroid.cc:405
#3 0x00005555557a36b4 in Astroid::Astroid::~Astroid() (this=0x555555ca6150, __in_chrg=<optimize
jan 10 13:26:48 t510 systemd-coredump[7837]: Process 7832 (astroid) of user 1000 dumped core.
Stack trace of thread 7832:
#0 0x00005598bd0892df _ZNSt6vectorIN7Astroid7AccountESaIS1_EED2Ev (astroid)
#1 0x00005598bd0881c4 _ZN7Astroid14AccountManagerD2Ev (astroid)
#2 0x00005598bcf16523 _ZN7Astroid7AstroidD1Ev (astroid)
#3 0x00005598bcf16674 _ZN7Astroid7AstroidD0Ev (astroid)
#4 0x00007f32cb5e1813 g_datalist_clear (libglib-2.0.so.0)
#5 0x00007f32cc1b36b5 g_object_unref (libgobject-2.0.so.0)
#6 0x00005598bcf104b7 _ZN4Glib6RefPtrIN7Astroid7AstroidEED2Ev (astroid)
scons: Configure: Checking for C++ library boost_filesystem...
.sconf_temp/conftest_11.cpp <-
|
|
|
|int
|main() {
|
|return 0;
|}
@mrvdb
mrvdb / emacs-25-compile.md
Last active June 2, 2016 10:14
Odd compilation errors

First error:

make[2]: Entering directory '/media/data/src/emacs/emacs/lisp'
loadAppSettings: Could not parse file as YAML: Directories
echo: InvalidYaml (Just (YamlException "Yaml file not found: Directories"))
Makefile:181: recipe for target 'loaddefs.el' failed

Resolved by commenting out lisp/Makefile:181

@echo Directories for loaddefs: ${SUBDIRS_ALMOST}

-- Get the number of posts that satisfy a pattern
postCount :: Pattern -> Int
postCount pattern = do
-- something with getMatches sounds right
m' <- getMatches pattern -- getMatches :: MonadMetadata m => Pattern -> m [Identifier]
-- return $ length m' -- Inclined to do return here...
-- what do I put here?
-- Other relevant stuff:
telegram
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
/home/mrb/bin/Telegram/Telegram(_ZN14SignalHandlers7HandlerEiP7siginfoPv+0x161)[0x75b661]
/home/mrb/bin/Telegram/Telegram(_ZN14SignalHandlers12DumpCallbackERKN15google_breakpad18MinidumpDescriptorEPvb+0x1f)[0x75ba6f]
/home/mrb/bin/Telegram/Telegram(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x3d4)[0xe6fe34]
/home/mrb/bin/Telegram/Telegram(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP7siginfoPv+0x97)[0xe70147]
/usr/lib/libpthread.so.0(+0x10e80)[0x7fd4e6a52e80]
/usr/lib/libc.so.6(gsignal+0x38)[0x7fd4e5e372a8]
/usr/lib/libc.so.6(abort+0x16a)[0x7fd4e5e3872a]
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
93321 pure bytes used
: paxctl -zex emacs
mv -f emacs bootstrap-emacs
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[2]: Entering directory '/media/data/src/emacs/emacs/lisp'
make[2]: Nothing to be done for 'compile-first'.
make[2]: Leaving directory '/media/data/src/emacs/emacs/lisp'
diff --git a/app/servius.hs b/app/servius.hs
index 14ed7ec..76350e4 100644
--- a/app/servius.hs
+++ b/app/servius.hs
@@ -22,8 +22,10 @@ import Text.Lucius (luciusRT)
import Text.Markdown (def, msXssProtect, msAddHeadingId, markdown)
import WaiAppStatic.CmdLine (docroot, runCommandLine)
-import Text.Pandoc (def, readOrg, writeHtml)
+#if orgmode-support
TypeError: asm.js type error: duplicate name 'n' not allowed app.js:13:25217
TypeError: global.crypto.random is not a function app.js:13:10798
Error: [$injector:modulerr] Failed to instantiate module myApp due to:
[$injector:nomod] Module 'myApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.7/$injector/nomod?p0=myApp
i/<@https://web.telegram.org/js/app.js:6:14132
_t/</</<@https://web.telegram.org/js/app.js:6:23689
t@https://web.telegram.org/js/app.js:6:23162
_t/</<@https://web.telegram.org/js/app.js:6:23474
m/<@https://web.telegram.org/js/app.js:7:115