-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photoflow exits with error message and return code 134 #106
Comments
Could you try with the "stable" photoflow branch? The master brach corresponds to the official release 0.2.6, which is rather old now. As I'm planning a new release in few days from now, which will be based on the current stable branch, it would be interesting to know if the problem is still present in stable or not. Thanks! |
I tried, but now the build breaks at gexiv2. It claims that aclocal 1.14 is missing: CDPATH="${ZSH_VERSION+.}:" && cd $Workspace/PhotoFlow/src/external/gexiv2 && /bin/bash $Workspace/PhotoFlow/src/external/gexiv2/build-aux/missing aclocal-1.14 -I m4 $Workspace is a placeholder for my actual workspace path. |
Please pass "-DBUNDLED_GEXIV2=OFF" to the cmake invocation. I should make the bundled GExiv2 an option, not the default. There reason for having it is that some Ubuntu PPA mess-up with the versions of EXIV2 and GExiv2 libraries. |
Here’s a quick workaround I use in the PKGBUILD for Arch: sed -i "s/am__api_version='1.14'/am__api_version='1.15'/" just before issuing the cmake command. On 05/09/16 15:59, scit2010 wrote:
|
Thank you. |
@Joermungand for Arch there is actually no reason for using the bundled Gexiv2, which as I said should be made not the default (I will include this in the next bunch of commits). So please use "-DBUNDLED_GEXIV2=OFF" for your Arch builds as well... Thanks! |
Will do. Thank you. This will also reduce compile time a bit. On 05/09/16 17:19, aferrero2707 wrote:
|
OK, back to my original problem: yes, the error also occurs in the stable branch. I'm on a current Debian testing, 64 bit. |
Could you compile with -DCMAKE_BUILD_TYPE=Debug, run photoflow through gdb and send me the output of the "bt" gdb command after the crash occurs? This will help me locate the origin of the problem, which I cannot reproduce on my system... |
Here is the debug output: The error only occurs when I use the self compiled VIPS from latest git master, not the packaged one from Debian. |
…ted in issue #106 The fix introduces an error message "vips_sink: stop function failed for image" at program exit, but does not crash the program.
I have pushed a fix for the crash at program exit, could you recompile the stable branch and check if it works for you? Thanks! |
It works fine now, thank you! |
How to reproduce:
Expected behaviour:
The program terminates without error message and exit code 0.
Actual behaviour:
The program terminates with the error message: "VIPS:ERROR:buffer.c:377:vips_buffer_undone: assertion failed: (cache->thread == g_thread_self())" and exit code 134.
Here is the complete debug output after clicking the exit button:
MainWindow::on_delete_event(): npages=1
MainWindow::on_delete_event(): tab=0 w=0x4043920
MainWindow::on_delete_event(): removing tab #0
PF::MainWindow::remove_tab() called.
editor->get_image()->is_modified(): 0
Active image: 0
PF::Image::update(): waiting for rebuild_done....
~ImageEditor(): deleting image
Pipeline::~Pipeline() called.
Pipeline::~Pipeline(): unref of nodes[i]->image
Pipeline::~Pipeline(): deleting processor
ImageReaderPar::~ImageReaderPar(): raster_image=0x7f399400ead0
ImageReaderPar::~ImageReaderPar(): raster_image->get_nref()=2
~OpParBase(): deleting operation 0x7f3994001300
Pipeline::~Pipeline(): processor deleted
Pipeline::~Pipeline(): deleting blender
~OpParBase(): deleting operation 0x7f3994009510
Pipeline::~Pipeline(): blender deleted
Pipeline::~Pipeline(): deleting sinks
Pipeline::~Pipeline(): deleting sink #0
Pipeline::~Pipeline(): sink #0 deleted
Pipeline::~Pipeline(): all sinks deleted
Pipeline::~Pipeline() called.
Pipeline::~Pipeline(): unref of nodes[i]->image
Pipeline::~Pipeline(): deleting processor
ImageReaderPar::~ImageReaderPar(): raster_image=0x7f399400ead0
ImageReaderPar::~ImageReaderPar(): raster_image->get_nref()=1
~OpParBase(): deleting operation 0x7f39940d7bb0
Pipeline::~Pipeline(): processor deleted
Pipeline::~Pipeline(): deleting blender
~OpParBase(): deleting operation 0x7f39940e3630
Pipeline::~Pipeline(): blender deleted
Pipeline::~Pipeline(): deleting sinks
Pipeline::~Pipeline(): deleting sink #0
Deleting image area
**
VIPS:ERROR:buffer.c:377:vips_buffer_undone: assertion failed: (cache->thread == g_thread_self())
I've built with the latest git master branches of Photoflow and VIPS.
Is this something that happens only to me or do others have the same problem?
The text was updated successfully, but these errors were encountered: