unDE 0.2.0 - unusual command line and keybar
Basile B. via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Feb 3 06:18:05 PST 2017
On Friday, 3 February 2017 at 14:05:58 UTC, Basile B. wrote:
> On Friday, 3 February 2017 at 13:48:39 UTC, Basile B. wrote:
>> On Sunday, 29 January 2017 at 19:00:30 UTC, unDEFER wrote:
>>> unDE's not DE which in the future must be replacement for all
>>> programs in OS.
>>> But today is very original file manager, image and text
>>> viewer and (what discovered with 0.2.0 version) command line
>>> and keybar.
>>> More information: http://unde.sourceforge.net/en/ch25.html
>>> Video with English subtitles: https://youtu.be/XY7Jegxq6vg
>>
>> What is the name of the static lib we have to install for for
>> "DB" ?
>>
>> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ne peut trouver -ldb
>> collect2: error: ld returned 1 exit status
>> Error: linker exited with status 1
>
> Isee it's BDB, never mind but now on OpenSuse I got a SEGFAULT
> during BDB init
>
> ~"#0 0x0000000000000000 in ?? ()\n"
> #0 0x0000000000000000 in ?? ()
> ~"#1 0x000000000071ee68 in
> berkeleydb.dbenv.DbEnv.set_memory_max(uint, uint)
> (this=0x7ffff7ec5100, bytes=16777216, gbytes=0) at
> ../../../.dub/packages/bdb2d-5.3.28/bdb2d/source/berkeleydb/dbenv.d:757\n"
> ~"#2 0x000000000071ef20 in
> berkeleydb.dbenv.DbEnv.set_memory_max(ulong)
> (this=0x7ffff7ec5100, bytes=16777216) at
> ../../../.dub/packages/bdb2d-5.3.28/bdb2d/source/berkeleydb/dbenv.d:765\n"
> ~"#3 0x000000000065a636 in
> unde.global_state.GlobalState.__mixin109.initBDB(bool)
> (this=0x7ffff6571000, force_recover=false) at
> source/unde/global_state.d:117\n"
> ~"#4 0x000000000065baf8 in
> unde.global_state.GlobalState.this(bool) (this=0x7ffff6571000,
> force_recover=false) at source/unde/global_state.d:972\n"
> ~"#5 0x00000000006f16d6 in D main (args=...) at
> source/unde/main.d:25\n"
Also before that there's two FileException thrown because you use
mkdir() systematically with a silent try catch. You should rather
test if the the directories exist (when you create ~/.unde/ and
~/.unde/bdb/, global_state.d) because it tends to be annoying
when trying to get that stack trace for the real exception !
More information about the Digitalmars-d-announce
mailing list