MONO - mono-sgen Runtime Error - mono

We have received an error while our program on heavy work load. More than 600 thread works. Current mono version 2.10.9 and we compile mono with
"--prefix=/usr --with-large-heap=yes --enable-parallel-mark" parameters
We cannot handle errors inside of our codes. you can find some outputs below,
Native stacktrace:
/usr/bin/mono-sgen() [0x4940b2]
/usr/bin/mono-sgen() [0x4e833f]
/usr/bin/mono-sgen() [0x41bdc7]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7feecd473cb0]
/usr/bin/mono-sgen() [0x5a706e]
/usr/bin/mono-sgen() [0x5a71a9]
/usr/bin/mono-sgen() [0x5a79bf]
/usr/bin/mono-sgen() [0x5906ca]
/usr/bin/mono-sgen() [0x593443]
/usr/bin/mono-sgen() [0x4147ad]
/usr/bin/mono-sgen() [0x5958ed]
/usr/bin/mono-sgen() [0x595a6f]
/usr/bin/mono-sgen(mono_string_new_size+0x4c) [0x56671c]
[0x405f4c5a]
Debug info from gdb:
Mono support loaded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fee7a6ca700 (LWP 24808)]
[New Thread 0x7fee7b977700 (LWP 24807)]
...
0x00007feecd0da7a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
Id Target Id Frame
46 Thread 0x7feecb0bd700 (LWP 14184) "mono-sgen" 0x00007feecd0da7a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
3 Thread 0x7fee7b977700 (LWP 24807) "mono-sgen" 0x00007feecd0da7a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
...
2 Thread 0x7fee7a6ca700 (LWP 24808) "mono-sgen" 0x00007feecd47388d in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
* 1 Thread 0x7feecdf9b780 (LWP 14181) "mono-sgen" 0x00007feecd0da7a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
...
Thread 46 (Thread 0x7feecb0bd700 (LWP 14184)):
#0 0x00007feecd0da7a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x000000000058a6fb in suspend_handler (sig=<optimized out>, siginfo=<optimized out>, context=0x7feecb0bc7c0) at sgen-gc.c:5322
#2 <signal handler called>
#3 0x00007feecd471fce in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#4 0x00000000005e6458 in mono_sem_wait (sem=0x905ce0, alertable=1) at mono-semaphore.c:113
#5 0x0000000000515665 in finalizer_thread (unused=<optimized out>) at gc.c:1066
#6 0x00000000005b6d31 in start_wrapper_internal (data=0xc31080) at threads.c:784
#7 start_wrapper (data=0xc31080) at threads.c:832
#8 0x00000000005e0e42 in thread_start_routine (args=0xc13590) at wthreads.c:287
#9 0x000000000058dab8 in gc_start_thread (arg=0xc31020) at sgen-gc.c:6154
#10 0x00007feecd46be9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007feecd1983fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()
Thread 45 (Thread 0x7feeca40d700 (LWP 14192)):
#0 0x00007feecd0da7a4 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x000000000058a6fb in suspend_handler (sig=<optimized out>, siginfo=<optimized out>, context=0x7feeca40c180) at sgen-gc.c:5322
#2 <signal handler called>
#3 0x00007feecd4700fe in pthread_cond_timedwait##GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#4 0x00000000005cd258 in _wapi_handle_timedwait_signal_handle (handle=0x40a, timeout=0x7feeca40c8a0, alertable=1, poll=<optimized out>) at handles.c:1653
#5 0x00000000005de3be in WaitForSingleObjectEx (handle=0x40a, timeout=466, alertable=1) at wait.c:205
#6 0x00000000005b666b in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=<optimized out>, handle=0x40a, ms=466, exitContext=<optimized out>) at threads.c:1665
#7 0x0000000041241d98 in ?? ()
#8 0x00007feebc0022a0 in ?? ()

Mono's SGEN garbage collector was not production quality at version 2.x. Mono version 2.10.x can be considered very old, nowadays. Please upgrade to Mono 3.2.x

Related

tcmalloc in gperftools crash the programm

Connecting conan-package gperftools sometimes causes this core dump.
tcmalloc dynamically linked to gperftools and gperftools dynamically linked to project.
Seems like problem with allocation. Does anyone know why it happens?
#0 0x00007f8f087ec532 in abort () from fakeroot/lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f8f05ece6dc in tcmalloc::Log(tcmalloc::LogMode, char const*, int, tcmalloc::LogItem, tcmalloc::LogItem, tcmalloc::LogItem, tcmalloc::LogItem) ()
from fakeroot/usr/lib/conan/libtcmalloc.so.4
#2 0x00007f8f05ec20c1 in (anonymous namespace)::InvalidFree(void*) () from fakeroot/usr/lib/conan/libtcmalloc.so.4
#3 0x00007f8f02a3b93a in j2pb::Serializer::json2field(google::protobuf::Message&, google::protobuf::FieldDescriptor const*, json_t*, j2pb::Options const&) const ()
from fakeroot/usr/lib/conan/libjson2pb.so.1
#4 0x00007f8f02a3c4a8 in j2pb::Serializer::jsonArrayOrField2field(google::protobuf::Message&, google::protobuf::FieldDescriptor const*, json_t*, j2pb::Options const&) const ()
from fakeroot/usr/lib/conan/libjson2pb.so.1
#5 0x00007f8f02a3c6ef in j2pb::Serializer::json2pb(google::protobuf::Message&, json_t*, j2pb::Options const&) const () from fakeroot/usr/lib/conan/libjson2pb.so.1
#6 0x00007f8f02a3b8ba in j2pb::Serializer::json2field(google::protobuf::Message&, google::protobuf::FieldDescriptor const*, json_t*, j2pb::Options const&) const ()
from fakeroot/usr/lib/conan/libjson2pb.so.1
#7 0x00007f8f02a3c4a8 in j2pb::Serializer::jsonArrayOrField2field(google::protobuf::Message&, google::protobuf::FieldDescriptor const*, json_t*, j2pb::Options const&) const ()
from fakeroot/usr/lib/conan/libjson2pb.so.1
#8 0x00007f8f02a3c6ef in j2pb::Serializer::json2pb(google::protobuf::Message&, json_t*, j2pb::Options const&) const () from fakeroot/usr/lib/conan/libjson2pb.so.1
#9 0x00007f8f02a3cba0 in j2pb::Serializer::toProtobuf(char const*, unsigned long, google::protobuf::Message&, j2pb::Options const&) () from fakeroot/usr/lib/conan/libjson2pb.so.1
#10 0x00007f8f0630329c in utils::toProtobuf (serializer=...,
The problem appears only after linking gperftools library even if i don't use profiling functions.

cmake -DCMAKE_EXPORT_COMPILE_COMMANDS exception

cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
-- Configuring done
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::replace: __pos (which is 18446744073709551615) > this->size() (which is 130)
Aborted (core dumped)
cmake ..
works fine, until I enter cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ... after this command I have the same output for next cmake .. inputs
gdb backtrace:
(gdb) bt
#0 0x00007ffff694b428 in __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff694d02a in __GI_abort () at abort.c:89
#2 0x00007ffff6f8584d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff6f836b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff6f83701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff6f83919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff6fac3f7 in std::__throw_out_of_range_fmt(char const*, ...) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff7016247 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00000000006fd555 in cmMakefileTargetGenerator::WriteObjectBuildFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cmSourceFile const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
#9 0x00000000006ff57d in cmMakefileTargetGenerator::WriteObjectRuleFiles(cmSourceFile const&) ()
#10 0x00000000006ffe2f in cmMakefileTargetGenerator::WriteTargetBuildRules() ()
#11 0x000000000070b271 in cmMakefileLibraryTargetGenerator::WriteRuleFiles() ()
#12 0x00000000006f3d26 in cmLocalUnixMakefileGenerator3::Generate() ()
#13 0x00000000006c19bb in cmGlobalGenerator::Generate() ()
#14 0x00000000006cf853 in cmGlobalUnixMakefileGenerator3::Generate() ()
#15 0x0000000000561297 in cmake::Generate() ()
#16 0x0000000000561763 in cmake::Run(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) ()
#17 0x00000000004bdf94 in do_cmake(int, char const* const*) ()
#18 0x00000000004b98e6 in main ()
Tested on three Ubuntu distro.
cmake versions: 3.10.0 and 3.5.1
What is the possible issue? Can`t find anything similar in Google at all
Fixed in CMake 3.19.1
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5521
issue: https://gitlab.kitware.com/cmake/cmake/-/issues/21471

problem when get int data from TextController or Api in flutter

i want to get int data entered in the TextField() in flutter, i using TextEditingController like this:
TextEditingController _section_id = new TextEditingController();
and using this controller in it:
TextField(controller: _section_id,
keyboardType: TextInputType.number,)
and i get int data in this way:
Repository().placeAddApiProvider(int.parse(_section_id.text));
but show me error:
E/flutter (25586): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: FormatException: Invalid number (at character 1)
E/flutter (25586):
E/flutter (25586): ^
E/flutter (25586):
E/flutter (25586): #0 int._throwFormatException (dart:core/runtime/libintegers_patch.dart:129:7)
E/flutter (25586): #1 int.parse (dart:core/runtime/libintegers_patch.dart:53:14)
E/flutter (25586): #2 AddPlaceState.build.<anonymous closure> (package:mosul/src/ui/users/add_place.dart:93:37)
E/flutter (25586): <asynchronous suspension>
E/flutter (25586): #3 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:513:14)
E/flutter (25586): #4 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:568:30)
E/flutter (25586): #5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:120:24)
E/flutter (25586): #6 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter (25586): #7 TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
E/flutter (25586): #8 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (25586): #9 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:20)
E/flutter (25586): #10 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:192:22)
E/flutter (25586): #11 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:149:7)
E/flutter (25586): #12 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
E/flutter (25586): #13 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
E/flutter (25586): #14 _rootRunUnary (dart:async/zone.dart:1136:13)
E/flutter (25586): #15 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (25586): #16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
E/flutter (25586): #17 _invoke1 (dart:ui/hooks.dart:223:10)
E/flutter (25586): #18 _dispatchPointerDataPacket (dart:ui/hooks.dart:144:5)
E/flutter (25586):
V/ActivityThread(25586): updateVisibility : ActivityRecord{1e7c9680 token=android.os.BinderProxy#2565abb2 {org.codeforiraq.mosul/org.codeforiraq.mosul.MainActivity}} show : false
E/OpenGLRenderer(25586): SFEffectCache:clear(), mSize = 0
W/IInputConnectionWrapper(25586): showStatusIcon on inactive InputConnection
there is no problem in (Repository().placeAddApiProvider), and data return from API for section_id is int, i try in postman and every thing work good?
Thank you
The initial value of your TextField is just an empty string. Trying to parse that into an int will produce a FormatException error.
You may want to rewrite your code like this:
if (_section_id.text.trim() != "") {
Repository().placeAddApiProvider(int.parse(_section_id.text.trim()));
}

make a post request to API with http in flutter

i want to make http post request to api, i using http.post with flutter:
class SignUpApiProvider {
Client client = Client();
final host = Setting.host + 'signup';
Future signUp(String name, String email, String password) async {
final res = await client
.post(host, body:{'name': name, 'email': email, 'password': password});
if (res.statusCode == 200) {
return res;
} else {
return throw Exception('Failed to add data');
}
}
}
and when make request give me this error:
E/flutter (17691): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: Failed to add data
E/flutter (17691): #0 SignUpApiProvider.signUp (package:mosul/src/resources/SignupApiProvider.dart:19:14)
E/flutter (17691): <asynchronous suspension>
E/flutter (17691): #1 Repository.signUp (package:mosul/src/resources/repository.dart:14:83)
E/flutter (17691): #2 SignUpState.build.<anonymous closure> (package:mosul/src/ui/users/signup.dart:66:34)
E/flutter (17691): <asynchronous suspension>
E/flutter (17691): #3 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:513:14)
E/flutter (17691): #4 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:568:30)
E/flutter (17691): #5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:120:24)
E/flutter (17691): #6 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter (17691): #7 TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
E/flutter (17691): #8 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter (17691): #9 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:20)
E/flutter (17691): #10 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:192:22)
E/flutter (17691): #11 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:149:7)
E/flutter (17691): #12 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
E/flutter (17691): #13 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
E/flutter (17691): #14 _rootRunUnary (dart:async/zone.dart:1136:13)
E/flutter (17691): #15 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (17691): #16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
E/flutter (17691): #17 _invoke1 (dart:ui/hooks.dart:223:10)
E/flutter (17691): #18 _dispatchPointerDataPacket (dart:ui/hooks.dart:144:5)
E/flutter (17691):
when i try to make request by using Postman it is working good, thank you very much
edit: when i print (res.body) in else section :
{"message":"cannot create user!!"}
E/flutter ( 3026): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Exception: Failed to add data
.............
it is from server
....
but it postman it is work :(

Yii with sqlite 3

in config folder in both console.php and main.php
i am using:
'db'=>array(
'connectionString' => 'sqlite:protected/data/qdr.sqlite',
),
the sqlite db is in data folder.
now when i am trying to create model users (there is a table named users)
with the command
yiic shell
model users
it is showing the error:
>> model users
exception 'CDbException' with message 'CDbConnection failed to open the DB conne
ction: SQLSTATE[HY000] [14] unable to open database file' in F:\wamp\www\qdr\fra
mework\db\CDbConnection.php:381
Stack trace:
#0 F:\wamp\www\qdr\framework\db\CDbConnection.php(330): CDbConnection->open()
#1 F:\wamp\www\qdr\framework\db\CDbConnection.php(308): CDbConnection->setActive
(true)
#2 F:\wamp\www\qdr\framework\base\CModule.php(387): CDbConnection->init()
#3 F:\wamp\www\qdr\framework\base\CApplication.php(438): CModule->getComponent('
db')
#4 F:\wamp\www\qdr\framework\cli\commands\shell\ModelCommand.php(259): CApplicat
ion->getDb()
#5 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(128): ModelCommand->r
un(Array)
#6 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(99): ShellCommand->ru
nShell()
#7 F:\wamp\www\qdr\framework\console\CConsoleCommandRunner.php(67): ShellCommand
->run(Array)
#8 F:\wamp\www\qdr\framework\console\CConsoleApplication.php(91): CConsoleComman
dRunner->run(Array)
#9 F:\wamp\www\qdr\framework\base\CApplication.php(169): CConsoleApplication->pr
ocessRequest()
#10 F:\wamp\www\qdr\framework\yiic.php(33): CApplication->run()
#11 F:\wamp\www\qdr\framework\yiic(14): require_once('F:\wamp\www\qdr...')
#12 {main}
>> model users
exception 'CDbException' with message 'CDbConnection failed to open the DB conne
ction: SQLSTATE[HY000] [14] unable to open database file' in F:\wamp\www\qdr\fra
mework\db\CDbConnection.php:381
Stack trace:
#0 F:\wamp\www\qdr\framework\db\CDbConnection.php(330): CDbConnection->open()
#1 F:\wamp\www\qdr\framework\db\CDbConnection.php(308): CDbConnection->setActive
(true)
#2 F:\wamp\www\qdr\framework\base\CModule.php(387): CDbConnection->init()
#3 F:\wamp\www\qdr\framework\base\CApplication.php(438): CModule->getComponent('
db')
#4 F:\wamp\www\qdr\framework\cli\commands\shell\ModelCommand.php(259): CApplicat
ion->getDb()
#5 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(128): ModelCommand->r
un(Array)
#6 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(99): ShellCommand->ru
nShell()
#7 F:\wamp\www\qdr\framework\console\CConsoleCommandRunner.php(67): ShellCommand
->run(Array)
#8 F:\wamp\www\qdr\framework\console\CConsoleApplication.php(91): CConsoleComman
dRunner->run(Array)
#9 F:\wamp\www\qdr\framework\base\CApplication.php(169): CConsoleApplication->pr
ocessRequest()
#10 F:\wamp\www\qdr\framework\yiic.php(33): CApplication->run()
#11 F:\wamp\www\qdr\framework\yiic(14): require_once('F:\wamp\www\qdr...')
#12 {main}
>> model users
exception 'CDbException' with message 'CDbConnection failed to open the DB conne
ction: SQLSTATE[HY000] [14] unable to open database file' in F:\wamp\www\qdr\fra
mework\db\CDbConnection.php:381
Stack trace:
#0 F:\wamp\www\qdr\framework\db\CDbConnection.php(330): CDbConnection->open()
#1 F:\wamp\www\qdr\framework\db\CDbConnection.php(308): CDbConnection->setActive
(true)
#2 F:\wamp\www\qdr\framework\base\CModule.php(387): CDbConnection->init()
#3 F:\wamp\www\qdr\framework\base\CApplication.php(438): CModule->getComponent('
db')
#4 F:\wamp\www\qdr\framework\cli\commands\shell\ModelCommand.php(259): CApplicat
ion->getDb()
#5 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(128): ModelCommand->r
un(Array)
#6 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(99): ShellCommand->ru
nShell()
#7 F:\wamp\www\qdr\framework\console\CConsoleCommandRunner.php(67): ShellCommand
->run(Array)
#8 F:\wamp\www\qdr\framework\console\CConsoleApplication.php(91): CConsoleComman
dRunner->run(Array)
#9 F:\wamp\www\qdr\framework\base\CApplication.php(169): CConsoleApplication->pr
ocessRequest()
#10 F:\wamp\www\qdr\framework\yiic.php(33): CApplication->run()
#11 F:\wamp\www\qdr\framework\yiic(14): require_once('F:\wamp\www\qdr...')
#12 {main}
>> model users > test.txt
exception 'CDbException' with message 'CDbConnection failed to open the DB conne
ction: SQLSTATE[HY000] [14] unable to open database file' in F:\wamp\www\qdr\fra
mework\db\CDbConnection.php:381
Stack trace:
#0 F:\wamp\www\qdr\framework\db\CDbConnection.php(330): CDbConnection->open()
#1 F:\wamp\www\qdr\framework\db\CDbConnection.php(308): CDbConnection->setActive
(true)
#2 F:\wamp\www\qdr\framework\base\CModule.php(387): CDbConnection->init()
#3 F:\wamp\www\qdr\framework\base\CApplication.php(438): CModule->getComponent('
db')
#4 F:\wamp\www\qdr\framework\cli\commands\shell\ModelCommand.php(259): CApplicat
ion->getDb()
#5 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(128): ModelCommand->r
un(Array)
#6 F:\wamp\www\qdr\framework\cli\commands\ShellCommand.php(99): ShellCommand->ru
nShell()
#7 F:\wamp\www\qdr\framework\console\CConsoleCommandRunner.php(67): ShellCommand
->run(Array)
#8 F:\wamp\www\qdr\framework\console\CConsoleApplication.php(91): CConsoleComman
dRunner->run(Array)
#9 F:\wamp\www\qdr\framework\base\CApplication.php(169): CConsoleApplication->pr
ocessRequest()
#10 F:\wamp\www\qdr\framework\yiic.php(33): CApplication->run()
#11 F:\wamp\www\qdr\framework\yiic(14): require_once('F:\wamp\www\qdr...')
#12 {main}
what to do, what wrong here?
Just Use 'connectionString'=>'sqlite:f:\wamp\www\qdr\protected\data\testdrive.db' in main.php It works ....ta-da..........
i figured it out. The problem is with the server. I reinstalled it at everything fixed.
Yii has two configuration files. Console configuration isnt the same of website configuration. Maybe you have not yet set the right values in configuration files.