DeveloperSide.NET Forums
December 06, 2019, 03:57:49 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2
1  DeveloperSide.NET / Anything else goes here / Re: Faulting Application perl.exe? on: August 25, 2007, 02:08:58 PM
I also got a problem with that mysql.dll
I did some traces and found out that it's actually the DBD::mysql XS module that generates this error. I have upgraded to the last version 4.005 and the faults are gone.

http://search.cpan.org/~capttofu/DBD-mysql-4.005/lib/DBD/mysql.pm

I hope it helps.
2  DeveloperSide.NET / Anything else goes here / PDB debug files on: August 24, 2007, 12:54:50 PM
Is there any way to get the associated pdb files for all dll and exe files?
I expectially need the mysql.pdb for (mysql.dll) and I don't want to recompile all just for that :D

Thanks.
3  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ debugging crashes
on: October 27, 2006, 07:48:31 AM
then at least add debug compiling instructions for the lazy (like me)   :roll:
4  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ debugging crashes
on: October 26, 2006, 10:00:02 PM
why not have a separate debug enabled release of the suite ?
5  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ debugging crashes
on: October 26, 2006, 03:11:12 PM
Hi,

How do we get a call stack when it comes to problems like this:


Shouldn't we have a debug version of the suite ?

Thanks.
6  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ Can't get Crypt::SSLeay to work
on: August 12, 2006, 07:49:04 PM
Using "Version 1.17-httpd22 standard and ssl-enabled" pack, I tried to compile Crypt::SSLeay..but look what happened:

Code:
       C:\www\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/net_ssl........dubious
        Test returned status 5 (wstat 1280, 0x500)
t/ssl_context....dubious
        Test returned status 5 (wstat 1280, 0x500)
FAILED--2 test scripts could be run, alas--no output ever seen
NMAKE : fatal error U1077: 'C:\www\perl\bin\perl.exe' : return code '0x5'
Stop.
  C:\Progra~1\Micros~1.NET\VC7\BIN\nmake.EXE test -- NOT OK




The bad thing is that Crypt::SSLeay looks unmaintained (last release 10 Jun 2003). There must be some issues when using openssl 0.9.8, sadly nobody can fix them..
7  DeveloperSide.NET / Feedback and Suggestions / Have apreq included on: February 16, 2006, 02:37:23 PM
Well now the latest release is "February 12, 2006 - libapreq2-2.07 was released."  :D

