dannote / mod-ndb

Automatically exported from code.google.com/p/mod-ndb
0 stars 0 forks source link

Segfault after startup: apache 2.2.4 + NDB 5.1.20-debug #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Observed on Mac OS X 10.4.

This is another problem that occurs only with a "debug" build of mysql.

[Tue Sep 11 00:24:29 2007] [notice] Apache/2.2.4 (Unix) NDB/5.1.20-beta 
configured -- 
resuming normal operations
[Tue Sep 11 00:24:29 2007] [info] Server built: Aug 29 2007 17:18:20
[Tue Sep 11 00:24:29 2007] [debug] worker.c(1740): AcceptMutex: sysvsem 
(default: sysvsem)
[Tue Sep 11 00:24:29 2007] [debug] mod_ndb_ap20.cc(46): srv->conenct_string: 
(null)
[Tue Sep 11 00:24:29 2007] [debug] mod_ndb_ap20.cc(47): 
srv->max_read_operations: 20
[Tue Sep 11 00:24:29 2007] [debug] mod_ndb_ap20.cc(46): srv->conenct_string: 
(null)
[Tue Sep 11 00:24:29 2007] [debug] mod_ndb_ap20.cc(47): 
srv->max_read_operations: 20
[Tue Sep 11 00:24:30 2007] [notice] PID 650 : mod_ndb (r413:416M) connected to 
NDB Cluster 
as node 3 (15 threads; hard limit: 64)
[Tue Sep 11 00:24:30 2007] [debug] mod_ndb_ap20.cc(164): *--  DEBUGGING ENABLED 
--*
[Tue Sep 11 00:24:30 2007] [notice] Node 3 initialized 15 NDB thread instances 
(15 successes, 0 
failures).
[Tue Sep 11 00:24:30 2007] [notice] PID 649 : mod_ndb (r413:416M) connected to 
NDB Cluster 
as node 4 (15 threads; hard limit: 64)
[Tue Sep 11 00:24:30 2007] [debug] mod_ndb_ap20.cc(164): *--  DEBUGGING ENABLED 
--*
[Tue Sep 11 00:24:30 2007] [notice] Node 4 initialized 15 NDB thread instances 
(15 successes, 0 
failures).
[Tue Sep 11 00:24:39 2007] [notice] child pid 649 exit signal Segmentation 
fault (11), possible 
coredump in /Users/jdd/Desktop/mod_ndb/mod_ndb

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xb0023e88
0x006383cb in _db_return_ (_line_=411, _sfunc_=0xbffff5cc, _sfile_=0xbffff5c8, _
slevel_=0xbffff5c4) at dbug.c:1055
1055        cs->framep= (char **) *cs->framep;
(gdb) bt
#0  0x006383cb in _db_return_ (_line_=411, _sfunc_=0xbffff5cc, _sfile_=0xbffff5c
8, _slevel_=0xbffff5c4) at dbug.c:1055
#1  0x020139db in Ndb_cluster_connection_impl::~Ndb_cluster_connection_impl (thi
s=0x500bf0) at ndb_cluster_connection.cpp:411
#2  0x02013a2b in Ndb_cluster_connection::~Ndb_cluster_connection (this=0x500be0
) at ndb_cluster_connection.cpp:62
#3  0x01009b88 in mod_ndb_child_exit (v=0x180d030) at mod_ndb_ap20.cc:116
#4  0x003a2a96 in run_cleanups (cref=0x1879e28) at memory/unix/apr_pools.c:2034
#5  0x003a3412 in apr_pool_destroy (pool=0x1879e18) at memory/unix/apr_pools.c:7
27
#6  0x00047406 in clean_child_exit (code=0) at worker.c:350
#7  0x00048bd0 in child_main (child_num_arg=0) at worker.c:1292
#8  0x00048dca in make_child (s=0x180d030, slot=0) at worker.c:1341
#9  0x00048ea0 in startup_children (number_to_start=2) at worker.c:1375
#10 0x00049c1b in ap_mpm_run (_pconf=0x1806418, plog=0x1844418, s=0x180d030) at 
worker.c:1725
#11 0x00002b5c in main (argc=3, argv=0xbffffa68) at main.c:717

Original issue reported on code.google.com by john.david.duncan on 11 Sep 2007 at 7:28