[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] multi-threading problems

From: Fábio Botler
Subject: [Help-glpk] multi-threading problems
Date: Mon, 19 Jul 2010 02:54:45 -0300


I'm doing a big research project for university and I'm finding some problems.
I'm using Ubuntu
10.04, 64bit, updated, OpenJRE.

In my program I have to work around one million of linear programs.
That can be solved in parallel, and its results will be compiled later.

I find no problem when I try to process in sequence, without using threads,
but when I try to use threads, the program solves for about 100 LPs and then the program crashes with the following error
(I supressed the last lines, that shows the memory)

I create 10 solves each one in one thread, each solver may solve 10000 LPs.
I belive that there is no mistake on the code, the threads dont uses the same variables.

*** glibc detected *** /usr/lib/jvm/java-6-sun- malloc(): memory corruption: 0x00007f3df4031100 ***
======= Backtrace: =========
======= Memory map: ========
40000000-40009000 r-xp 00000000 08:01 1045972 /usr/lib/jvm/java-6-sun-
40108000-4010a000 rwxp 00008000 08:01 1045972 /usr/lib/jvm/java-6-sun-
40419000-4058e000 rwxp 00000000 00:00 0 [heap]


Fbio Botler

Fbio Botler
+55 81 8687-9769

reply via email to

[Prev in Thread] Current Thread [Next in Thread]