Hi,
today I had some long IRC sessions sorting out my midgard probs. Aside
from the probs I had in connecting to mysql.sock (apparently this was
due to some wrong directory permissions which only showed up when using
socks), we investigated that the segmentastion fault problem is even
present on SUSE and even on apache 1.3.14. Thats what we did:
1) http://localhost:80/asgard/ The PW Dialog shows up, but login
fails. In the log I see
midgard_translate_handler(latin1, http://locutus:80/index.html)
[Fri Apr 27 19:21:27 2001] [debug]
/usr/local/include/midgard/select_db.h(52): [client 192.168.0.1]
Midgard: select_database reused open (midgard)
[Fri Apr 27 19:21:27 2001] [debug] mod_midgard.c(1242): [client
192.168.0.1] Midgard: host record for locutus:80 not found
So there is a connect to midgard now, that is one step further than
before!
2) we uncommented php.ini "extension=midgard.so" and
changed midgard-root.php so that it contains
phpinfo ();
This worked OK - browser sent the php info stuff. No probs with the
khandler or db connect any more.
3) We added to midgard-root.php
dl ("midgard.so");
In THIS case I got:
[Fri Apr 27 19:21:35 2001] [debug] mod_midgard.c(1195): [client
192.168.0.1] midgard_translate_handler(latin1,http://locutus:80/asgard/)
[Fri Apr 27 19:21:35 2001] [debug]
/usr/local/include/midgard/select_db.h(24): [client 192.168.0.1]
Midgard: select_database opened midgard
[Fri Apr 27 19:21:36 2001] [debug]
/usr/local/include/midgard/select_db.h(8): [client 192.168.0.1]
Midgard: select_database kept current (midgard)
[Fri Apr 27 19:21:36 2001] [debug] mod_midgard.c(1292): [client
192.168.0.1] Midgard: using style #5 (40 elements)
[Fri Apr 27 19:21:36 2001] [debug]
/usr/local/include/midgard/select_db.h(8): [client 192.168.0.1]
Midgard: select_database kept current (midgard)
[Fri Apr 27 19:21:37 2001] [notice] child pid 8629 exit signal
Segmentation fault (11)
The seg fault was reproducible on suse 7.1, either with apache 1.3.19
or with (downgraded) 1.3.14. The midgard was compiled with 1.3.14
installed.
Please don't asked if I tested my libs or anything else, I feel like we
already tested everything ;-(
Thomas
--
-------------------------------------------------------
Thomas M. ROTHER - "netzwissen" - D-73728 Esslingen
F.R. Germany/EU
- http://www.netzwissen.de (Updated!)
Public PGP Key available from http://www.keyserver.net
-------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]