Fwd: Re[2]: Fwd: [darktable-user] darktable suddenly refuses to launch on Manjaro

2023-08-25 Thread Bruce Williams
Hmmm, disabling opencl didn't seem to help

darktable --disable-opencl

 ✔

This GDB supports auto-downloading debuginfo from the following URLs:
 
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to
.gdbinit.
[New LWP 2433]
[New LWP 2434]
[New LWP 2435]
[New LWP 2436]
[New LWP 2450]
[New LWP 2451]
[New LWP 2452]
[New LWP 2453]
[New LWP 2454]
[New LWP 2455]
[New LWP 2456]
[New LWP 2457]
[New LWP 2458]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x7fdc96afa8b7 in wait4 () from /usr/lib/libc.so.6
warning: Currently logging to /tmp/darktable_bt_AFP891.txt.  Turn the
logging off and on to make the new setting effective.
#0  0x7fdc96afa8b7 in wait4 () at /usr/lib/libc.so.6
#1  0x7fdc96f9df82 in  () at /usr/bin/../lib/darktable/libdarktable.so
#2  0x7fdc96a3e710 in  () at /usr/lib/libc.so.6
#3  0x7fdc96a8fdb4 in pthread_mutex_lock () at /usr/lib/libc.so.6
#4  0x7fdc96ec263c in dt_cache_get_with_caller () at
/usr/bin/../lib/darktable/libdarktable.so
#5  0x7fdc96f38252 in dt_image_cache_get () at
/usr/bin/../lib/darktable/libdarktable.so
#6  0x7fdc96f3930d in dt_image_set_raw_aspect_ratio () at
/usr/bin/../lib/darktable/libdarktable.so
#7  0x7fdc96ec3ea5 in dt_collection_update () at
/usr/bin/../lib/darktable/libdarktable.so
#8  0x7fdc96ed133e in dt_collection_update_query () at
/usr/bin/../lib/darktable/libdarktable.so
#9  0x7fdc96ec5199 in dt_collection_new () at
/usr/bin/../lib/darktable/libdarktable.so
#10 0x7fdc96ee4317 in dt_init () at
/usr/bin/../lib/darktable/libdarktable.so
#11 0x55e8403fa03d in  ()
#12 0x7fdc96a27cd0 in  () at /usr/lib/libc.so.6
#13 0x7fdc96a27d8a in __libc_start_main () at /usr/lib/libc.so.6
#14 0x55e8403fa0b5 in  ()

=

 Id   Target IdFrame
* 1Thread 0x7fdc8538f680 (LWP 2431) "darktable" 0x7fdc96afa8b7
in wait4 () from /usr/lib/libc.so.6
 2Thread 0x7fdc84fff6c0 (LWP 2433) "pool-spawner"  0x7fdc96b0ee2d
in syscall () from /usr/lib/libc.so.6
 3Thread 0x7fdc847fe6c0 (LWP 2434) "gmain" 0x7fdc96b0365f
in poll () from /usr/lib/libc.so.6
 4Thread 0x7fdc83ffd6c0 (LWP 2435) "pool"  0x7fdc96b0ee2d
in syscall () from /usr/lib/libc.so.6
 5Thread 0x7fdc837fc6c0 (LWP 2436) "gdbus" 0x7fdc96b0365f
in poll () from /usr/lib/libc.so.6
 6Thread 0x7fdc82cd26c0 (LWP 2450) "worker 0"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 7Thread 0x7fdc824d16c0 (LWP 2451) "worker 1"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 8Thread 0x7fdc81cd06c0 (LWP 2452) "worker 2"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 9Thread 0x7fdc814cf6c0 (LWP 2453) "worker 3"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 10   Thread 0x7fdc80cce6c0 (LWP 2454) "kicker"0x7fdc96ad58f5
in clock_nanosleep () from /usr/lib/libc.so.6
 11   Thread 0x7fdc7bfff6c0 (LWP 2455) "worker res 0"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 12   Thread 0x7fdc7b7fe6c0 (LWP 2456) "worker res 1"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 13   Thread 0x7fdc7affd6c0 (LWP 2457) "worker res 2"  0x7fdc96a894ae