I use it mainly for Apache::Request and Apache::Cookie.
BTW I had to install VS2003 to build it and it seems to work, that is because I don't have VC6.
8  DeveloperSide.NET / Feedback and Suggestions / Have apreq included on: February 04, 2006, 02:25:52 PM
It would be great to inlcude apreq (http://httpd.apache.org/apreq/) in the server package too. It's very useful and tricky to compile by yourself..
Once I've managed to build it with vs2003, now I tried with vs2005 but no luck :(
The dlls are linked to msvcrt80.dll and apache refuses to start.
9  DeveloperSide.NET / Anything else goes here / mod_perl on winnt question on: February 04, 2006, 12:48:53 PM
I have fixed that few days ago, it was some other problem...related to database locking (using Apache::Session and mysql)
10  DeveloperSide.NET / Anything else goes here / using Apache::DBI on: February 03, 2006, 09:09:22 AM
I think the problem is with mod_perl + Apache::DBI. Try to install Apache::DBI and add this to your startup.pl

Code:

use Apache::DBI ();
Apache::DBI->connect_on_init(...)


Then call /hello handler. It works, the very first time but then watch the apache's log.. "Parent: child process exited with status 9"
11  DeveloperSide.NET / Anything else goes here / using Apache::DBI on: February 02, 2006, 02:41:46 PM
I'm trying to use Apache::DBI with mod_perl to reuse mysql connections.

my startup has this appended:

use Apache::DBI ();
Apache::DBI->connect_on_init('DBI:mysql:jono:127.0.0.1', 'xxx', 'yyy');

then I call /hello for example, and watch the apache log:

[Thu Feb 02 16:31:07 2006] [notice] Parent: child process exited with status 9 -- Restarting.
[Thu Feb 02 16:31:09 2006] [notice] NOYB mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations
[Thu Feb 02 16:31:09 2006] [notice] Server built: Jan 21 2006 04:16:10
[Thu Feb 02 16:31:09 2006] [notice] Parent: Created child process 1168
[Thu Feb 02 16:31:09 2006] [notice] mod_security/1.9.2 configured - Apache/2.0.55 (Win32)
[Thu Feb 02 16:31:10 2006] [notice] Child 1168: Child process is running
[Thu Feb 02 16:31:11 2006] [notice] Child 1168: Acquired the start mutex.
[Thu Feb 02 16:31:11 2006] [notice] Child 1168: Starting 250 worker threads.

Note that i'm using latest www bundle (1.16) and mysql is working correctly.
12  DeveloperSide.NET / Anything else goes here / mod_perl on winnt question on: May 21, 2005, 10:56:14 PM
Is it normal for winnt apache 2.0 (with the default config) + mod_perl 2.0 to accept only one request per handler ?

Let's say you have a handler /hello that has 2 branches depending on pathinfo: /hello/br1 and /hello/br2, one with an infinite loop "sleep 1 while(1);" and one with a simple "$r->puts". If you enter the first branch (the one with the infinite loop) and then make a second request to the other branch this will never execute.
But if you make a request to another handler...lets say /perl-status it's ok.
13  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ How do I compile DBD::mysql ?
on: April 16, 2005, 09:52:58 AM
Thanks for the link, Rudy Lippan was right..there should be another lib added at the link process (libcmt.lib). I'm using VS.NET too and it is in the same dir as msvcrt.lib.

I don't know if it's good to switch to activestate's perl, I know that they made some patches for Win32 perl to make it better...but i'm concerned about those ppm's. I've heard ppl saying "i can't find X or Y ppm on their site" and that's why I prefer to build them from source.

Anyways yesterday I manually put the old DBD::mysql and DBI modules from the www-1.12 distro (perl/site/[DBD,DBI]* and /perl/site/auto/[DBD,DBI]*) wich was compiled with mysql 4.0 client support, and guess what..it worked :)
14  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ How do I compile DBD::mysql ?
on: April 15, 2005, 11:46:45 PM
i tried with
Code:
perl Makefile.PL --cflags=-Ic:\devside\mysql\include --libs="-Lc:\devside\mysql\lib\opt -lmysqlclient -lmysys -lregex -lstrings -lzlib -lmysql"
nmake


and I get:
Code:
...<cut>...
   Creating library blib\arch\auto\DBD\mysql\mysql.lib and object blib\arch\auto\DBD\mysql\mysql.
exp
mysqlclient.lib(mf_pack.obj) : error LNK2019: unresolved external symbol __pctype referenced in function _symdirget
mysqlclient.lib(mf_pack.obj) : error LNK2019: unresolved external symbol ___mb_cur_max referenced
 in function _symdirget
blib\arch\auto\DBD\mysql\mysql.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'C:\www\perl\bin\perl.exe' : return code '0x1'
Stop.

C:\devside\DBD-mysql-2.9006>
15  DeveloperSide.NET / Anything else goes here / mod_perl reloading Apache::Reload on: April 15, 2005, 02:56:24 PM
i've found a workaround for reloading the handler module...but unfortunately it's not perfect :(
replace
Code:
PerlResponseHandler MyPerl::MyTest

from httpd.conf with
Code:
PerlResponseHandler "sub { do 'MyPerl/MyTest.pm'; MyPerl::MyTest::handler(shift) }


and the warn can brought back to mod_perl with
Code:
use Apache::ServerRec qw(warn);
*CORE::GLOBAL::warn = \&Apache::ServerRec::warn;

added in the startup.pl script.
Pages: [1] 2
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!