psychosynth-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[psynth-devel] disable CEGUI.log in current directory


From: Aleksander Morgado
Subject: [psynth-devel] disable CEGUI.log in current directory
Date: Tue, 28 Apr 2009 20:08:41 +0200

Hey,

Just installed 1.0.4, run it, and got this:

address@hidden:/opt/psychosynth/bin$ ./psynth3d 
[psynth.base.config.xml] ERROR: Could not open config file for
reading: /home/aleksander/.psychosynth/psychosynth.xml. The application
might create it later.
[gui] INFO: Loading settings.
[psynth.base.config.xml] ERROR: Could not open config file for
reading: /home/aleksander/.psychosynth/psynth3d.xml. The application
might create it later.
[gui] INFO: Initializing Ogre.
[gui] INFO: Initializing OIS.
[gui] INFO: Initializing synthesizer.
macagonla
macagonla
sample_rate 44100
block_size 256
num_channels 2
[gui] INFO: Initializing networking.
[gui] INFO: Initializing scene.
[gui] INFO: Initializing CEGUI.
terminate called after throwing an instance of 'char const*'
Aborted

bt:
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
000000d4
terminate called after throwing an instance of 'char const*'

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb5319b00 (LWP 5882)]
0xb7f43430 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f43430 in __kernel_vsyscall ()
#1  0xb643f6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6441098 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb66698f8 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#4  0xb66677d5 in ?? () from /usr/lib/libstdc++.so.6
#5  0xb6667812 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb666794a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0xb6f92f39 in CEGUI::DefaultLogger::setLogFilename ()
from /usr/lib/libCEGUIBase.so.1
#8  0xb6fe75a6 in CEGUI::System::System ()
from /usr/lib/libCEGUIBase.so.1
#9  0x0805db63 in psychosynth_3d::setup_gui (this=0xbf95ed60) at
gui3d/psychosynth_3d.cpp:328
#10 0x0805fbdd in psychosynth_3d::execute (this=0xbf95ed60) at
gui3d/psychosynth_3d.cpp:141
#11 0xb6a3c445 in psynth::psynth_app::run (this=0xbf95ed60, argc=1,
argv=0xbf95eed4) at psynth/psynth_app.cpp:183
#12 0x08095812 in main (argc=Cannot access memory at address 0x16fa
) at psynth3d.cpp:54



The problem is just that my standard user didn't have permission to
write the log file in my current directory. This actually is a problem
as the user shouldn't depend on the current directory to run the
program.

A good idea would be to, by default, disable all logs (CEGUI.log in this
case), and enable it by a specific argument to the program, like
--cegui-log=/path/to/somewhere

BTW, I think I don't need any special new version of the dependencies in
ubuntu 9.04, so just compile & install and it worked.

Cheers,
-Aleksander





reply via email to

[Prev in Thread] Current Thread [Next in Thread]