in ?? () from /usr/lib/libc.so.6
 14   Thread 0x7fdc7a7fc6c0 (LWP 2458) "gphoto_update" 0x7fdc96ad58f5
in clock_nanosleep () from /usr/lib/libc.so.6

=

Thread 14 (Thread 0x7fdc7a7fc6c0 (LWP 2458) "gphoto_update"):
#0  0x7fdc96ad58f5 in clock_nanosleep () at /usr/lib/libc.so.6
#1  0x7fdc96ae7fb7 in nanosleep () at /usr/lib/libc.so.6
#2  0x7fdc96cec1c1 in g_usleep () at /usr/lib/libglib-2.0.so.0
#3  0x7fdc97112f6b in dt_update_cameras_thread () at
/usr/bin/../lib/darktable/libdarktable.so
#4  0x7fdc96a8c9eb in  () at /usr/lib/libc.so.6
#5  0x7fdc96b10ebc in  () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fdc7affd6c0 (LWP 2457) "worker res 2"):
#0  0x7fdc96a894ae in  () at /usr/lib/libc.so.6
#1  0x7fdc96a8bd40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x7fdc96fac6ae in  () at /usr/bin/../lib/darktable/libdarktable.so
#3  0x7fdc96a8c9eb in  () at /usr/lib/libc.so.6
#4  0x7fdc96b10ebc in  () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fdc7b7fe6c0 (LWP 2456) "worker res 1"):
#0  0x7fdc96a894ae in  () at /usr/lib/libc.so.6
#1  0x7fdc96a8bd40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x7fdc96fac6ae in  () at /usr/bin/../lib/darktable/libdarktable.so
#3  0x7fdc96a8c9eb in  () at /usr/lib/libc.so.6
#4  0x7fdc96b10ebc in  () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fdc7bfff6c0 (LWP 2455) "worker res 0"):
#0  0x7fdc96a894ae in  () at /usr/lib/libc.so.6
#1  0x7fdc96a8bd40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x7fdc96fac6ae in  () at /usr/bin/

Fwd: Fwd: Re[2]: Fwd: [darktable-user] darktable suddenly refuses to launch on Manjaro

2023-08-26 Thread Bruce Williams
*Maybe you've already tried that, but if not, here's how to do it:*









* $ darktable --configdir /path/to/temporary/configdir This will create a
new default profile at "/path/to/temporary/configdir" and should leave your
working profile alone. But you do have a backup of it, right?! If darktable
now starts with it's defaults settings, something with your config and/or
image database is fishy...*


Ah-hah!
THAT made it launch.
Which is both a good thing and a bad thing.
No, I don't think I have a backup of my original config.
When I launched it from the command line, although it launched, the command
line gave me this:

   ~  darktable --configdir ~/.config/darktable/test

 1 ✘
Fontconfig error: "/etc/fonts/fonts.conf", line 29: not well-formed
(invalid token)
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
1.3400 [lib_load_module] failed to open `midi': libportmidi.so.2:
cannot open shared object file: No such file or directory

Not sure if anyone understands what all that means, and if that might be
the cause of the issue?


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: Fwd: Fwd: Re[2]: Fwd: [darktable-user] darktable suddenly refuses to launch on Manjaro

2023-08-27 Thread Jörn Rink
Am Sun, 27 Aug 2023 12:30:54 +1000
hat Bruce Williams  (Bruce Williams) folgendes
geschrieben:

> *Maybe you've already tried that, but if not, here's how to do it:*
> 
> 
> 
> 
> 
> 
> 
> 
> 
> * $ darktable --configdir /path/to/temporary/configdir This will
> create a new default profile at "/path/to/temporary/configdir" and
> should leave your working profile alone. But you do have a backup of
> it, right?! If darktable now starts with it's defaults settings,
> something with your config and/or image database is fishy...*
> 
> 
> Ah-hah!
> THAT made it launch.
> Which is both a good thing and a bad thing.
> No, I don't think I have a backup of my original config.
> When I launched it from the command line, although it launched, the
> command line gave me this:
> 
>    ~  darktable --configdir ~/.config/darktable/test
> 
>  1 ✘
> Fontconfig error: "/etc/fonts/fonts.conf", line 29: not well-formed
> (invalid token)
> Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
> 1.3400 [lib_load_module] failed to open `midi': libportmidi.so.2:
> cannot open shared object file: No such file or directory
> 
> Not sure if anyone understands what all that means, and if that might
> be the cause of the issue?
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 

