Crash when selecting Preference Window
LiVES is a Video Editing System. It is designed to be simple to use, y
Brought to you by:
gfinch
Hi all,
LiVES-2.4.6 crashes on Fedora 23 -64 bit with this message:
$ lives-exe -debug
LiVES 2.4.6
Copyright 2002-2015 Gabriel Finch (salsaman@gmail.com) and others.
LiVES comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.
No frei0r plugins found; if you have them installed please set the FREI0R_PATH environment variable to point to them.
LiVES info: No usable filters found in plugin /usr/lib64/lives/plugins/effects/realtime/weed/frei0r/frei0r.so
LiVES error: Handle!=statusfile !
Unfortunately LiVES crashed.
Please report this bug at http://sourceforge.net/tracker/?group_id=64341&atid=507139
Thanks. Recovery should be possible if you restart LiVES.
When reporting crashes, please include details of your operating system, distribution, and the LiVES version (2.4.6)
and any information shown below:
#0 0x00007f2c1de7d5db in waitpid () at /lib64/libpthread.so.0
#1 0x00007f2c20b109a3 in g_on_error_stack_trace () at /lib64/libglib-2.0.so.0
#2 0x00005566f6e6731a in catch_sigint ()
#3 0x00007f2c1de7d9f0 in <signal handler called> () at /lib64/libpthread.so.0
#4 0x00007f2c20e5e703 in g_type_check_is_value_type ()
#5 0x00007f2c227b29a5 in _gtk_tree_data_list_check_type ()
#6 0x00007f2c226ad7c1 in gtk_list_store_newv () at /lib64/libgtk-3.so.0
#7 0x00005566f6e60cdf in lives_list_store_new ()
#8 0x00005566f6ee3460 in create_prefs_dialog ()
#9 0x00005566f6eed276 in on_preferences_activate ()
#10 0x00007f2c20e397a5 in g_closure_invoke () at /lib64/libgobject-2.0.so.0
#11 0x00007f2c20e4b851 in signal_emit_unlocked_R ()
#12 0x00007f2c20e54530 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#13 0x00007f2c20e548ff in g_signal_emit () at /lib64/libgobject-2.0.so.0
#14 0x00007f2c227f2ace in gtk_widget_activate () at /lib64/libgtk-3.so.0
#15 0x00007f2c226d0576 in gtk_menu_shell_activate_item ()
#16 0x00007f2c226d08a4 in gtk_menu_shell_button_release ()
#17 0x00007f2c226b303a in _gtk_marshal_BOOLEAN__BOXEDv ()
#18 0x00007f2c20e399d4 in _g_closure_invoke_va () at /lib64/libgobject-2.0.so.0
#19 0x00007f2c20e53dd3 in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#20 0x00007f2c20e548ff in g_signal_emit () at /lib64/libgobject-2.0.so.0
#21 0x00007f2c227f063c in gtk_widget_event_internal () at /lib64/libgtk-3.so.0
#22 0x00007f2c226b03ae in propagate_event () at /lib64/libgtk-3.so.0
#23 0x00007f2c226b215c in gtk_main_do_event () at /lib64/libgtk-3.so.0
#24 0x00007f2c2222aa42 in gdk_event_source_dispatch () at /lib64/libgdk-3.so.0
#25 0x00007f2c20b3ae3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#26 0x00007f2c20b3b1d0 in g_main_context_iterate.isra ()
#27 0x00007f2c20b3b4f2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#28 0x00007f2c226b1385 in gtk_main () at /lib64/libgtk-3.so.0
#29 0x00005566f6e6e4e9 in real_main ()
#30 0x00007f2c1dacc580 in __libc_start_main () at /lib64/libc.so.6
#31 0x00005566f6e5d0d9 in _start ()
To reproduce the crash:
$ export LD_LIBRARY_PATH=/usr/lib64/lives
(libweed.. and libOSC.. are installed in a private directory for me because of packaging issues)
$ lives-exe -debug
Try to load a video clip from Youtube, then Tools -->Preference.
I am unable to reproduce the bug here. Downloading from Youtube works fine, and opening Preferences after also works fine.
Something else just occured to me. You may need to edit your ~/.lives file and alter the value of <lib_dir> to point to /usr/lib64</lib_dir>
<lib_dir>already points to/usr/lib64for me.src/preference.c patched as asked in RPMFusion ticket:
Tools-->Preference problem is fixed already with line 1) proposed; patch used:
Do you also need to know how lines 2) and 3) work?
No, but please don't apply that as a fix, I need to make a change in lives_list_store_new(). Please hold.
Okay, no problem.
Also, I'm still seeing this warning:
although I set
FREI0R_PATHto/usr/lib64/lives/plugins/effects/realtime/weed/frei0r.OK, please try this. Restore the line in preferences.c, then edit widget-helper.c.
Inside the function lives_list_store_new(), you should find two lines like:
you only need to change the first one:
Hopefully this will fix the problem.
Works!
FREI0R_PATH should point to where the frei0r plugins are (not to where the LiVES frei0r wrapper is). So for example /usr/lib64/frei0r-1/
@Antonio:
What you should probably do is create a custom script /usr/bin/lives, eg:
export FREI0R_PATH=/usr/lib64/frei0r-1
export LADSPA_PATH=<path_to_ladspa_plugins>
/usr/bin/lives-exe</path_to_ladspa_plugins>
Then in the package replace the symlink /usr/bin/lives with your script.
Does exist an
envvariable forlibvisualplugins ?LiVES info: No usable filters found in plugin /usr/lib64/lives/plugins/effects/realtime/weed/libvisual/libvis.soAntonio, can you please apply the patch here: https://sourceforge.net/p/lives/code/2353/
re. libvisual path, I am looking into this.
Do you mean that I should compile revision r2352 by applying this patch?
No. You should apply this patch: https://sourceforge.net/p/lives/code/2353/
Patch applied; LiVES compiled fine, Tools->Preference menu does NOT crash.
You can apply this second patch: https://sourceforge.net/p/lives/code/2354/tree//trunk/lives-plugins/weed-plugins/libvis.c?diff=505487e4bfc09e4ced4d35a9:2353 which will allow setting of VISUAL_PLUGIN_PATH (a : delimited string of additional directories to check).
I have applied patches from commits 2353,2354; LiVES compiled and executed by
VISUAL_PLUGIN_PATHpoints to thelibvisual-0.4.so.0.0.0location.Unfortunately, still appears this warning:
VISUAL_PLUGIN_PATH needs to point to the location of the libvisual plugins (not the libvisual library).
libvisual-pluginsare not in Fedora by long time but I have discovered this just now. Andthe projectM visualization plugin for libvisualis not compatible.I think that
libvisualsupport must be disabled too.OK.
Closing, fixed.