dbTalk Databases Forums  

Segmentation fault (core dumped)

mailing.database.msql-mysql-modules mailing.database.msql-mysql-modules


Discuss Segmentation fault (core dumped) in the mailing.database.msql-mysql-modules forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
James, Joby
 
Posts: n/a

Default Segmentation fault (core dumped) - 04-02-2004 , 09:49 AM






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 (AT) lucent (DOT) com


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=ms...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Rudy Lippan
 
Posts: n/a

Default Re: Segmentation fault (core dumped) - 04-02-2004 , 10:17 AM






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

Quote:
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=ms...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.