Hi Bruce,
sorry, i only have Fedora, which is a rpm based (redhat) distribution,
and never get in touched with Manjaro.
My thoughts yesterday was: Could it be, that you update Manjaro und
startet successfully darktable the last time without a reboot? And
than, after the reboot a few days later you get the error?

Nevertheless, i looked in my fontconfig, but i saw nothing interesting
in line 29. The fontconfig is not so long, so perhaps you can post it
here.

Googling the libportmidi.so.2 error, which could be the root cause
gives a hint, that dt crashed, when someone connected his Oly EM5 to the
system with "mount camera".

So, perhaps, is anything mounted (or plugged in) when you start dt?
One guy ask him, to start dt with:
darktable -d camctl
that should not be the solution, but perhaps a hint to stdout in the
console.

On my system, there is also no libportmidi installed and i am
wondering, why it is needed.

what gives:
ldd /usr/bin/darktable | grep midi

where /usr/bin/darktable is the path to dt, which you can get with

which darktable?

greetings from germany,


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Fwd: Fwd: Fwd: Re[2]: Fwd: [darktable-user] darktable suddenly refuses to launch on Manjaro

2023-08-27 Thread Bruce Williams
Jörn,
No, I definitely had not updated Manjaro between the last successful launch
of darktable, and when it failed.

As for the contents of /etc/fonts/fonts.conf, I don't appear to have either
the directory or the file


*cd ~/etc

cd: no such file or directory: /home/audio2u/etc*

There IS a fonts.conf file in my Home directory though.
Its contents don't extend to line 29, though. Here are the contents of that
file:


























* ~/.fonts  rgb true
   hintslight true
 *

No, I did not mount a camera, although I MAY have had a USB key attached at
the time. Not sure now.
Attempting to launch darktable with camera control disabled yielded this:


























































































































































































*darktable -d camctl

 This GDB supports auto-downloading debuginfo from the
following URLs:  >Enable debuginfod for this session? (y
or [n]) [answered N; input not from terminal]Debuginfod has been
disabled.To make this setting permanent, add 'set debuginfod enabled off'
to .gdbinit.[New LWP 1913][New LWP 1914][New LWP 1915][New LWP 1916][New
LWP 1917][New LWP 1918][New LWP 1919][New LWP 1920][New LWP 1921][New LWP
1922][New LWP 1923][New LWP 1924][New LWP 1925][Thread debugging using
libthread_db enabled]Using host libthread_db library
"/usr/lib/libthread_db.so.1".0x7f6c50cfa8b7 in wait4 () from
/usr/lib/libc.so.6warning: Currently logging to
/tmp/darktable_bt_CGS091.txt.  Turn the logging off and on to make the new
setting effective.#0  0x7f6c50cfa8b7 in wait4 () at
/usr/lib/libc.so.6#1  0x7f6c5119df82 in  () at
/usr/bin/../lib/darktable/libdarktable.so#2  0x7f6c50c3e710 in  () at /usr/lib/libc.so.6#3  0x7f6c50c8fdb4 in
pthread_mutex_lock () at /usr/lib/libc.so.6#4  0x7f6c510c263c in
dt_cache_get_with_caller () at /usr/bin/../lib/darktable/libdarktable.so#5
 0x7f6c51138252 in dt_image_cache_get () at
/usr/bin/../lib/darktable/libdarktable.so#6  0x7f6c5113930d in
dt_image_set_raw_aspect_ratio () at
/usr/bin/../lib/darktable/libdarktable.so#7  0x7f6c510c3ea5 in
dt_collection_update () at /usr/bin/../lib/darktable/libdarktable.so#8
 0x7f6c510d133e in dt_collection_update_query () at
