View Issue Details

IDProjectCategoryView StatusLast Update
0002584ardourbugspublic2020-04-19 20:13
Reporterwicked_boy Assigned Tocth103  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Summary0002584: startup ... SVN 4838 'failed_constructor'
Descriptionashes on startup.. I admit that as I am a Gentoo user I am using "syslibs" so if this is syslibs related close the case and let me know.. and I will just need to wait until compatible again.. last part of output from startup is below... let me know if there is any more information you need..
Additional InformationINFO]: Ardour will be limited to 1024 open files
loading system configuration file /etc/ardour3/ardour_system.rc
loading user configuration file /home/allan/.ardour3/ardour.rc
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: looking for control protocols in /home/allan/.ardour3/surfaces:/usr/lib64/ardour3/surfaces
powermate: Opening of powermate failed - No such file or directory
ardour: [INFO]: Control protocol powermate not usable
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [ERROR]: No port called mcu. Add it to ardour.rc.
ardour: [INFO]: Control protocol Mackie not usable
ardour: [INFO]: Control surface protocol discovered: "Open Sound Control (OSC)"
ardour: [INFO]: Control protocol Tranzport not usable
terminate called after throwing an instance of 'failed_constructor'
  what(): failed constructor
Aborted
TagsNo tags attached.

Activities

wicked_boy

2009-03-18 12:13

reporter   ~0005831

I have updated and this issue has disappeared.. please close.

silentcry80

2009-05-03 10:46

reporter   ~0005962

still present for me in r5028.

cth103

2009-05-03 14:45

administrator   ~0005965

Can you run ardour under gdb and get a backtrace?

silentcry80

2009-05-03 15:11

reporter   ~0005966

Last edited: 2009-05-03 15:12

Now this is really strange. Ardour runs fine in gdb, although the theme is ignored
maybe it has something to do with this line:

(ardour-3.0:20104): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks"

Note that I'm using Kubuntu Jaunty, which overrides the gtk themes/styles by default.

This is without gdb:
Ardour/GTK 1.0.2
   (built using 5028 and GCC version 4.3.3)
Copyright (C) 1999-2008 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
loading default ui configuration file /usr/local/etc/ardour3/ardour3_ui_default.conf
loading user ui configuration file /home/silentcry/.ardour3/ardour3_ui.conf
Loading ui configuration file /usr/local/etc/ardour3/ardour3_ui_dark.rc

(ardour-3.0:20122): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
ardour: [INFO]: Ardour will be limited to 1024 open files
loading system configuration file /usr/local/etc/ardour3/ardour_system.rc
loading user configuration file /home/silentcry/.ardour3/ardour.rc
ardour: [INFO]: No H/W specific optimizations in use
VST_PATH not set, defaulting to /home/silentcry/vst:/usr/local/lib/vst:/usr/lib/vst
ardour: [INFO]: looking for control protocols in /home/silentcry/.ardour3/surfaces:/usr/local/lib/ardour3/surfaces
terminate called after throwing an instance of 'failed_constructor'
  what(): failed constructor
Aborted

And this with gdb:
(gdb) run
Starting program: /home/silentcry/svn/ardoursvn/3.0/build/default/gtk2_ardour/ardour-3.0
[Thread debugging using libthread_db enabled]
Ardour/GTK 1.0.2
   (built using 5028 and GCC version 4.3.3)
Copyright (C) 1999-2008 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
[New Thread 0xb59d6770 (LWP 20630)]
loading default ui configuration file ./../gtk2_ardour/ardour3_ui_default.conf
loading user ui configuration file /home/silentcry/.ardour3/ardour3_ui.conf
Loading ui configuration file ./../gtk2_ardour/ardour3_ui_dark.rc

(ardour-3.0:20630): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
ardour: [INFO]: Ardour will be limited to 1024 open files
loading system configuration file /usr/local/etc/ardour3/ardour_system.rc
loading user configuration file /home/silentcry/.ardour3/ardour.rc
ardour: [INFO]: No H/W specific optimizations in use
[New Thread 0xb56cbb90 (LWP 20635)]
[New Thread 0xb4ecab90 (LWP 20636)]
[New Thread 0xb46c9b90 (LWP 20637)]
VST_PATH not set, defaulting to /home/silentcry/vst:/usr/local/lib/vst:/usr/lib/vst
ardour: [INFO]: looking for control protocols in ./../build/default/libs/surfaces/osc:./../build/default/libs/surfaces/generic_midi:./../build/default/libs/surfaces/tranzport:./../build/default/libs/surfaces/powermate
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
[New Thread 0xb3107b90 (LWP 20638)]
[New Thread 0xb2906b90 (LWP 20639)]
[Thread 0xb2906b90 (LWP 20639) exited]
[Thread 0xb3107b90 (LWP 20638) exited]

P.S.: why does it say VST_PATH not set although I compiled without VST?

2009-05-03 20:15

 

startup-constfail.patch (691 bytes)   
Index: gtk2_ardour/startup.cc
===================================================================
--- gtk2_ardour/startup.cc	(revision 5029)
+++ gtk2_ardour/startup.cc	(working copy)
@@ -19,6 +19,7 @@
 #include "opts.h"
 #include "engine_dialog.h"
 #include "i18n.h"
+#include <iostream>
 
 using namespace std;
 using namespace Gtk;
@@ -74,7 +75,7 @@
 
 	sys::path icon_file;
 
-	if (!find_file_in_search_path (ardour_search_path() + system_data_search_path(), "ardour_icon_48px.png", icon_file)) {
+	if (!find_file_in_search_path (ardour_search_path() + system_data_search_path().add_subdirectory_to_paths("icons"), "ardour_icon_48px.png", icon_file)) {
 		throw failed_constructor();
 	}
startup-constfail.patch (691 bytes)   

lincoln

2009-05-03 20:16

reporter   ~0005968

Attached patch should clear this, came across it yesterday and happend when ardour3 is installed. THere was no issue when starting using ardev

silentcry80

2009-05-07 11:42

reporter   ~0005977

The patch solves the problem for me. Thanks a lot :)

cth103

2009-05-07 11:50

administrator   ~0005978

Committed to SVN. Thanks!

system

2020-04-19 20:13

developer   ~0021880

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2009-03-15 09:17 wicked_boy New Issue
2009-03-18 12:13 wicked_boy Note Added: 0005831
2009-05-03 10:46 silentcry80 Note Added: 0005962
2009-05-03 14:45 cth103 Note Added: 0005965
2009-05-03 14:45 cth103 Status new => feedback
2009-05-03 15:11 silentcry80 Note Added: 0005966
2009-05-03 15:12 silentcry80 Note Edited: 0005966
2009-05-03 20:15 lincoln File Added: startup-constfail.patch
2009-05-03 20:16 lincoln Note Added: 0005968
2009-05-07 11:42 silentcry80 Note Added: 0005977
2009-05-07 11:50 cth103 cost => 0.00
2009-05-07 11:50 cth103 Note Added: 0005978
2009-05-07 11:50 cth103 Status feedback => resolved
2009-05-07 11:50 cth103 Fixed in Version => SVN 3.0
2009-05-07 11:50 cth103 Resolution open => fixed
2009-05-07 11:50 cth103 Assigned To => cth103
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2020-04-19 20:13 system Note Added: 0021880
2020-04-19 20:13 system Status resolved => closed