Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Reading and Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-27-2008, 05:42 AM   #1
stex83
Junior Member
stex83 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2008
Device: 00167C002098
Error glibc detected

Hello
This is the class MyExposeListener:

Quote:
import org.gnu.gtk.event.ExposeEvent;
import org.gnu.gtk.event.ExposeListener;
import com.irex.mobipocket.reader.Utils;
import com.irex.sdk.DisplayUpdate;

public class MyExposeListener implements ExposeListener
{
public boolean exposeEvent(ExposeEvent arg0)
{
if(arg0.isOfType(ExposeEvent.Type.EXPOSE))
{
System.out.println("refresh");
DisplayUpdate displayupdate = DisplayUpdate.getInstance();
displayupdate.dispMainWinFullQ();
}
return true;
}
}
This class is invoked as an event by the constructor of class TextBuffer:
Quote:
w.addListener(new MyExposeListener());
The class TextBuffer runs and sometimes returns following errors and the program ends its execution:
Quote:
1) *** glibc detected *** /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java: double free or corruption (!prev): 0x08082918 ***
2) *** glibc detected *** /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java: double free or corruption (fasttop): 0x0822f898 ***
3) *** glibc detected *** /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java: double free or corruption (out): 0x08254d98 ***
4) *** glibc detected *** /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java: free(): invalid next size (fast): 0x0821dfa0 ***
5) *** glibc detected *** /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java: free(): invalid pointer: 0x080abf60 ***
These errors depend from the instruction:
Quote:
w.addListener(new MyExposeListener());
because without this instruction I have no errors during the execution.

How can solve this problem?
Thanks

Stex83.

Last edited by stex83; 05-27-2008 at 05:51 AM.
stex83 is offline   Reply With Quote
Old 05-27-2008, 10:50 AM   #2
stex83
Junior Member
stex83 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2008
Device: 00167C002098
I solved by eliminating class MyExposeListener and inserting instruction DisplayUpdate.dispMainWinFullQ() at the end of class TextBuffer.
stex83 is offline   Reply With Quote
Advert
Old 05-29-2008, 07:18 AM   #3
Mirey86
Junior Member
Mirey86 has a complete set of Star Wars action figures.Mirey86 has a complete set of Star Wars action figures.Mirey86 has a complete set of Star Wars action figures.Mirey86 has a complete set of Star Wars action figures.
 
Mirey86's Avatar
 
Posts: 3
Karma: 342
Join Date: May 2008
Location: canada
Device: Microsoft
That's an old Linux C++ error. Not new news.
To fix it so you can run the program just type:

export MALLOC_CHECK_=0

before running the program.
Mirey86 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-600 'CALIBRATION ERROR DETECTED' message....please help : ( dejo Sony Reader 9 12-11-2010 09:54 AM
kindle dx not detected fms95032 Calibre 4 07-11-2010 07:59 PM
GLIBC 2.10 anv Calibre 5 05-13-2010 04:11 AM
700 not being detected wiredout46 Sony Reader 6 05-13-2009 10:57 AM
SM Card not detected? SandDanz Fictionwise eBookwise 4 06-19-2008 10:46 PM


All times are GMT -4. The time now is 03:55 AM.


MobileRead.com is a privately owned, operated and funded community.