You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Vikas Charak <Vi...@melbourneitdbs.com> on 2010/02/26 17:59:07 UTC

OS Error with exit status code 139 in CouchDB

Hi ,

I installed couchdb on CentOS release 5.4. The server comes up fine. I
can create databases, documents and views.

But I am getting  following error , when I try to execute a view query
to get data. Also if I run coucdb tests , I get the same error.

[error] [<0.455.0>] OS Process Error <0.1293.0> ::
{os_process_error,{exit_status,139}}

 

I ran couchdb in "DEBUG" mode , see the output below

 

Apache CouchDB 0.11.0b911931 (LogLevel=debug) is starting.

Configuration Settings ["/usr/local/etc/couchdb/default.ini",

                        "/usr/local/etc/couchdb/local.ini"]:

  [attachments] compressible_types="text/* application/javascript
application/json application/xml"

  [attachments] compression_level="8"

  [couch_httpd_auth] authentication_db="_users"

  [couch_httpd_auth] require_valid_user="false"

  [couchdb] batch_save_interval="1000"

  [couchdb] batch_save_size="1000"

  [couchdb] database_dir="/usr/local/var/lib/couchdb"

  [couchdb] delayed_commits="true"

  [couchdb] max_attachment_chunk_size="4294967296"

  [couchdb] max_dbs_open="100"

  [couchdb] max_document_size="4294967296"

  [couchdb] os_process_timeout="5000"

  [couchdb]
util_driver_dir="/usr/local/lib/couchdb/erlang/lib/couch-0.11.0b911931/p
riv/lib"

  [couchdb] view_index_dir="/usr/local/var/lib/couchdb"

  [daemons] db_update_notifier="{couch_db_update_notifier_sup,
start_link, []}"

  [daemons] external_manager="{couch_external_manager, start_link, []}"

  [daemons] httpd="{couch_httpd, start_link, []}"

  [daemons] query_servers="{couch_query_servers, start_link, []}"

  [daemons] stats_aggregator="{couch_stats_aggregator, start, []}"

  [daemons] stats_collector="{couch_stats_collector, start, []}"

  [daemons] uuids="{couch_uuids, start, []}"

  [daemons] view_manager="{couch_view, start_link, []}"

  [httpd] authentication_handlers="{couch_httpd_oauth,
oauth_authentication_handler}, {couch_httpd_auth,
cookie_authentication_handler}, {couch_httpd_auth,
default_authentication_handler}"

  [httpd] bind_address="0.0.0.0"

  [httpd] default_handler="{couch_httpd_db, handle_request}"

  [httpd] port="5984"

  [httpd_db_handlers] _changes="{couch_httpd_db, handle_changes_req}"

  [httpd_db_handlers] _compact="{couch_httpd_db, handle_compact_req}"

  [httpd_db_handlers] _design="{couch_httpd_db, handle_design_req}"

  [httpd_db_handlers] _temp_view="{couch_httpd_view,
handle_temp_view_req}"

  [httpd_db_handlers] _view_cleanup="{couch_httpd_db,
handle_view_cleanup_req}"

  [httpd_design_handlers] _info="{couch_httpd_db,
handle_design_info_req}"

  [httpd_design_handlers] _list="{couch_httpd_show,
handle_view_list_req}"

  [httpd_design_handlers] _rewrite="{couch_httpd_rewrite,
handle_rewrite_req}"

  [httpd_design_handlers] _show="{couch_httpd_show,
handle_doc_show_req}"

  [httpd_design_handlers] _update="{couch_httpd_show,
handle_doc_update_req}"

  [httpd_design_handlers] _view="{couch_httpd_view, handle_view_req}"

  [httpd_global_handlers] /="{couch_httpd_misc_handlers,
handle_welcome_req, <<\"Welcome\">>}"

  [httpd_global_handlers] _active_tasks="{couch_httpd_misc_handlers,
handle_task_status_req}"

  [httpd_global_handlers] _all_dbs="{couch_httpd_misc_handlers,
handle_all_dbs_req}"

  [httpd_global_handlers] _config="{couch_httpd_misc_handlers,
handle_config_req}"

  [httpd_global_handlers] _log="{couch_httpd_misc_handlers,
handle_log_req}"

  [httpd_global_handlers] _oauth="{couch_httpd_oauth, handle_oauth_req}"

  [httpd_global_handlers] _replicate="{couch_httpd_misc_handlers,
handle_replicate_req}"

  [httpd_global_handlers] _restart="{couch_httpd_misc_handlers,
handle_restart_req}"

  [httpd_global_handlers] _session="{couch_httpd_auth,
handle_session_req}"

  [httpd_global_handlers] _sleep="{couch_httpd_misc_handlers,
handle_sleep_req}"

  [httpd_global_handlers] _stats="{couch_httpd_stats_handlers,
handle_stats_req}"

  [httpd_global_handlers] _utils="{couch_httpd_misc_handlers,
handle_utils_dir_req, \"/usr/local/share/couchdb/www\"}"

  [httpd_global_handlers] _uuids="{couch_httpd_misc_handlers,
handle_uuids_req}"

  [httpd_global_handlers] favicon.ico="{couch_httpd_misc_handlers,
handle_favicon_req, \"/usr/local/share/couchdb/www\"}"

  [log] file="/usr/local/var/log/couchdb/couch.log"

  [log] level="debug"

  [query_server_config] reduce_limit="true"

  [query_servers] javascript="/usr/local/bin/couchjs
/usr/local/share/couchdb/server/main.js"

  [stats] rate="1000"

  [stats] samples="[0, 60, 300, 900]"

  [uuids] algorithm="sequential"

Apache CouchDB has started. Time to relax.

[info] [<0.30.0>] Apache CouchDB has started on http://0.0.0.0:5984/

 

[root@dev-dbms3 ~]# clear

[root@dev-dbms3 ~]# couchdb

Apache CouchDB 0.11.0b911931 (LogLevel=debug) is starting.

Configuration Settings ["/usr/local/etc/couchdb/default.ini",

                        "/usr/local/etc/couchdb/local.ini"]:

  [attachments] compressible_types="text/* application/javascript
application/json application/xml"

  [attachments] compression_level="8"

  [couch_httpd_auth] authentication_db="_users"

  [couch_httpd_auth] require_valid_user="false"

  [couchdb] batch_save_interval="1000"

  [couchdb] batch_save_size="1000"

  [couchdb] database_dir="/usr/local/var/lib/couchdb"

  [couchdb] delayed_commits="true"

  [couchdb] max_attachment_chunk_size="4294967296"

  [couchdb] max_dbs_open="100"

  [couchdb] max_document_size="4294967296"

  [couchdb] os_process_timeout="5000"

  [couchdb]
util_driver_dir="/usr/local/lib/couchdb/erlang/lib/couch-0.11.0b911931/p
riv/lib"

  [couchdb] view_index_dir="/usr/local/var/lib/couchdb"

  [daemons] db_update_notifier="{couch_db_update_notifier_sup,
start_link, []}"

  [daemons] external_manager="{couch_external_manager, start_link, []}"

  [daemons] httpd="{couch_httpd, start_link, []}"

  [daemons] query_servers="{couch_query_servers, start_link, []}"

  [daemons] stats_aggregator="{couch_stats_aggregator, start, []}"

  [daemons] stats_collector="{couch_stats_collector, start, []}"

  [daemons] uuids="{couch_uuids, start, []}"

  [daemons] view_manager="{couch_view, start_link, []}"

  [httpd] authentication_handlers="{couch_httpd_oauth,
oauth_authentication_handler}, {couch_httpd_auth,
cookie_authentication_handler}, {couch_httpd_auth,
default_authentication_handler}"

  [httpd] bind_address="0.0.0.0"

  [httpd] default_handler="{couch_httpd_db, handle_request}"

  [httpd] port="5984"

  [httpd_db_handlers] _changes="{couch_httpd_db, handle_changes_req}"

  [httpd_db_handlers] _compact="{couch_httpd_db, handle_compact_req}"

  [httpd_db_handlers] _design="{couch_httpd_db, handle_design_req}"

  [httpd_db_handlers] _temp_view="{couch_httpd_view,
handle_temp_view_req}"

  [httpd_db_handlers] _view_cleanup="{couch_httpd_db,
handle_view_cleanup_req}"

  [httpd_design_handlers] _info="{couch_httpd_db,
handle_design_info_req}"

  [httpd_design_handlers] _list="{couch_httpd_show,
handle_view_list_req}"

  [httpd_design_handlers] _rewrite="{couch_httpd_rewrite,
handle_rewrite_req}"

  [httpd_design_handlers] _show="{couch_httpd_show,
handle_doc_show_req}"

  [httpd_design_handlers] _update="{couch_httpd_show,
handle_doc_update_req}"

  [httpd_design_handlers] _view="{couch_httpd_view, handle_view_req}"

  [httpd_global_handlers] /="{couch_httpd_misc_handlers,
handle_welcome_req, <<\"Welcome\">>}"

  [httpd_global_handlers] _active_tasks="{couch_httpd_misc_handlers,
handle_task_status_req}"

  [httpd_global_handlers] _all_dbs="{couch_httpd_misc_handlers,
handle_all_dbs_req}"

  [httpd_global_handlers] _config="{couch_httpd_misc_handlers,
handle_config_req}"

  [httpd_global_handlers] _log="{couch_httpd_misc_handlers,
handle_log_req}"

  [httpd_global_handlers] _oauth="{couch_httpd_oauth, handle_oauth_req}"

  [httpd_global_handlers] _replicate="{couch_httpd_misc_handlers,
handle_replicate_req}"

  [httpd_global_handlers] _restart="{couch_httpd_misc_handlers,
handle_restart_req}"

  [httpd_global_handlers] _session="{couch_httpd_auth,
handle_session_req}"

  [httpd_global_handlers] _sleep="{couch_httpd_misc_handlers,
handle_sleep_req}"

  [httpd_global_handlers] _stats="{couch_httpd_stats_handlers,
handle_stats_req}"

  [httpd_global_handlers] _utils="{couch_httpd_misc_handlers,
handle_utils_dir_req, \"/usr/local/share/couchdb/www\"}"

  [httpd_global_handlers] _uuids="{couch_httpd_misc_handlers,
handle_uuids_req}"

  [httpd_global_handlers] favicon.ico="{couch_httpd_misc_handlers,
handle_favicon_req, \"/usr/local/share/couchdb/www\"}"

  [log] file="/usr/local/var/log/couchdb/couch.log"

  [log] level="debug"

  [query_server_config] reduce_limit="true"

  [query_servers] javascript="/usr/local/bin/couchjs
/usr/local/share/couchdb/server/main.js"

  [stats] rate="1000"

  [stats] samples="[0, 60, 300, 900]"

  [uuids] algorithm="sequential"

Apache CouchDB has started. Time to relax.

[info] [<0.30.0>] Apache CouchDB has started on http://0.0.0.0:5984/

 

Does anyone had such issue?

 

Regards,

Vikas 

 


Re: OS Error with exit status code 139 in CouchDB

Posted by Brian Candler <B....@pobox.com>.
On Sat, Feb 27, 2010 at 02:59:07AM +1000, Vikas Charak wrote:
> I installed couchdb on CentOS release 5.4. The server comes up fine. I
> can create databases, documents and views.
> 
> But I am getting  following error , when I try to execute a view query
> to get data. Also if I run coucdb tests , I get the same error.
> 
> [error] [<0.455.0>] OS Process Error <0.1293.0> ::
> {os_process_error,{exit_status,139}}

I believe that means "terminated by signal 11" (128 + 11), and sig 11 is a
SEGV.

It could mean that couchjs was built or linked wrongly. (What happens if you
run couchjs from the command line?)

Sometimes it indicates a hardware failure (google for SIG 11 FAQ), but if
it's repeatable - fails at exactly the same place - then that's not going to
be the problem.