Hi,
I think, the hangs I see are not associated with opencl. I encounter
them with opencl disabled, too.
It seems, that I can provoke them by importing a directory (which was
already processed by dt in the past) and then quickly scrolling down and
selecting an image for editing in darkroom mode. At this stage top shows
dt is already eating some cpu. So perhaps some sort of race condition?
dt then becomes unresponsive, top outputs something similar to this:
top - 21:14:30 up 14 min, 3 users, load average: 0.88, 0.59, 0.39
Tasks: 236 total, 2 running, 234 sleeping, 0 stopped, 0 zombie
Cpu(s): 12.6%us, 0.1%sy, 0.0%ni, 87.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16375288k total, 5452888k used, 10922400k free, 89880k buffers
Swap: 33235964k total, 0k used, 33235964k free, 3696580k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14818 ojo 20 0 39.5g 1.0g 40m R 100 6.5 1:23.54 darktable
1574 root 20 0 162m 55m 30m S 0 0.3 0:27.53 Xorg
2523 ojo 20 0 368m 65m 35m S 0 0.4 0:09.31 compiz
[rest skipped]
Last output of darktable -d all:
[...]
[camera_control] unregistering listener 0x2a2a220
[sql] prepare "select count(id) from images where (flags & 256) != 256
and ((film_id in (select id from film_rolls where folder like
'/home/ojo/Bilder/EigenePhotos/Lissabon2015/ORGNL'))) order by filename,
version"
[sql] prepare "select count (distinct imgid) from selected_images"
[sql] exec "DELETE FROM memory.collected_images"
[sql] prepare "INSERT INTO memory.collected_images (imgid) select
distinct id from images where (flags & 256) != 256 and ((film_id in
(select id from film_rolls where folder like
'/home/ojo/Bilder/EigenePhotos/Lissabon2015/ORGNL'))) order by filename,
version limit ?1, ?2"
[sql] prepare "SELECT imgid FROM memory.collected_images ORDER by rowid
LIMIT ?1, ?2"
[add_job] 0 | lua: overlay button toggled | queue: 0 | priority: 0
[sql] prepare "SELECT DISTINCT T.id, T.name FROM tagged_images JOIN tags
T on T.id = tagged_images.tagid WHERE tagged_images.imgid = 7704 ORDER
BY T.name"
[sql] prepare "INSERT INTO memory.tagq (id) SELECT id FROM tags T WHERE
T.name LIKE ?1"
[sql] exec "INSERT INTO memory.taglist (id, count) SELECT
DISTINCT(TXT.id2), TXT.count FROM tagxtag TXT WHERE TXT.count > 0 AND
TXT.id1 IN (SELECT id FROM memory.tagq) ORDER BY TXT.count DESC"
[sql] exec "INSERT OR REPLACE INTO memory.taglist (id, count) SELECT
DISTINCT(TXT.id1), TXT.count FROM tagxtag TXT WHERE TXT.count > 0 AND
TXT.id2 IN (SELECT id FROM memory.tagq) ORDER BY TXT.count DESC"
[sql] prepare "SELECT T.name, T.id FROM tags T JOIN memory.taglist MT ON
MT.id = T.id WHERE T.id IN (SELECT DISTINCT(MT.id) FROM memory.taglist
MT) AND T.name NOT LIKE 'darktable|%%' ORDER BY MT.count DESC"
[sql] exec "DELETE from memory.taglist"
[sql] exec "DELETE from memory.tagq"
[run_job+] 11 140245221,498666 in darkroom mode
[sql] prepare "select count (distinct imgid) from selected_images"
[sql] exec "delete from selected_images"
[sql] prepare "insert or ignore into selected_images values (?1)"
[sql] prepare "UPDATE images SET width = ?1, height = ?2, maker = ?3,
model = ?4, lens = ?5, exposure = ?6, aperture = ?7, iso = ?8,
focal_length = ?9, focus_distance = ?10, film_id = ?11, datetime_taken
= ?12, flags = ?13, crop = ?14, orientation = ?15, raw_parameters = ?16,
group_id = ?17, longitude = ?18, latitude = ?19, color_matrix = ?20,
colorspace = ?21, raw_black = ?22, raw_maximum = ?23 WHERE id = ?24"
[sql] prepare "UPDATE images SET width = ?1, height = ?2, maker = ?3,
model = ?4, lens = ?5, exposure = ?6, aperture = ?7, iso = ?8,
focal_length = ?9, focus_distance = ?10, film_id = ?11, datetime_taken
= ?12, flags = ?13, crop = ?14, orientation = ?15, raw_parameters = ?16,
group_id = ?17, longitude = ?18, latitude = ?19, color_matrix = ?20,
colorspace = ?21, raw_black = ?22, raw_maximum = ?23 WHERE id = ?24"
Any help is greatly appreciated.
Regards,
Oliver
Am Freitag, den 01.05.2015, 11:51 +0200 schrieb Johann Spies:
> On 29 April 2015 at 22:40, Germano Massullo <[email protected]>
> wrote:
>
> >
> > Try to run Darktable with command
> > darktable -d all
> > then upload somewhere (pastebin?) the logs
> >
> >
> After a lot of work last night it broke again. Here is the last part of
> the debug output:
>
> [sql] prepare "UPDATE images SET width = ?1, height = ?2, maker = ?3, model
> = ?4, lens = ?5, exposure = ?6, aperture = ?7, iso = ?8, focal_length\
> = ?9, focus_distance = ?10, film_id = ?11, datetime_taken = ?12, flags =
> ?13, crop = ?14, orientation = ?15, raw_parameters = ?16, group_id = ?1\
> 7, longitude = ?18, latitude = ?19, color_matrix = ?20, colorspace = ?21,
> raw_black = ?22, raw_maximum = ?23 WHERE id = ?24"
> [sql] prepare "select folder || '/' || filename from images, film_rolls
> where images.film_id = film_rolls.id and images.id = ?1"
> [sql] prepare "select version from images where id = ?1"
> [sql] prepare "select folder || '/' || filename from images, film_rolls
> where images.film_id = film_rolls.id and images.id = ?1"
> **
> Gdk:ERROR:/build/gtk+2.0-czQfyJ/gtk+2.0-2.24.25/gdk/gdkregion-generic.c:1110:miUnionNonO:
> assertion failed: (y1 < y2)
> Aborted
>
> Regards
> Johann
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users