Hi all.

I'm still encountering regular crashes when zooming in and out while in darktable mode. Recently all the crashes appeared while zooming out. Therefore I took a look into the code, inserted some printf calls and set MALLOC_CHECK_ to '1'. Now DT reports when a free operation would crash, but continues working.

The corrupted cache data seems to belong to the cache allocated with dt_dev_pixelpipe_init. I have attached a file with the last output to this mail. It is always the same situation, initial buffer freed, new buffer corrupt on free.

I'm a bit confused because I seem to the only one getting that kind of crash. Would like to give a helping hand in analyzing this, as far as I can spare some time, but still do not know enough about the program to be really helpful.

Regards, Wolfgang
wolli@Bilbo:~/darktable> /opt/darktable/bin/darktable
calling dt_dev_pixelpipe_init_cached from dt_dev_pixelpipe_init
Initial allocation 7f3e162cb010
Initial allocation 7f3e14f2c010
Initial allocation 7f3e13b8d010
Initial allocation 7f3e127ee010                 ------> initial allocation
Initial allocation 7f3e1144f010
calling dt_dev_pixelpipe_init_cached from dt_dev_pixelpipe_init_preview
Initial allocation 7f3e100b0010
Initial allocation 7f3e0ed11010
Initial allocation 7f3e0d972010
Initial allocation 7f3e0c5d3010
Initial allocation 7f3e0b234010
calling dt_dev_pixelpipe_init_cached from dt_dev_pixelpipe_init thumbnail
Initial allocation 7f3dcdfa0010
Initial allocation 7f3db6d5f010
Freeing 7f3e162cb010
New allocation after free 7f3dd98b7010
Freeing 7f3e14f2c010
New allocation after free 7f3dd3c26010
Freeing 7f3e1144f010
New allocation after free 7f3dd2233010
Freeing 7f3e13b8d010
New allocation after free 7f3dd01ff010
Freeing 7f3dd01ff010
New allocation after free 7f3dcc5a2010
Freeing 7f3e127ee010                            --------> memory freed
New allocation after free 7f3e1206d010          --------> new allocation for 
same slot
Freeing 7f3e1206d010                            --------> something corrupted 
now
*** Error in `/opt/darktable/bin/darktable': free(): invalid pointer: 
0x00007f3e1206d010 ***
New allocation after free 7f3dc6481010

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to