Segmentation fault (core dumped)

Segmentation fault (core dumped)

am 02.04.2004 16:43:03 von jobyjames

hi all

i am creating a database in solaris with $rc = $drh->func('createdb',
$database, $host, $user, $password, 'admin'); API and it is working
perfectly in one server.. And now i am testing the same script(instalation
script) in another server this gives an error Segmentation fault (core
dumped) and after this progaram exits ..

is any package or driver is missing in the new server(system) ????

please help me to resolve this problum...

******************programe code************************
print "\nStart creating the DB.........\n";
$rc = $drh->func('createdb', $database, $host, $user, $password, 'admin');
warn "Create failed ($rc)" unless $rc;


Joby James
Lucent Technologies India Ltd,
INS India Development center,
Salarpuria Towers 1,
22 Hosur Road, Koramangala Industrial Layout,
Bangalore-560095.
Ph: 080-51191413(Direct) Extn (2413)
Email: jobyjames@lucent.com


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Segmentation fault (core dumped)

am 02.04.2004 17:21:49 von Rudy Lippan

On Fri, 2 Apr 2004, James, Joby (Joby)** CTR ** wrote:

> i am creating a database in solaris with $rc = $drh->func('createdb',
> $database, $host, $user, $password, 'admin'); API and it is working
> perfectly in one server.. And now i am testing the same script(instalation
> script) in another server this gives an error Segmentation fault (core
> dumped) and after this progaram exits ..

Try recompiling DBD::mysql on the client machine -- you might also want
to try recompiling the client libraries on that machine too. You might
want to try upgrading to the latest DBD::mysql which is 2.9003.

If that does not solve the problem, can you send, 1. the output of perl
-V, 2. a stack trace and 3. a full example program that exhibits the
problem.


Also does make test pass on that system?

Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Segmentation fault (core dumped)

am 02.04.2004 17:21:49 von Rudy Lippan

On Fri, 2 Apr 2004, James, Joby (Joby)** CTR ** wrote:

> i am creating a database in solaris with $rc = $drh->func('createdb',
> $database, $host, $user, $password, 'admin'); API and it is working
> perfectly in one server.. And now i am testing the same script(instalation
> script) in another server this gives an error Segmentation fault (core
> dumped) and after this progaram exits ..

Try recompiling DBD::mysql on the client machine -- you might also want
to try recompiling the client libraries on that machine too. You might
want to try upgrading to the latest DBD::mysql which is 2.9003.

If that does not solve the problem, can you send, 1. the output of perl
-V, 2. a stack trace and 3. a full example program that exhibits the
problem.


Also does make test pass on that system?

Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org