/usr/bin/../lib/darktable/libdarktable.so#9  0x7f6c510c5199 in
dt_collection_new () at /usr/bin/../lib/darktable/libdarktable.so#10
0x7f6c510e4317 in dt_init () at
/usr/bin/../lib/darktable/libdarktable.so#11 0x55e7d683c03d in  ()#12
0x7f6c50c27cd0 in  () at /usr/lib/libc.so.6#13 0x7f6c50c27d8a in
__libc_start_main () at /usr/lib/libc.so.6#14 0x55e7d683c0b5 in
 ()=  Id   Target IdFrame *
1Thread 0x7f6c3f49e680 (LWP 1910) "darktable" 0x7f6c50cfa8b7 in
wait4 () from /usr/lib/libc.so.6  2Thread 0x7f6c3efff6c0 (LWP 1913)
"pool-spawner"  0x7f6c50d0ee2d in syscall () from /usr/lib/libc.so.6  3
   Thread 0x7f6c3e7fe6c0 (LWP 1914) "gmain" 0x7f6c50d0365f in
poll () from /usr/lib/libc.so.6  4Thread 0x7f6c3dffd6c0 (LWP 1915)
"pool"  0x7f6c50d0ee2d in syscall () from /usr/lib/libc.so.6  5
   Thread 0x7f6c3d7fc6c0 (LWP 1916) "gdbus" 0x7f6c50d0365f in
poll () from /usr/lib/libc.so.6  6Thread 0x7f6c3cdd86c0 (LWP 1917)
"worker 0"  0x7f6c50c894ae in ?? () from /usr/lib/libc.so.6  7
 Thread 0x7f6c26c0 (LWP 1918) "worker 1"  0x7f6c50c894ae in ??
() from /usr/lib/libc.so.6  8Thread 0x7f6c2f7fe6c0 (LWP 1919) "worker
2"  0x7f6c50c894ae in ?? () from /usr/lib/libc.so.6  9Thread
0x7f6c2effd6c0 (LWP 1920) "worker 3"  0x7f6c50c894ae in ?? () from
/usr/lib/libc.so.6  10   Thread 0x7f6c2e7fc6c0 (LWP 1921) "kicker"
 0x7f6c50cd58f5 in clock_nanosleep () from /usr/lib/libc.so.6  11
Thread 0x7f6c2dffb6c0 (LWP 1922) "worker res 0"  0x7f6c50c894ae in ??
() from /usr/lib/libc.so.6  12   Thread 0x7f6c2d7fa6c0 (LWP 1923) "worker
res 1"  0x7f6c50c894ae in ?? () from /usr/lib/libc.so.6  13   Thread
0x7f6c2cff96c0 (LWP 1924) "worker res 2"  0x7f6c50c894ae in ?? () from
/usr/lib/libc.so.6  14   Thread 0x7f6c13fff6c0 (LWP 1925) "gphoto_update"
0x7f6c50cd58f5 in clock_nanosleep () from
/usr/lib/libc.so.6=Thread 14 (Thread 0x7f6c13fff6c0 (LWP 1925)
"gphoto_update"):#0  0x7f6c50cd58f5 in clock_nanosleep () at
/usr/lib/libc.so.6#1  0x7f6c50ce7fb7 in nanosleep () at
/usr/lib/libc.so.6#2  0x7f6c50b3d1c1 in g_usleep () at
/usr/lib/libglib-2.0.so.0#3  0x7f6c51312f6b in dt_update_cameras_thread
() at /usr/bin/../lib/darktable/libdarktable.so#4  0x7f6c50c8c9eb in
 () at /usr/lib/libc.so.6#5  0x7f6c50d10ebc in  () at
/usr/lib/libc.so.6Thread 13 (Thread 0x7f6c2cff96c0 (LWP 1924) "worker res
2"):#0  0x7f6c50c894ae in  () at /usr/lib/libc.so.6#1
 0x7f6c50c