Thread: [Cppcms-users] Catched unknown exception
Brought to you by:
artyom-beilis
|
From: Manveru <ma...@ma...> - 2013-03-04 12:44:45
|
Hello,
How to resolve what is the problem with wikipp in case of such error?
2013-03-04 13:09:43; cppcms, error: Catched unknown exception in thread
pool (thread_pool.cpp:128)
Why tests (invoked by make test on cppcms) fail on FreeBSD?
--
Manveru
jabber: ma...@ma...
gg: 1624001
http://www.manveru.pl
|
|
From: Artyom B. <art...@ya...> - 2013-03-04 13:20:13
|
>________________________________ > From: Manveru <ma...@ma...> >To: cpp...@li... >Sent: Monday, March 4, 2013 2:14 PM >Subject: [Cppcms-users] Catched unknown exception > > >Hello, > >How to resolve what is the problem with wikipp in case of such error? > >2013-03-04 13:09:43; cppcms, error: Catched unknown exception in thread pool (thread_pool.cpp:128) When it happens? Under what conditions? > >Why tests (invoked by make test on cppcms) fail on FreeBSD? > 1. What CppCMS version? 2. Which test fails? 3. Full log from Testing directory would be helpful. 4. FreeBSD version and architecture would be helpful as well. >-- >Manveru >jabber: ma...@ma... > gg: 1624001 > http://www.manveru.pl Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |
|
From: Manveru <ma...@ma...> - 2013-03-04 18:55:09
|
2013/3/4 Artyom Beilis <art...@ya...>
> >________________________________
> > From: Manveru <ma...@ma...>
> >To: cpp...@li...
> >Sent: Monday, March 4, 2013 2:14 PM
> >Subject: [Cppcms-users] Catched unknown exception
> >
> >
> >Hello,
> >
> >How to resolve what is the problem with wikipp in case of such error?
> >
> >2013-03-04 13:09:43; cppcms, error: Catched unknown exception in thread
> pool (thread_pool.cpp:128)
>
>
> When it happens? Under what conditions?
>
> I have wikipp configured through unix socket which is bound by ngnix to
all requests of my domain (I do not know details as it is author solution
of my web provider). When I am trying to open
mydomain.me/wikipp/en/page/main/edit
>
> >
> >Why tests (invoked by make test on cppcms) fail on FreeBSD?
> >
>
>
> 1. What CppCMS version?
Latest from SVN
2. Which test fails?
>
3 - storage_test (Failed)
7 - cache_backend_test (Failed)
15 - status_test (Failed)
16 - async_status_test (Failed)
17 - form_test (Failed)
18 - cookie_test (Failed)
19 - internal_forwarder_test (Failed)
20 - forwarder_test (Failed)
21 - jsonrpc_test (Failed)
22 - http_timeouts_test_read (Failed)
23 - http_timeouts_test_write (Failed)
24 - file_server_test (Failed)
25 - file_server_with_listing_test (Failed)
26 - disco_test_http (Failed)
27 - disco_test_fastcgi_tcp (Failed)
28 - disco_test_scgi_tcp (Failed)
29 - secure_post_test (Failed)
32 - gzip_test (Failed)
34 - cppcms_service_test (Failed)
35 - session_interface_test_client_renew (Failed)
36 - session_interface_test_client_browser (Failed)
37 - session_interface_test_client_fixed (Failed)
38 - session_interface_test_server_renew (Failed)
39 - session_interface_test_server_browser (Failed)
40 - session_interface_test_server_fixed (Failed)
41 - session_interface_test_both_renew (Failed)
42 - session_interface_test_both_browser (Failed)
43 - session_interface_test_both_fixed (Failed)
44 - proto_test_async_http (Failed)
45 - proto_test_async_scgi (Failed)
46 - proto_test_async_fastcgi (Failed)
49 - proto_test_sync_http (Failed)
50 - proto_test_sync_scgi (Failed)
51 - proto_test_sync_fastcgi (Failed)
54 - loadable_storage_pass (Failed)
71 - test_aio_socket (Failed)
72 - test_aio_endpoint (Failed)
74 - test_aio_prefork (Failed)
> 3. Full log from Testing directory would be helpful.
>
I have only "Temporary" directory there. No logs.
> 4. FreeBSD version and architecture would be helpful as well.
>
FreeBSD xxxxx.net 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #5: Fri Jul 20
03:14:00 CEST 2012 ro...@xx...:/usr/obj/usr/src/sys/xxxxx amd64
>--
> >Manveru
> >jabber: ma...@ma...
> > gg: 1624001
> > http://www.manveru.pl
>
>
>
> Artyom Beilis
> --------------
> CppCMS - C++ Web Framework: http://cppcms.com/
> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
--
Manveru
jabber: ma...@ma...
gg: 1624001
http://www.manveru.pl
|
|
From: Artyom B. <art...@ya...> - 2013-03-04 20:03:19
|
>>>Hello, >>> >>>How to resolve what is the problem with wikipp in case of such error? >>> >>>2013-03-04 13:09:43; cppcms, error: Catched unknown exception in thread pool (thread_pool.cpp:128) >> >> >>When it happens? Under what conditions? >> >> >> >I have wikipp configured through unix socket which is bound by ngnix to all requests of my domain (I do not know details as it is author solution of my web provider). When I am trying to open mydomain.me/wikipp/en/page/main/edit > Are you sure you configured service correctly? One thing I remember about FreeBSD is that CMake does not provide -rdynamic option to linker so you may have problems with sharing exceptions over DSO... http://sourceforge.net/p/cppcms/code/2238/tree/framework/trunk/CMakeLists.txt#l135 Probably you need to add this to wikipp's CMakeLists.txt file... Or add a compilation option in command line. > >>> >>>Why tests (invoked by make test on cppcms) fail on FreeBSD? >>> >> >> >>1. What CppCMS version? > Latest from SVN > Currently there some failures on FreeBSD in svn version, but not that much http://cppcms.com/files/nightly-build-report.html Also they will be fixed The question why do you use svn version? > >2. Which test fails? >> > > 3 - storage_test (Failed) > 7 - cache_backend_test (Failed) > 15 - status_test (Failed) > ... > 74 - test_aio_prefork (Failed) > http://cppcms.com/wikipp/en/page/cppcms_1x_build_troubleshooting#Lots.of.tests.fails Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |
|
From: Manveru <ma...@ma...> - 2013-03-04 21:20:58
|
2013/3/4 Artyom Beilis <art...@ya...> > > Are you sure you configured service correctly? > No, I can't. I expect that if any error happen it would help me solve the configuraion issue. One thing I remember about FreeBSD is that CMake does not provide > -rdynamic option to linker so you may have problems with sharing > exceptions over DSO... > > > http://sourceforge.net/p/cppcms/code/2238/tree/framework/trunk/CMakeLists.txt#l135 > > > Probably you need to add this to wikipp's CMakeLists.txt file... Or add a > compilation > option in command line. > That is interesting. The other missing option was -pthread to get compiled and linked against pthreads in non-standard /usr/local location. > > >>> > >>>Why tests (invoked by make test on cppcms) fail on FreeBSD? > >>> > >> > >> > >>1. What CppCMS version? > > Latest from SVN > > > > Currently there some failures on FreeBSD in svn version, but not that much > http://cppcms.com/files/nightly-build-report.html > > Also they will be fixed > > The question why do you use svn version? > Because I had problems with release version so I thought I give trunk a try. I tried with clang as well, but that does not work as well. I may try whatever compilation combination you like on this FreeBSD 9 I have access to. > > > >2. Which test fails? > >> > > > > 3 - storage_test (Failed) > > 7 - cache_backend_test (Failed) > > 15 - status_test (Failed) > > ... > > 74 - test_aio_prefork (Failed) > > > > > http://cppcms.com/wikipp/en/page/cppcms_1x_build_troubleshooting#Lots.of.tests.fails > > > OK. Port gives some hint. Current results: Total Test time (real) = 297.70 sec The following tests FAILED: 3 - storage_test (Failed) 7 - cache_backend_test (Failed) 23 - http_timeouts_test_write (Failed) Errors while running CTest *** Error code 8 Tested without -rdynamic yet. Some additional info according the link you gave me: ~/sources/cppcms-1.0.3/build>$ python -V Python 2.7.2 ~/sources/cppcms-1.0.3/build>$ cmake --version cmake version 2.8.7 ~/sources/cppcms-1.0.3/build>$ pcretest PCRE version 8.30 2012-02-04 ~/sources/cppcms-1.0.3/build>$ gcc --version gcc (GCC) 4.2.1 20070831 patched [FreeBSD] ~/sources/cppcms-1.0.3/build>$ gcc46 --version gcc46 (FreeBSD Ports Collection) 4.6.3 20120120 (prerelease) /usr/local/include/unicode/uvernum.h:#define U_ICU_VERSION "4.8.1.1" -- Manveru jabber: ma...@ma... gg: 1624001 http://www.manveru.pl |
|
From: Manveru <ma...@ma...> - 2013-03-05 15:06:32
|
Tested with -rdynamic seems doing noting. The queries over the socket are not processed. Nothing in the log. I surrender. I do not see a chance to make it working on this FreeBSD. 2013/3/4 Manveru <ma...@ma...> > > > 2013/3/4 Artyom Beilis <art...@ya...> > >> >> Are you sure you configured service correctly? >> > > No, I can't. I expect that if any error happen it would help me solve the > configuraion issue. > > > One thing I remember about FreeBSD is that CMake does not provide >> -rdynamic option to linker so you may have problems with sharing >> exceptions over DSO... >> >> >> http://sourceforge.net/p/cppcms/code/2238/tree/framework/trunk/CMakeLists.txt#l135 >> >> >> Probably you need to add this to wikipp's CMakeLists.txt file... Or add a >> compilation >> option in command line. >> > > That is interesting. The other missing option was -pthread to get compiled > and linked against pthreads in non-standard /usr/local location. > > > >> >>> >> >>>Why tests (invoked by make test on cppcms) fail on FreeBSD? >> >>> >> >> >> >> >> >>1. What CppCMS version? >> > Latest from SVN >> > >> >> Currently there some failures on FreeBSD in svn version, but not that much >> http://cppcms.com/files/nightly-build-report.html >> >> Also they will be fixed >> >> The question why do you use svn version? >> > > Because I had problems with release version so I thought I give trunk a > try. I tried with clang as well, but that does not work as well. I may try > whatever compilation combination you like on this FreeBSD 9 I have access > to. > > >> > >> >2. Which test fails? >> >> >> > >> > 3 - storage_test (Failed) >> > 7 - cache_backend_test (Failed) >> > 15 - status_test (Failed) >> > ... >> > 74 - test_aio_prefork (Failed) >> > >> >> >> http://cppcms.com/wikipp/en/page/cppcms_1x_build_troubleshooting#Lots.of.tests.fails >> >> >> > OK. Port gives some hint. > Current results: > Total Test time (real) = 297.70 sec > > The following tests FAILED: > > 3 - storage_test (Failed) > 7 - cache_backend_test (Failed) > 23 - http_timeouts_test_write (Failed) > Errors while running CTest > *** Error code 8 > > Tested without -rdynamic yet. > > > Some additional info according the link you gave me: > ~/sources/cppcms-1.0.3/build>$ python -V > Python 2.7.2 > ~/sources/cppcms-1.0.3/build>$ cmake --version > cmake version 2.8.7 > ~/sources/cppcms-1.0.3/build>$ pcretest > PCRE version 8.30 2012-02-04 > ~/sources/cppcms-1.0.3/build>$ gcc --version > gcc (GCC) 4.2.1 20070831 patched [FreeBSD] > ~/sources/cppcms-1.0.3/build>$ gcc46 --version > gcc46 (FreeBSD Ports Collection) 4.6.3 20120120 (prerelease) > > /usr/local/include/unicode/uvernum.h:#define U_ICU_VERSION "4.8.1.1" > > > > -- > Manveru > jabber: ma...@ma... > gg: 1624001 > http://www.manveru.pl > -- Manveru jabber: ma...@ma... gg: 1624001 http://www.manveru.pl |