Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  ODBC memory errors on linux 64 bit

kbennoune
Posted: Mon Jun 23, 2008 4:25 pm Reply with quote
Joined: 23 Jun 2008 Posts: 1
I'm trying to run odbc on 64bit linux. I have R12B-3 installed.

I can successfully start odbc and connect but when I use the connection with either sql_query/2 or describe_table/2 the console spits out:

*** glibc detected *** /usr/local/lib/erlang/lib/odbc-2.10.2/priv/bin/odbcserver: malloc(): memory corruption: 0x000000001b750b10 ***


and a backtrace. The application then exits.

Can anyone help with this?
View user's profile Send private message
francesco
Posted: Wed Jul 09, 2008 9:33 am Reply with quote
User Joined: 07 Jul 2006 Posts: 249 Location: London
Sorry for the late response. I missed your post. I spent about an hour reviewing the 64 bit option with the lead developer of the Erlang Virtual Machine about a month ago. The conclusions were that Ericsson has no systems running on 64 Bit Erlang, but that is bound to change in the near future, with development work probably scheduled to start later this year (Read Development, not deployment to customers). They have no benchmarks for the 64 bit implementation, and do not know how it will affect memory usage and performance.

Several bugs have been reported and fixed for 64 bit Erlang and will be released in the R12B-3 release. The bottom line for optimal performance and least number of bugs is that we should run our tests on the R12B-3 release, which is due fairly soon. That applies for improved multi core functionality, optimizations in the VM itself, as well as bug fixes in 64 bit Erlang.

The bottom line, if you want to be safe, is to stick to 32 bit until the 64 bit has gotten enough milage.

Francesco
--
http://www.erlang-consulting.com
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum