Qt-jambi-interest Archive, December 2006
Fonts and Trees
Pages: Prev | 1 | 2 | Next
Message 1 in thread
Hi folks!
I hope it's not a problem that i collect two questions in one mail.
The first problem is with QFont. QFont has some stream-operator
(operator<<) in cpp which i'm missing in java. Do i just not find it or
isn't it there atm? If it isn't there atm can i expect it in the final
release then or is there any workaround if not?
The second question is probably more complex. It's about model based
trees. Yes, there were already some talks about similar things but no
matter how much i search i cannot find a good example. Compared to other
model based trees i know (SWT/JFace, Swing) Qt's treeview and its whole
mvc-system is totally different in almost every way.
So from what i read in the ml already the qabstractitemmodel doesn't
match java very well and therefor qstandarditemmodel is the recommended
way of doing that job. But besides that i never found some good
_dynamic_ example of a tree and a qstandarditemmodel, especially not
with qtjambi.
Almost all examples with qstandarditemmodel were with static data, using
a default model, feeding it with static data at startup and displaying
that. And all dynamic trees i found used qabstractitemmodel in cpp where
they could use internalPointer() for their payload (which jambi for sure
cannot use since it's a void* and therefor wrapped to long).
What i would really appreciate is a simple filebrowser treeview which
queries its nodes on demand. Nothing more, but also nothing less. A
Swing equivalent is attached.
I hope i do not want too much from you guys, but i'm really out of ideas
atm.
Best regards
Georg Schild
import java.io.File;
import java.io.File;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTree;
import javax.swing.WindowConstants;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
public class SwingFileTree extends JFrame {
SwingFileTree() {
super("Swing filesystem browser");
setSize(800, 600);
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
JTree tree = new JTree();
tree.setModel(new JFileTreeModel());
tree.setSize(750, 550);
add(new JScrollPane(tree));
setVisible(true);
}
private class JFileTreeModel extends DefaultTreeModel {
public JFileTreeModel() {
super(new JFileTreeNode(new File("/")));
}
public Object getChild(Object arg0, int arg1) {
JFileTreeNode node = (JFileTreeNode)arg0;
File[] list = node.f.listFiles();
return new JFileTreeNode(list[arg1]);
}
public int getChildCount(Object arg0) {
JFileTreeNode node = (JFileTreeNode)arg0;
File[] list = node.f.listFiles();
if (list == null)
return 0;
return list.length;
}
public boolean isLeaf(Object arg0) {
JFileTreeNode node = (JFileTreeNode)arg0;
File[] list = node.f.listFiles();
return node.f.isFile() || list == null;
}
}
private class JFileTreeNode extends DefaultMutableTreeNode {
File f;
JFileTreeNode(File f) {
this.f = f;
}
public String toString() {
return f.getPath();
}
}
public static void main(String[] args) {
new SwingFileTree();
}
}
Message 2 in thread
François Weykmans wrote:
> You can use new 'operator_' methods for them.
>
> Example: operator '<<' ---> 'operator_assign(QFont arg__1)'
>
> Have a nice trip with Jambi :D
>
> François Weykmans
Hi,
i'm afraid i had a mistake in my original mail. What i wanted to do with
this operator was creating a new QFont from an InputStream. Therefor it
should be operator>> and not operator<< from cpp's QFont. If you also
answered that with your original mail it seems like i won't get it ;).
Best regards
Georg Schild
Message 3 in thread
Georg Schild wrote:
> François Weykmans wrote:
>
>> You can use new 'operator_' methods for them.
>>
>> Example: operator '<<' ---> 'operator_assign(QFont arg__1)'
>>
>> Have a nice trip with Jambi :D
>>
>> François Weykmans
>
>
> Hi,
>
> i'm afraid i had a mistake in my original mail. What i wanted to do with
> this operator was creating a new QFont from an InputStream. Therefor it
> should be operator>> and not operator<< from cpp's QFont. If you also
> answered that with your original mail it seems like i won't get it ;).
These are currently not available, but we'll try to get them in place
for next release. In the mean time you have to encode and decode your
QFont object using the primitives available in QDataStream, like the
fontname, size, bold, italic, etc.
best regards,
Gunnar
Message 4 in thread
Georg Schild wrote:
> Hi folks!
> The second question is probably more complex. It's about model based
> trees. Yes, there were already some talks about similar things but no
> matter how much i search i cannot find a good example. Compared to other
> model based trees i know (SWT/JFace, Swing) Qt's treeview and its whole
> mvc-system is totally different in almost every way.
Hi Georg,
Actually its almost identical to the concept used at least in Swing if
you take a look at javax.swing.tree.TreeNode, with one minor detail. In
Qt we refer to the model data via the QModelIndex object, while Swing
refers to the data directly. This makes the code slightly more complex ;-)
Qt's item model also support hierarchical tables, but for this example
we're only interrested in one column (the file name) so that doesn't
really affect the code...
> Almost all examples with qstandarditemmodel were with static data, using
> a default model, feeding it with static data at startup and displaying
> that. And all dynamic trees i found used qabstractitemmodel in cpp where
> they could use internalPointer() for their payload (which jambi for sure
> cannot use since it's a void* and therefor wrapped to long).
You have to use QModelIndex.internalId() in Jambi too and use this as a
lookup into a map. This is at least the most straightforward and generic
approach right now.
> What i would really appreciate is a simple filebrowser treeview which
> queries its nodes on demand. Nothing more, but also nothing less. A
> Swing equivalent is attached.
Its attached.
However... If you want to browser the file system, you should be using
com.trolltech.qt.gui.QDirModel, does all this and provides icons and
other things with it.
best regards,
Gunnar
import com.trolltech.qt.core.*;
import com.trolltech.qt.core.*;
import com.trolltech.qt.gui.*;
import java.util.*;
class JambiModel extends QAbstractItemModel {
/**
* We're only using one column..
*/
@Override public int columnCount(QModelIndex index) {
return 1;
}
@Override public int rowCount(QModelIndex parentIndex) {
QDir dir = decodeDirectory(parentIndex);
return dir == null ? 0 : entryList(dir).size();
}
@Override public Object data(QModelIndex index, int role) {
if (role == Qt.ItemDataRole.DisplayRole)
return decodeFileInfo(index).fileName();
return null;
}
@Override public QModelIndex index(int row, int col, QModelIndex parentIndex) {
QDir dir = decodeDirectory(parentIndex);
return encode(dir.absoluteFilePath(entryList(dir).get(row)), row);
}
/**
* Find the directory for index. If its the root it doesn't
* have a parent. If it does have a root its, locate the
* index of the parents directory.
*/
@Override public QModelIndex parent(QModelIndex index) {
QDir dir = decodeDirectory(index);
if (dir.isRoot())
return null;
dir.cdUp();
int parentId = findId(dir.absolutePath());
if (parentId < 0)
return null;
Data data = indexes.get(parentId);
return createIndex(data.row, 0, parentId);
}
// Convenience function for querying the entrylist...
private List<String> entryList(QDir dir) {
QDir.Filters filters = new QDir.Filters();
filters.set(QDir.Filter.NoDotAndDotDot);
filters.set(QDir.Filter.Files);
filters.set(QDir.Filter.Dirs);
return dir.entryList(filters);
}
private QDir decodeDirectory(QModelIndex index) {
if (index == null)
return QDir.root();
return new QDir(indexes.get((int) index.internalId()).name);
}
private QFileInfo decodeFileInfo(QModelIndex index) {
return new QFileInfo(indexes.get((int) index.internalId()).name);
}
/**
* Look up the id for the given path and return the index for
* it or create a new id if its not known...
*/
private QModelIndex encode(String name, int row) {
int id = findId(name);
if (id < 0) {
Data data = new Data(name, row, ++nextId);
id = data.id;
indexes.put(id, data);
}
return createIndex(row, 0, id);
}
/**
* Returns the id for a given path if known
*/
private int findId(String s) {
for (Map.Entry<Integer, Data> e : indexes.entrySet()) {
if (e.getValue().name.equals(s))
return e.getKey();
}
return -1;
}
private static class Data {
Data(String name, int row, int id) {
this.name = name;
this.row = row;
this.id = id;
}
public int hashCode() { return id; }
String name;
int row;
int id;
}
private HashMap<Integer, Data> indexes = new HashMap<Integer, Data>();
private int nextId;
}
public class JambiFileTree {
public static void main(String args[]) {
QApplication.initialize(args);
QTreeView view = new QTreeView();
view.setModel(new JambiModel());
view.show();
QApplication.exec();
}
}
Message 5 in thread
Gunnar Sletta wrote:
> Hi Georg,
> Actually its almost identical to the concept used at least in Swing if
> you take a look at javax.swing.tree.TreeNode, with one minor detail.
> In Qt we refer to the model data via the QModelIndex object, while
> Swing refers to the data directly. This makes the code slightly more
> complex ;-)
>
> Qt's item model also support hierarchical tables, but for this example
> we're only interrested in one column (the file name) so that doesn't
> really affect the code...
Yeah, after your example i see some similarities between both models. I
think i only had 2 big problems which didn't let me get qt's model:
index() is used to get children and missing payload. But now things are
a bit clearer.
>
> You have to use QModelIndex.internalId() in Jambi too and use this as
> a lookup into a map. This is at least the most straightforward and
> generic approach right now.
Can we expect a change on that "issue"? Maybe some way to use payload as
an object? Probably by using a separate field in qmodelindex so
internalid() doesn't need changes? Would be really great to have
something alike since using a map and looking items up all the time can
produce quite some overhead. And the whole code would be much nicer ;).
>
> Its attached.
That example really saved my day. Although i get segfaults when opening
the second level I'm really happy with your example. Just have to kill
the segfault now and everything is really fine :D.
>
> However... If you want to browser the file system, you should be using
> com.trolltech.qt.gui.QDirModel, does all this and provides icons and
> other things with it.
Sure i would, but using a fs-browser to show how a dynamic model works
seems to be the best choice to me.
Thanks again for the nice example, that really helped much :)
Best regards
Georg Schild
Message 6 in thread
Georg Schild wrote:
>> You have to use QModelIndex.internalId() in Jambi too and use this as
>> a lookup into a map. This is at least the most straightforward and
>> generic approach right now.
>
> Can we expect a change on that "issue"? Maybe some way to use payload as
> an object? Probably by using a separate field in qmodelindex so
> internalid() doesn't need changes? Would be really great to have
> something alike since using a map and looking items up all the time can
> produce quite some overhead. And the whole code would be much nicer ;).
yes ;-)
We intend to do something with QModelIndex and treemodels to make it a
bit smoother in Qt Jambi.
>>
>> Its attached.
>
> That example really saved my day. Although i get segfaults when opening
> the second level I'm really happy with your example. Just have to kill
> the segfault now and everything is really fine :D.
Did my example segfault?
I cannot reproduce that on windows at least.
At any rate, if you find out why it segfaults I'd like to see the code
so that we can prevent future segfaults.
best regards,
Gunnar
Message 7 in thread
Gunnar Sletta wrote:
> yes ;-)
>
> We intend to do something with QModelIndex and treemodels to make it a
> bit smoother in Qt Jambi.
Ah, great to hear that :)
>
> Did my example segfault?
> I cannot reproduce that on windows at least.
> At any rate, if you find out why it segfaults I'd like to see the code
> so that we can prevent future segfaults.
Nope, not your example. Your example went smooth, but my further tests
segfaulted ;). No idea where the problem is, since it opens the first
layer after / just fine but when i walk into /bin for example it gets
all children and then segfaults. Have to look deeper into it. I will
come back if it's a jambi problem.
Best regards
Georg Schild
Message 8 in thread
Georg Schild wrote:
> Nope, not your example. Your example went smooth, but my further tests
> segfaulted ;). No idea where the problem is, since it opens the first
> layer after / just fine but when i walk into /bin for example it gets
> all children and then segfaults. Have to look deeper into it. I will
> come back if it's a jambi problem.
Hi Georg,
Regardless of if the crash is directly Jambi's fault or triggered by
something else, we would apprechiate if you would tell us how it
happens, so that we can prevent virtual machine crashes in the future.
best regards,
Gunnar
Message 9 in thread
Gunnar Sletta wrote:
> Hi Georg,
>
> Regardless of if the crash is directly Jambi's fault or triggered by
> something else, we would apprechiate if you would tell us how it
> happens, so that we can prevent virtual machine crashes in the future.
Ok, no problem. Will invest a bit more time to find out why or at least
to track the problem down a bit.
You can have a look at the corresponding code via the cvs-repo on
http://crosswidgets.sf.net although i'm afraid you won't have much fun
with it ;). The tree (including special model) can be found at
org.Xwidgets.Qt.QtTree, the node used is org.Xwidgets.Qt.QtTreeNode.
Testcase is in org.Xwidgets.examples.TreeTester.
Btw: Crashing jambi is not a big deal, had that already quite sometimes
before, although usually the dumps where more informative ;). Most of
the time crashes were caused by passed/unchecked null values.
Crashdump from right now is attached for those who are interested.
Hopefully i get that bug soon although the dump says that it happens in
some private method.
Best regards
Georg Schild
#
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf52512a4, pid=1964, tid=4158929808
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b104 mixed mode, sharing)
# Problematic frame:
# C [libQtGui.so.4+0x57d2a4] _ZNK16QTreeViewPrivate9viewIndexERK11QModelIndex+0x374
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x08058c00): JavaThread "main" [_thread_in_native, id=1965]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xffdedddc
Registers:
EAX=0xffdedddc, EBX=0xf543c5e8, ECX=0x08144570, EDX=0x08144570
ESP=0xf7e41e20, EBP=0xf7e41ec8, ESI=0xffffffff, EDI=0x00000000
EIP=0xf52512a4, CR2=0xffdedddc, EFLAGS=0x00210282
Top of Stack: (sp=0xf7e41e20)
0xf7e41e20: f7e41e90 08282e68 08143448 00000000
0xf7e41e30: 00000030 00001140 00000022 08058ce8
0xf7e41e40: 08058c00 00000000 00000000 08282e68
0xf7e41e50: 08058c00 f7e41e90 ffdedddc ffffffff
0xf7e41e60: 08144570 000000b8 00000000 f7e41e90
0xf7e41e70: 0000001b 00000000 f7e41ec8 00000002
0xf7e41e80: 00000002 000001f6 f7e41f70 0812eb50
0xf7e41e90: 00000000 00000000 00000000 00000000
Instructions: (pc=0xf52512a4)
0xf5251294: d4 39 45 e4 75 ca ba 01 00 00 00 eb c3 8b 4d 98
0xf52512a4: 8b 10 8b 75 8c 89 4c 24 08 8b 41 0c 89 34 24 89
Stack: [0xf7df3000,0xf7e44000), sp=0xf7e41e20, free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libQtGui.so.4+0x57d2a4] _ZNK16QTreeViewPrivate9viewIndexERK11QModelIndex+0x374
C [libQtGui.so.4+0x57c72f] _ZN16QTreeViewPrivate6layoutEi+0x4bf
C [libQtGui.so.4+0x57b498] _ZN16QTreeViewPrivate6expandEib+0x118
C [libQtGui.so.4+0x5774b5] _ZN9QTreeView15mousePressEventEP11QMouseEvent+0x165
C [libcom_trolltech_qt_gui.so.1.0.0+0x5fb494] _ZN22QtJambiShell_QTreeView15mousePressEventEP11QMouseEvent+0xd4
C [libQtGui.so.4+0x1c43f1] _ZN7QWidget5eventEP6QEvent+0xc1
C [libQtGui.so.4+0x474ae6] _ZN6QFrame5eventEP6QEvent+0x26
C [libQtGui.so.4+0x4e507f] _ZN19QAbstractScrollArea13viewportEventEP6QEvent+0x3f
C [libQtGui.so.4+0x544e65] _ZN17QAbstractItemView13viewportEventEP6QEvent+0x75
C [libcom_trolltech_qt_gui.so.1.0.0+0x5fdb33] _ZN22QtJambiShell_QTreeView13viewportEventEP6QEvent+0xe3
C [libQtGui.so.4+0x4e59c2] _ZN25QAbstractScrollAreaFilter11eventFilterEP7QObjectP6QEvent+0x32
C [libQtGui.so.4+0x17fa65] _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x195
C [libQtGui.so.4+0x17e451] _ZN12QApplication6notifyEP7QObjectP6QEvent+0x3a1
C [libcom_trolltech_qt_gui.so.1.0.0+0x5f0f4a] _ZN25QtJambiShell_QApplication6notifyEP7QObjectP6QEvent+0x12a
C [libQtGui.so.4+0x1d895d] _ZN9QETWidget19translateMouseEventEPK7_XEvent+0xb1d
C [libQtGui.so.4+0x1d6239] _ZN12QApplication15x11ProcessEventEP7_XEvent+0x339
C [libQtGui.so.4+0x1fe19a]
C [libglib-2.0.so.0+0x2551c] g_main_context_dispatch+0x1bc
C [libglib-2.0.so.0+0x26e77]
C [libglib-2.0.so.0+0x27309] g_main_context_iteration+0x69
C [libQtCore.so.4+0x121f74] _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x64
C [libQtGui.so.4+0x1fe755] _ZN23QGuiEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x45
C [libQtCore.so.4+0xf91ef] _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x3f
C [libQtCore.so.4+0xf927c] _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x7c
C [libQtCore.so.4+0xfb262] _ZN16QCoreApplication4execEv+0x92
C [libQtGui.so.4+0x17e0a9] _ZN12QApplication4execEv+0x29
C [libcom_trolltech_qt_gui.so.1.0.0+0x5f2909] Java_com_trolltech_qt_gui_QApplication_exec__+0x19
j com.trolltech.qt.gui.QApplication.exec()I+0
j org.Xwidgets.Qt.QtFactory.run(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)V+10
j org.Xwidgets.examples.UITesterSwing.start()V+35
j org.Xwidgets.examples.UITesterSwing.main([Ljava/lang/String;)V+13
v ~StubRoutines::call_stub
V [libjvm.so+0x20967d]
V [libjvm.so+0x3057d8]
V [libjvm.so+0x209510]
V [libjvm.so+0x232916]
V [libjvm.so+0x223fbb]
C [java+0x1b98] JavaMain+0x2c8
C [libpthread.so.0+0x54ab]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.trolltech.qt.gui.QApplication.exec()I+0
j org.Xwidgets.Qt.QtFactory.run(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)V+10
j org.Xwidgets.examples.UITesterSwing.start()V+35
j org.Xwidgets.examples.UITesterSwing.main([Ljava/lang/String;)V+13
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x081cf400 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=1984]
0x082b9c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1983]
0x082fac00 JavaThread "Thread-0" daemon [_thread_blocked, id=1976]
0x080a6000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1971]
0x080a4800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1970]
0x080a3400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1969]
0x08081c00 JavaThread "Finalizer" daemon [_thread_blocked, id=1968]
0x08080c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=1967]
=>0x08058c00 JavaThread "main" [_thread_in_native, id=1965]
Other Threads:
0x08077400 VMThread [id=1966]
0x080a7c00 WatcherThread [id=1972]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 689K [0xcc100000, 0xcc200000, 0xcc5e0000)
eden space 896K, 73% used [0xcc100000, 0xcc1a4c40, 0xcc1e0000)
from space 64K, 47% used [0xcc1e0000, 0xcc1e79f0, 0xcc1f0000)
to space 64K, 0% used [0xcc1f0000, 0xcc1f0000, 0xcc200000)
tenured generation total 4096K, used 1343K [0xcc5e0000, 0xcc9e0000, 0xd0100000)
the space 4096K, 32% used [0xcc5e0000, 0xcc72fcb0, 0xcc72fe00, 0xcc9e0000)
compacting perm gen total 12288K, used 3075K [0xd0100000, 0xd0d00000, 0xd4100000)
the space 12288K, 25% used [0xd0100000, 0xd0400dd8, 0xd0400e00, 0xd0d00000)
ro space 8192K, 73% used [0xd4100000, 0xd46de578, 0xd46de600, 0xd4900000)
rw space 12288K, 57% used [0xd4900000, 0xd4ff16c0, 0xd4ff1800, 0xd5500000)
Dynamic libraries:
06000000-06412000 r-xp 00000000 03:02 11167045 /opt/java6_32bit/jre/lib/i386/client/libjvm.so
06412000-0642b000 rwxp 00411000 03:02 11167045 /opt/java6_32bit/jre/lib/i386/client/libjvm.so
0642b000-0684a000 rwxp 0642b000 00:00 0
08048000-08052000 r-xp 00000000 03:02 11167840 /opt/java6_32bit/bin/java
08052000-08053000 rwxp 00009000 03:02 11167840 /opt/java6_32bit/bin/java
08053000-0846b000 rwxp 08053000 00:00 0 [heap]
cc100000-cc200000 rwxp cc100000 00:00 0
cc200000-cc5e0000 rwxp cc200000 00:00 0
cc5e0000-cc9e0000 rwxp cc5e0000 00:00 0
cc9e0000-d0100000 rwxp cc9e0000 00:00 0
d0100000-d0d00000 rwxp d0100000 00:00 0
d0d00000-d4100000 rwxp d0d00000 00:00 0
d4100000-d46df000 r-xs 00001000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d46df000-d4900000 rwxp d46df000 00:00 0
d4900000-d4ff2000 rwxp 005e0000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d4ff2000-d5500000 rwxp d4ff2000 00:00 0
d5500000-d55d9000 rwxp 00cd2000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d55d9000-d5900000 rwxp d55d9000 00:00 0
d5900000-d5904000 r-xs 00dab000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d5904000-d5d00000 rwxp d5904000 00:00 0
f3d08000-f3d0b000 ---p f3d08000 00:00 0
f3d0b000-f3d59000 rwxp f3d0b000 00:00 0
f3d59000-f3d5c000 ---p f3d59000 00:00 0
f3d5c000-f3daa000 rwxp f3d5c000 00:00 0
f3daa000-f3e28000 r-xp 00000000 03:02 11167084 /opt/java6_32bit/jre/lib/i386/libfontmanager.so
f3e28000-f3e32000 rwxp 0007e000 03:02 11167084 /opt/java6_32bit/jre/lib/i386/libfontmanager.so
f3e32000-f3e37000 rwxp f3e32000 00:00 0
f3e37000-f3e56000 r-xp 00000000 03:02 10727460 /usr/share/locale/de/LC_MESSAGES/libc.mo
f3e56000-f3e94000 r-xp 00000000 03:02 11167078 /opt/java6_32bit/jre/lib/i386/xawt/libmawt.so
f3e94000-f3e97000 rwxp 0003d000 03:02 11167078 /opt/java6_32bit/jre/lib/i386/xawt/libmawt.so
f3e97000-f3f5d000 r-xp 00000000 03:02 11167074 /opt/java6_32bit/jre/lib/i386/libmlib_image.so
f3f5d000-f3f5e000 rwxp 000c5000 03:02 11167074 /opt/java6_32bit/jre/lib/i386/libmlib_image.so
f3f5e000-f3fd9000 r-xp 00000000 03:02 11167075 /opt/java6_32bit/jre/lib/i386/libawt.so
f3fd9000-f3fe0000 rwxp 0007b000 03:02 11167075 /opt/java6_32bit/jre/lib/i386/libawt.so
f3fe0000-f4004000 rwxp f3fe0000 00:00 0
f4004000-f4012000 r-xp 00000000 03:02 10727162 /lib32/libresolv-2.5.so
f4012000-f4014000 rwxp 0000d000 03:02 10727162 /lib32/libresolv-2.5.so
f4014000-f4016000 rwxp f4014000 00:00 0
f401e000-f402d000 r-xp 00000000 03:02 4853827 /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
f402d000-f403e000 r-xp 00000000 03:02 4853836 /usr/share/fonts/ttf-bitstream-vera/Vera.ttf
f403e000-f4040000 r-xp 00000000 03:02 10726548 /usr/lib32/gconv/UTF-16.so
f4040000-f4042000 rwxp 00001000 03:02 10726548 /usr/lib32/gconv/UTF-16.so
f4042000-f4043000 r-xp 00000000 03:02 5234540 /usr/lib64/locale/de_AT.utf8/LC_NUMERIC
f4043000-f4044000 r-xp 00000000 03:02 5234541 /usr/lib64/locale/de_AT.utf8/LC_TIME
f4044000-f411b000 r-xp 00000000 03:02 170979 /usr/lib64/locale/de_AT.utf8/LC_COLLATE
f411b000-f4932000 r-xp 00000000 03:07 752805 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_gui.so.1.0.0
f4932000-f495c000 rwxp 00817000 03:07 752805 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_gui.so.1.0.0
f495c000-f495f000 ---p f495c000 00:00 0
f495f000-f49ad000 rwxp f495f000 00:00 0
f49ad000-f4aa6000 r-xp 00000000 03:07 752801 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_core.so.1.0.0
f4aa6000-f4aab000 rwxp 000f8000 03:07 752801 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_core.so.1.0.0
f4aab000-f4aae000 r-xp 00000000 03:02 7439997 /emul/linux/x86/usr/lib/libXdmcp.so.6.0.0
f4aae000-f4ab0000 rwxp 00002000 03:02 7439997 /emul/linux/x86/usr/lib/libXdmcp.so.6.0.0
f4ab0000-f4ab2000 r-xp 00000000 03:02 7439969 /emul/linux/x86/usr/lib/libXau.so.6.0.0
f4ab2000-f4ab3000 rwxp 00001000 03:02 7439969 /emul/linux/x86/usr/lib/libXau.so.6.0.0
f4ab3000-f4ad0000 r-xp 00000000 03:02 9950141 /emul/linux/x86/usr/lib/libexpat.so.0.5.0
f4ad0000-f4ad2000 rwxp 0001d000 03:02 9950141 /emul/linux/x86/usr/lib/libexpat.so.0.5.0
f4ad2000-f4bbc000 r-xp 00000000 03:02 7439944 /emul/linux/x86/usr/lib/libX11.so.6.2.0
f4bbc000-f4bc1000 rwxp 000e9000 03:02 7439944 /emul/linux/x86/usr/lib/libX11.so.6.2.0
f4bc1000-f4bce000 r-xp 00000000 03:02 7439991 /emul/linux/x86/usr/lib/libXext.so.6.4.0
f4bce000-f4bcf000 rwxp 0000d000 03:02 7439991 /emul/linux/x86/usr/lib/libXext.so.6.4.0
f4bcf000-f4bf7000 r-xp 00000000 03:02 7439980 /emul/linux/x86/usr/lib/libfontconfig.so.1.0.4
f4bf7000-f4bfc000 rwxp 00028000 03:02 7439980 /emul/linux/x86/usr/lib/libfontconfig.so.1.0.4
f4bfc000-f4bfd000 rwxp f4bfc000 00:00 0
f4bfd000-f4c66000 r-xp 00000000 03:02 7440030 /emul/linux/x86/usr/lib/libfreetype.so.6.3.7
f4c66000-f4c6d000 rwxp 00069000 03:02 7440030 /emul/linux/x86/usr/lib/libfreetype.so.6.3.7
f4c6d000-f4c75000 r-xp 00000000 03:02 7439965 /emul/linux/x86/usr/lib/libXcursor.so.1.0.2
f4c75000-f4c76000 rwxp 00007000 03:02 7439965 /emul/linux/x86/usr/lib/libXcursor.so.1.0.2
f4c76000-f4c7a000 r-xp 00000000 03:02 7439967 /emul/linux/x86/usr/lib/libXfixes.so.3.0.0
f4c7a000-f4c7b000 rwxp 00003000 03:02 7439967 /emul/linux/x86/usr/lib/libXfixes.so.3.0.0
f4c7b000-f4c7e000 r-xp 00000000 03:02 7439984 /emul/linux/x86/usr/lib/libXrandr.so.2.0.0
f4c7e000-f4c7f000 rwxp 00002000 03:02 7439984 /emul/linux/x86/usr/lib/libXrandr.so.2.0.0
f4c7f000-f4c87000 r-xp 00000000 03:02 7439968 /emul/linux/x86/usr/lib/libXrender.so.1.3.0
f4c87000-f4c88000 rwxp 00007000 03:02 7439968 /emul/linux/x86/usr/lib/libXrender.so.1.3.0
f4c88000-f4c8f000 r-xp 00000000 03:02 7439993 /emul/linux/x86/usr/lib/libXi.so.6.0.0
f4c8f000-f4c90000 rwxp 00006000 03:02 7439993 /emul/linux/x86/usr/lib/libXi.so.6.0.0
f4c90000-f4ca5000 r-xp 00000000 03:02 7439949 /emul/linux/x86/usr/lib/libICE.so.6.3.0
f4ca5000-f4ca6000 rwxp 00014000 03:02 7439949 /emul/linux/x86/usr/lib/libICE.so.6.3.0
f4ca6000-f4ca8000 rwxp f4ca6000 00:00 0
f4ca8000-f4cb0000 r-xp 00000000 03:02 7440025 /emul/linux/x86/usr/lib/libSM.so.6.0.0
f4cb0000-f4cb1000 rwxp 00007000 03:02 7440025 /emul/linux/x86/usr/lib/libSM.so.6.0.0
f4cb1000-f4cd3000 r-xp 00000000 03:02 9950161 /emul/linux/x86/usr/lib/libpng12.so.0.12.0
f4cd3000-f4cd4000 rwxp 00021000 03:02 9950161 /emul/linux/x86/usr/lib/libpng12.so.0.12.0
f4cd4000-f5435000 r-xp 00000000 03:07 752822 /space/userSrc/qtjambi-p3/lib/libQtGui.so.4
f5435000-f5457000 rwxp 00761000 03:07 752822 /space/userSrc/qtjambi-p3/lib/libQtGui.so.4
f5457000-f5458000 rwxp f5457000 00:00 0
f5458000-f5482000 r-xp 00000000 03:07 752797 /space/userSrc/qtjambi-p3/lib/libqtjambi.so.1.0.0
f5482000-f5483000 rwxp 0002a000 03:07 752797 /space/userSrc/qtjambi-p3/lib/libqtjambi.so.1.0.0
f5483000-f548c000 r-xp 00000000 03:02 11854194 /lib32/libgcc_s.so.1
f548c000-f548d000 rwxp 00009000 03:02 11854194 /lib32/libgcc_s.so.1
f548d000-f553d000 r-xp 00000000 03:07 752831 /space/userSrc/qtjambi-p3/lib/libstdc++.so.5
f553d000-f5542000 rwxp 000af000 03:07 752831 /space/userSrc/qtjambi-p3/lib/libstdc++.so.5
f5542000-f5547000 rwxp f5542000 00:00 0
f5547000-f55c8000 r-xp 00000000 03:02 9950183 /emul/linux/x86/usr/lib/libglib-2.0.so.0.800.5
f55c8000-f55c9000 rwxp 00081000 03:02 9950183 /emul/linux/x86/usr/lib/libglib-2.0.so.0.800.5
f55c9000-f55d9000 r-xp 00000000 03:02 9950090 /emul/linux/x86/lib/libz.so.1.2.3
f55d9000-f55da000 rwxp 0000f000 03:02 9950090 /emul/linux/x86/lib/libz.so.1.2.3
f55dc000-f55e0000 r-xp 00000000 03:02 7440065 /emul/linux/x86/usr/lib/libXtst.so.6.1.0
f55e0000-f55e1000 rwxp 00004000 03:02 7440065 /emul/linux/x86/usr/lib/libXtst.so.6.1.0
f55e1000-f55e5000 r-xp 00000000 03:02 10727499 /lib32/libnss_dns-2.5.so
f55e5000-f55e7000 rwxp 00003000 03:02 10727499 /lib32/libnss_dns-2.5.so
f55e7000-f55fa000 r-xp 00000000 03:02 11167064 /opt/java6_32bit/jre/lib/i386/libnet.so
f55fa000-f55fb000 rwxp 00013000 03:02 11167064 /opt/java6_32bit/jre/lib/i386/libnet.so
f55fb000-f55fc000 r-xp 00000000 03:02 5234542 /usr/lib64/locale/de_AT.utf8/LC_MONETARY
f55fc000-f55fd000 r-xp 00000000 03:02 5234498 /usr/lib64/locale/de_AT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
f55fd000-f55fe000 r-xp 00000000 03:02 5234434 /usr/lib64/locale/de_AT.utf8/LC_PAPER
f55fe000-f55ff000 r-xp 00000000 03:02 5234544 /usr/lib64/locale/de_AT.utf8/LC_NAME
f55ff000-f5600000 r-xp 00000000 03:02 5234545 /usr/lib64/locale/de_AT.utf8/LC_ADDRESS
f5600000-f5601000 r-xp 00000000 03:02 5234546 /usr/lib64/locale/de_AT.utf8/LC_TELEPHONE
f5601000-f5602000 r-xp 00000000 03:02 5234439 /usr/lib64/locale/de_AT.utf8/LC_MEASUREMENT
f5602000-f5797000 r-xp 00000000 03:07 752821 /space/userSrc/qtjambi-p3/lib/libQtCore.so.4
f5797000-f579e000 rwxp 00195000 03:07 752821 /space/userSrc/qtjambi-p3/lib/libQtCore.so.4
f579e000-f57cf000 rwxp f579e000 00:00 0
f57cf000-f5949000 r-xs 02c68000 03:02 11167810 /opt/java6_32bit/jre/lib/rt.jar
f5949000-f594c000 r-xs 00028000 03:02 11046011 /usr/share/charva/lib/charva.jar
f594c000-f595b000 r-xs 000de000 03:02 11496580 /usr/share/swt-3/lib/swt.jar
f595b000-f5971000 r-xs 00151000 03:07 752844 /space/userSrc/qtjambi-p3/qtjambi.jar
f5971000-f5972000 ---p f5971000 00:00 0
f5972000-f59f2000 rwxp f5972000 00:00 0
f59f2000-f59f5000 ---p f59f2000 00:00 0
f59f5000-f5a43000 rwxp f59f5000 00:00 0
f5a43000-f5a46000 ---p f5a43000 00:00 0
f5a46000-f5ac4000 rwxp f5a46000 00:00 0
f5ac4000-f5ac7000 ---p f5ac4000 00:00 0
f5ac7000-f5b15000 rwxp f5ac7000 00:00 0
f5b15000-f5b50000 r-xp 00000000 03:02 5234493 /usr/lib64/locale/de_AT.utf8/LC_CTYPE
f5b50000-f5b53000 ---p f5b50000 00:00 0
f5b53000-f5ba1000 rwxp f5b53000 00:00 0
f5ba1000-f5ba4000 ---p f5ba1000 00:00 0
f5ba4000-f5bf2000 rwxp f5ba4000 00:00 0
f5bf2000-f5bf3000 ---p f5bf2000 00:00 0
f5bf3000-f5c86000 rwxp f5bf3000 00:00 0
f5c86000-f5ca0000 rwxp f5c86000 00:00 0
f5ca0000-f5ca3000 rwxp f5ca0000 00:00 0
f5ca3000-f5cbe000 rwxp f5ca3000 00:00 0
f5cbe000-f5cbf000 rwxp f5cbe000 00:00 0
f5cbf000-f5cc0000 rwxp f5cbf000 00:00 0
f5cc0000-f5cc3000 rwxp f5cc0000 00:00 0
f5cc3000-f5cde000 rwxp f5cc3000 00:00 0
f5cde000-f5ce4000 rwxp f5cde000 00:00 0
f5ce4000-f5cfe000 rwxp f5ce4000 00:00 0
f5cfe000-f5d0d000 rwxp f5cfe000 00:00 0
f5d0d000-f5d89000 rwxp f5d0d000 00:00 0
f5d89000-f5e79000 rwxp f5d89000 00:00 0
f5e79000-f7d89000 rwxp f5e79000 00:00 0
f7d89000-f7dac000 r-xp 00000000 03:02 11167056 /opt/java6_32bit/jre/lib/i386/libjava.so
f7dac000-f7dae000 rwxp 00023000 03:02 11167056 /opt/java6_32bit/jre/lib/i386/libjava.so
f7dae000-f7db6000 r-xp 00000000 03:02 10726328 /lib32/libnss_files-2.5.so
f7db6000-f7db8000 rwxp 00007000 03:02 10726328 /lib32/libnss_files-2.5.so
f7db8000-f7dc0000 r-xp 00000000 03:02 10727515 /lib32/libnss_nis-2.5.so
f7dc0000-f7dc2000 rwxp 00007000 03:02 10727515 /lib32/libnss_nis-2.5.so
f7dc2000-f7dc4000 r-xp 00000000 03:02 7439934 /emul/linux/x86/usr/lib/libXinerama.so.1.0.0
f7dc4000-f7dc5000 rwxp 00001000 03:02 7439934 /emul/linux/x86/usr/lib/libXinerama.so.1.0.0
f7dc5000-f7dd4000 r-xp 00000000 03:02 11167060 /opt/java6_32bit/jre/lib/i386/libzip.so
f7dd4000-f7dd6000 rwxp 0000e000 03:02 11167060 /opt/java6_32bit/jre/lib/i386/libzip.so
f7dd6000-f7de1000 r-xp 00000000 03:02 11167053 /opt/java6_32bit/jre/lib/i386/libverify.so
f7de1000-f7de2000 rwxp 0000b000 03:02 11167053 /opt/java6_32bit/jre/lib/i386/libverify.so
f7de2000-f7dea000 rwxs 00000000 03:02 11855665 /tmp/hsperfdata_georg/1964
f7dea000-f7df1000 r-xp 00000000 03:02 10727569 /lib32/librt-2.5.so
f7df1000-f7df3000 rwxp 00006000 03:02 10727569 /lib32/librt-2.5.so
f7df3000-f7df6000 ---p f7df3000 00:00 0
f7df6000-f7e44000 rwxp f7df6000 00:00 0
f7e44000-f7e67000 r-xp 00000000 03:02 10727488 /lib32/libm-2.5.so
f7e67000-f7e69000 rwxp 00022000 03:02 10727488 /lib32/libm-2.5.so
f7e69000-f7e6a000 rwxp f7e69000 00:00 0
f7e6a000-f7f8a000 r-xp 00000000 03:02 10727102 /lib32/libc-2.5.so
f7f8a000-f7f8b000 r-xp 00120000 03:02 10727102 /lib32/libc-2.5.so
f7f8b000-f7f8d000 rwxp 00121000 03:02 10727102 /lib32/libc-2.5.so
f7f8d000-f7f91000 rwxp f7f8d000 00:00 0
f7f91000-f7f93000 r-xp 00000000 03:02 10727478 /lib32/libdl-2.5.so
f7f93000-f7f95000 rwxp 00001000 03:02 10727478 /lib32/libdl-2.5.so
f7f95000-f7f9c000 r-xp 00000000 03:02 11167058 /opt/java6_32bit/jre/lib/i386/jli/libjli.so
f7f9c000-f7f9e000 rwxp 00006000 03:02 11167058 /opt/java6_32bit/jre/lib/i386/jli/libjli.so
f7f9e000-f7fb1000 r-xp 00000000 03:02 10727505 /lib32/libpthread-2.5.so
f7fb1000-f7fb2000 r-xp 00012000 03:02 10727505 /lib32/libpthread-2.5.so
f7fb2000-f7fb3000 rwxp 00013000 03:02 10727505 /lib32/libpthread-2.5.so
f7fb3000-f7fb5000 rwxp f7fb3000 00:00 0
f7fb5000-f7fb6000 r-xp 00000000 03:02 5234547 /usr/lib64/locale/de_AT.utf8/LC_IDENTIFICATION
f7fb6000-f7fbc000 r-xp 00000000 03:02 10727154 /lib32/libnss_compat-2.5.so
f7fbc000-f7fbe000 rwxp 00005000 03:02 10727154 /lib32/libnss_compat-2.5.so
f7fbe000-f7fd0000 r-xp 00000000 03:02 10727514 /lib32/libnsl-2.5.so
f7fd0000-f7fd2000 rwxp 00011000 03:02 10727514 /lib32/libnsl-2.5.so
f7fd2000-f7fd4000 rwxp f7fd2000 00:00 0
f7fd4000-f7fda000 r-xp 00000000 03:02 11167033 /opt/java6_32bit/jre/lib/i386/native_threads/libhpi.so
f7fda000-f7fdb000 rwxp 00006000 03:02 11167033 /opt/java6_32bit/jre/lib/i386/native_threads/libhpi.so
f7fdb000-f7fdc000 rwxp f7fdb000 00:00 0
f7fdc000-f7fdd000 r-xp f7fdc000 00:00 0
f7fdd000-f7fde000 rwxp f7fdd000 00:00 0
f7fde000-f7ff8000 r-xp 00000000 03:02 10727661 /lib32/ld-2.5.so
f7ff8000-f7ff9000 r-xp 00019000 03:02 10727661 /lib32/ld-2.5.so
f7ff9000-f7ffa000 rwxp 0001a000 03:02 10727661 /lib32/ld-2.5.so
ffd3f000-ffd47000 rwxp ffd3f000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0
VM Arguments:
java_command: org.Xwidgets.examples.UITesterSwing
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/home/georg/.gentoo/java-config-2/current-user-vm
CLASSPATH=/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:.
PATH=/usr/src/qtjambi-linux-preview/bin:/usr/kde/3.5/bin:/opt/sun-jdk-1.5.0.08/jre/bin:/home/georg/Adempiere/postgresql/8.1.5/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/ati/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/modeltech/bin:/opt/limewire
LD_LIBRARY_PATH=/opt/java6_32bit/jre/lib/i386/client:/opt/java6_32bit/jre/lib/i386:/opt/java6_32bit/jre/../lib/i386:/usr/src/qtjambi-linux-preview/lib:
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:Gentoo Base System version 1.12.6
uname:Linux 2.6.18 #4 Wed Nov 15 18:51:42 CET 2006 x86_64
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 8192k, CORE 0k, NPROC 8183, NOFILE 1024, AS infinity
load average:0.46 0.17 0.05
CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, mmxext, 3dnowext, 3dnow
Memory: 4k page, physical 1026128k(10212k free), swap 987956k(820904k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0-rc-b104) for linux-x86, built on Nov 1 2006 01:16:37 by "java_re" with gcc 3.2.1-7a (J2SE release)
Message 10 in thread
Georg Schild wrote:
> Btw: Crashing jambi is not a big deal, had that already quite
> sometimes before, although usually the dumps where more informative
> ;). Most of the time crashes were caused by passed/unchecked null values.
> Crashdump from right now is attached for those who are interested.
> Hopefully i get that bug soon although the dump says that it happens
> in some private method.
Ok, the dump from the mail before isn't the only problem it seems.
*** glibc detected *** /opt/java6_32bit/bin/java: malloc(): memory
corruption: 0xf7f5c4e0 ***
This memory corruption also happens sometimes, besides that there's a
second crashdump from libc failing to get some fileinfos/malloc some
space it looks. I'm still searching why this may happens, but no idea yet.
To note: i am testing using a 32bit version of java6 on my 64bit linux,
to doublecheck that this is not a problem a teammate tried it using
java5 on his 32bit box, same results.
Best regards
Georg Schild
#
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf7e5ffd5, pid=4685, tid=4158475152
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b104 mixed mode, sharing)
# Problematic frame:
# C [libc.so.6+0x64fd5]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x08058c00): JavaThread "main" [_thread_in_native, id=4686]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000007
Registers:
EAX=0x000000a0, EBX=0xf7f1cff4, ECX=0xf7f1e150, EDX=0xf7f1e120
ESP=0xf7dd1564, EBP=0xf7dd15f8, ESI=0xffffffff, EDI=0x00000013
EIP=0xf7e5ffd5, CR2=0x00000007, EFLAGS=0x00210216
Top of Stack: (sp=0xf7dd1564)
0xf7dd1564: 08059240 084cfac4 00000000 00000001
0xf7dd1574: 00000000 00010100 f7dd15c0 0805923c
0xf7dd1584: f7dd1514 f7dd1534 f7dd1579 f7f1e150
0xf7dd1594: 00020020 00000000 084cfe20 000000a0
0xf7dd15a4: 08058e10 08058e18 00000000 083937b0
0xf7dd15b4: 00000000 f7dd15e8 f7dd15f0 f7dd1610
0xf7dd15c4: 08058c00 f7dd1668 062168ad 08058ce8
0xf7dd15d4: f7dd1610 0000007b 00000001 08072cc0
Instructions: (pc=0xf7e5ffd5)
0xf7e5ffc5: 09 39 75 98 0f 84 dc 00 00 00 8b 4d 98 89 71 0c
0xf7e5ffd5: 89 4e 08 8b 75 a8 39 75 9c 0f 84 a7 02 00 00 81
Stack: [0xf7d84000,0xf7dd5000), sp=0xf7dd1564, free space=309k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x64fd5]
C [libc.so.6+0x66c9c] malloc+0x7c
C [libc.so.6+0x86223]
C [libc.so.6+0x86303] opendir+0x63
C [libjava.so+0x18481] Java_java_io_UnixFileSystem_list+0x71
j java.io.UnixFileSystem.list(Ljava/io/File;)[Ljava/lang/String;+0
J java.io.File.listFiles()[Ljava/io/File;
j org.Xwidgets.examples.TreeTester$TreeModel.getChildAt(Lorg/Xwidgets/XTreeNode;I)Ljava/io/File;+9
j org.Xwidgets.examples.TreeTester$TreeModel.getChildAt(Lorg/Xwidgets/XTreeNode;I)Ljava/lang/Object;+6
j org.Xwidgets.Qt.QtTree$QtTreeModel.index(IILcom/trolltech/qt/core/QModelIndex;)Lcom/trolltech/qt/core/QModelIndex;+58
v ~StubRoutines::call_stub
V [libjvm.so+0x20967d]
V [libjvm.so+0x3057d8]
V [libjvm.so+0x209510]
V [libjvm.so+0x232b87]
V [libjvm.so+0x216b9d]
C [libcom_trolltech_qt_core.so.1.0.0+0x6e659] _ZN7JNIEnv_16CallObjectMethodEP8_jobjectP10_jmethodIDz+0x29
C [libcom_trolltech_qt_core.so.1.0.0+0x9c9e3] _ZNK31QtJambiShell_QAbstractItemModel5indexEiiRK11QModelIndex+0x93
C [libQtGui.so.4+0x5762ae] _ZNK9QTreeView7drawRowEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex+0x72e
C [libcom_trolltech_qt_gui.so.1.0.0+0x5f98a3] _ZNK22QtJambiShell_QTreeView7drawRowEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex+0x133
C [libQtGui.so.4+0x575a26] _ZNK9QTreeView8drawTreeEP8QPainterRK7QRegion+0x596
C [libQtGui.so.4+0x5753bf] _ZN9QTreeView10paintEventEP11QPaintEvent+0x14f
C [libcom_trolltech_qt_gui.so.1.0.0+0x5fba74] _ZN22QtJambiShell_QTreeView10paintEventEP11QPaintEvent+0x114
C [libQtGui.so.4+0x1c479f] _ZN7QWidget5eventEP6QEvent+0x46f
C [libQtGui.so.4+0x474ae6] _ZN6QFrame5eventEP6QEvent+0x26
C [libQtGui.so.4+0x4e507f] _ZN19QAbstractScrollArea13viewportEventEP6QEvent+0x3f
C [libQtGui.so.4+0x544e65] _ZN17QAbstractItemView13viewportEventEP6QEvent+0x75
C [libcom_trolltech_qt_gui.so.1.0.0+0x5fdb33] _ZN22QtJambiShell_QTreeView13viewportEventEP6QEvent+0xe3
C [libQtGui.so.4+0x4e59c2] _ZN25QAbstractScrollAreaFilter11eventFilterEP7QObjectP6QEvent+0x32
C [libQtGui.so.4+0x17fa65] _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x195
C [libQtGui.so.4+0x17e2a5] _ZN12QApplication6notifyEP7QObjectP6QEvent+0x1f5
C [libcom_trolltech_qt_gui.so.1.0.0+0x5f0f4a] _ZN25QtJambiShell_QApplication6notifyEP7QObjectP6QEvent+0x12a
C [libQtGui.so.4+0x1da625] _Z23qt_sendSpontaneousEventP7QObjectP6QEvent+0x55
C [libQtGui.so.4+0x2b7599] _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointi+0x4f9
C [libQtGui.so.4+0x2b6eb6] _ZN19QWidgetBackingStore22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointi+0x336
C [libQtGui.so.4+0x2b6d03] _ZN19QWidgetBackingStore22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointi+0x183
C [libQtGui.so.4+0x2b72a2] _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointi+0x202
C [libQtGui.so.4+0x2b6eb6] _ZN19QWidgetBackingStore22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointi+0x336
C [libQtGui.so.4+0x2b72a2] _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointi+0x202
C [libQtGui.so.4+0x2b6eb6] _ZN19QWidgetBackingStore22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointi+0x336
C [libQtGui.so.4+0x2b72a2] _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointi+0x202
C [libQtGui.so.4+0x2b6eb6] _ZN19QWidgetBackingStore22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointi+0x336
C [libQtGui.so.4+0x2b72a2] _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointi+0x202
C [libQtGui.so.4+0x2b6a37] _ZN19QWidgetBackingStore11cleanRegionERK7QRegionP7QWidgetb+0x3d7
C [libQtGui.so.4+0x2b48ff] _Z19qt_syncBackingStoreP7QWidget+0xbf
C [libQtGui.so.4+0x1c4c58] _ZN7QWidget5eventEP6QEvent+0x928
C [libQtGui.so.4+0x17fab6] _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x1e6
C [libQtGui.so.4+0x17e2a5] _ZN12QApplication6notifyEP7QObjectP6QEvent+0x1f5
C [libcom_trolltech_qt_gui.so.1.0.0+0x5f0f4a] _ZN25QtJambiShell_QApplication6notifyEP7QObjectP6QEvent+0x12a
C [libQtCore.so.4+0xfb97f] _ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2ef
C [libQtCore.so.4+0x121341]
C [libglib-2.0.so.0+0x2551c] g_main_context_dispatch+0x1bc
C [libglib-2.0.so.0+0x26e77]
C [libglib-2.0.so.0+0x27309] g_main_context_iteration+0x69
C [libQtCore.so.4+0x121f74] _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x64
C [libQtGui.so.4+0x1fe755] _ZN23QGuiEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x45
C [libQtCore.so.4+0xf91ef] _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x3f
C [libQtCore.so.4+0xf927c] _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x7c
C [libQtCore.so.4+0xfb262] _ZN16QCoreApplication4execEv+0x92
C [libQtGui.so.4+0x17e0a9] _ZN12QApplication4execEv+0x29
C [libcom_trolltech_qt_gui.so.1.0.0+0x5f2909] Java_com_trolltech_qt_gui_QApplication_exec__+0x19
j com.trolltech.qt.gui.QApplication.exec()I+0
j org.Xwidgets.Qt.QtFactory.run(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)V+10
j org.Xwidgets.examples.TreeTester.start()V+32
j org.Xwidgets.examples.TreeTester.main([Ljava/lang/String;)V+13
v ~StubRoutines::call_stub
V [libjvm.so+0x20967d]
V [libjvm.so+0x3057d8]
V [libjvm.so+0x209510]
V [libjvm.so+0x232916]
V [libjvm.so+0x223fbb]
C [java+0x1b98] JavaMain+0x2c8
C [libpthread.so.0+0x54ab]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.io.UnixFileSystem.list(Ljava/io/File;)[Ljava/lang/String;+0
J java.io.File.listFiles()[Ljava/io/File;
j org.Xwidgets.examples.TreeTester$TreeModel.getChildAt(Lorg/Xwidgets/XTreeNode;I)Ljava/io/File;+9
j org.Xwidgets.examples.TreeTester$TreeModel.getChildAt(Lorg/Xwidgets/XTreeNode;I)Ljava/lang/Object;+6
j org.Xwidgets.Qt.QtTree$QtTreeModel.index(IILcom/trolltech/qt/core/QModelIndex;)Lcom/trolltech/qt/core/QModelIndex;+58
v ~StubRoutines::call_stub
j com.trolltech.qt.gui.QApplication.exec()I+0
j org.Xwidgets.Qt.QtFactory.run(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)V+10
j org.Xwidgets.examples.TreeTester.start()V+32
j org.Xwidgets.examples.TreeTester.main([Ljava/lang/String;)V+13
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x083db800 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=4696]
0x08435000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4695]
0x0819b800 JavaThread "Thread-0" daemon [_thread_blocked, id=4694]
0x080a6000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4692]
0x080a4800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4691]
0x080a3400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4690]
0x08081c00 JavaThread "Finalizer" daemon [_thread_blocked, id=4689]
0x08080c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4688]
=>0x08058c00 JavaThread "main" [_thread_in_native, id=4686]
Other Threads:
0x08077400 VMThread [id=4687]
0x080c1000 WatcherThread [id=4693]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 902K [0xcc100000, 0xcc200000, 0xcc5e0000)
eden space 896K, 100% used [0xcc100000, 0xcc1e0000, 0xcc1e0000)
from space 64K, 9% used [0xcc1e0000, 0xcc1e18e8, 0xcc1f0000)
to space 64K, 0% used [0xcc1f0000, 0xcc1f0000, 0xcc200000)
tenured generation total 4096K, used 645K [0xcc5e0000, 0xcc9e0000, 0xd0100000)
the space 4096K, 15% used [0xcc5e0000, 0xcc6816c0, 0xcc681800, 0xcc9e0000)
compacting perm gen total 12288K, used 2106K [0xd0100000, 0xd0d00000, 0xd4100000)
the space 12288K, 17% used [0xd0100000, 0xd030e988, 0xd030ea00, 0xd0d00000)
ro space 8192K, 73% used [0xd4100000, 0xd46de578, 0xd46de600, 0xd4900000)
rw space 12288K, 57% used [0xd4900000, 0xd4ff16c0, 0xd4ff1800, 0xd5500000)
Dynamic libraries:
06000000-06412000 r-xp 00000000 03:02 11167045 /opt/java6_32bit/jre/lib/i386/client/libjvm.so
06412000-0642b000 rwxp 00411000 03:02 11167045 /opt/java6_32bit/jre/lib/i386/client/libjvm.so
0642b000-0684a000 rwxp 0642b000 00:00 0
08048000-08052000 r-xp 00000000 03:02 11167840 /opt/java6_32bit/bin/java
08052000-08053000 rwxp 00009000 03:02 11167840 /opt/java6_32bit/bin/java
08053000-0850b000 rwxp 08053000 00:00 0 [heap]
cc100000-cc200000 rwxp cc100000 00:00 0
cc200000-cc5e0000 rwxp cc200000 00:00 0
cc5e0000-cc9e0000 rwxp cc5e0000 00:00 0
cc9e0000-d0100000 rwxp cc9e0000 00:00 0
d0100000-d0d00000 rwxp d0100000 00:00 0
d0d00000-d4100000 rwxp d0d00000 00:00 0
d4100000-d46df000 r-xs 00001000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d46df000-d4900000 rwxp d46df000 00:00 0
d4900000-d4ff2000 rwxp 005e0000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d4ff2000-d5500000 rwxp d4ff2000 00:00 0
d5500000-d55d9000 rwxp 00cd2000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d55d9000-d5900000 rwxp d55d9000 00:00 0
d5900000-d5904000 r-xs 00dab000 03:02 11167049 /opt/java6_32bit/jre/lib/i386/client/classes.jsa
d5904000-d5d00000 rwxp d5904000 00:00 0
f3cc5000-f3cc8000 ---p f3cc5000 00:00 0
f3cc8000-f3d16000 rwxp f3cc8000 00:00 0
f3d16000-f3d19000 ---p f3d16000 00:00 0
f3d19000-f3d67000 rwxp f3d19000 00:00 0
f3d67000-f3de5000 r-xp 00000000 03:02 11167084 /opt/java6_32bit/jre/lib/i386/libfontmanager.so
f3de5000-f3def000 rwxp 0007e000 03:02 11167084 /opt/java6_32bit/jre/lib/i386/libfontmanager.so
f3def000-f3df4000 rwxp f3def000 00:00 0
f3df4000-f3df8000 r-xp 00000000 03:02 7440065 /emul/linux/x86/usr/lib/libXtst.so.6.1.0
f3df8000-f3df9000 rwxp 00004000 03:02 7440065 /emul/linux/x86/usr/lib/libXtst.so.6.1.0
f3e02000-f3e21000 r-xp 00000000 03:02 10727460 /usr/share/locale/de/LC_MESSAGES/libc.mo
f3e21000-f3e5f000 r-xp 00000000 03:02 11167078 /opt/java6_32bit/jre/lib/i386/xawt/libmawt.so
f3e5f000-f3e62000 rwxp 0003d000 03:02 11167078 /opt/java6_32bit/jre/lib/i386/xawt/libmawt.so
f3e62000-f3f28000 r-xp 00000000 03:02 11167074 /opt/java6_32bit/jre/lib/i386/libmlib_image.so
f3f28000-f3f29000 rwxp 000c5000 03:02 11167074 /opt/java6_32bit/jre/lib/i386/libmlib_image.so
f3f29000-f3fa4000 r-xp 00000000 03:02 11167075 /opt/java6_32bit/jre/lib/i386/libawt.so
f3fa4000-f3fab000 rwxp 0007b000 03:02 11167075 /opt/java6_32bit/jre/lib/i386/libawt.so
f3fab000-f3fcf000 rwxp f3fab000 00:00 0
f3fcf000-f3fd1000 r-xp 00000000 03:02 10726548 /usr/lib32/gconv/UTF-16.so
f3fd1000-f3fd3000 rwxp 00001000 03:02 10726548 /usr/lib32/gconv/UTF-16.so
f3fd3000-f3fd4000 r-xp 00000000 03:02 5234540 /usr/lib64/locale/de_AT.utf8/LC_NUMERIC
f3fd4000-f3fd5000 r-xp 00000000 03:02 5234541 /usr/lib64/locale/de_AT.utf8/LC_TIME
f3fd5000-f40ac000 r-xp 00000000 03:02 170979 /usr/lib64/locale/de_AT.utf8/LC_COLLATE
f40ac000-f48c3000 r-xp 00000000 03:07 752805 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_gui.so.1.0.0
f48c3000-f48ed000 rwxp 00817000 03:07 752805 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_gui.so.1.0.0
f48ed000-f48f0000 ---p f48ed000 00:00 0
f48f0000-f493e000 rwxp f48f0000 00:00 0
f493e000-f4a37000 r-xp 00000000 03:07 752801 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_core.so.1.0.0
f4a37000-f4a3c000 rwxp 000f8000 03:07 752801 /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_core.so.1.0.0
f4a3c000-f4a3f000 r-xp 00000000 03:02 7439997 /emul/linux/x86/usr/lib/libXdmcp.so.6.0.0
f4a3f000-f4a41000 rwxp 00002000 03:02 7439997 /emul/linux/x86/usr/lib/libXdmcp.so.6.0.0
f4a41000-f4a43000 r-xp 00000000 03:02 7439969 /emul/linux/x86/usr/lib/libXau.so.6.0.0
f4a43000-f4a44000 rwxp 00001000 03:02 7439969 /emul/linux/x86/usr/lib/libXau.so.6.0.0
f4a44000-f4a61000 r-xp 00000000 03:02 9950141 /emul/linux/x86/usr/lib/libexpat.so.0.5.0
f4a61000-f4a63000 rwxp 0001d000 03:02 9950141 /emul/linux/x86/usr/lib/libexpat.so.0.5.0
f4a63000-f4b4d000 r-xp 00000000 03:02 7439944 /emul/linux/x86/usr/lib/libX11.so.6.2.0
f4b4d000-f4b52000 rwxp 000e9000 03:02 7439944 /emul/linux/x86/usr/lib/libX11.so.6.2.0
f4b52000-f4b5f000 r-xp 00000000 03:02 7439991 /emul/linux/x86/usr/lib/libXext.so.6.4.0
f4b5f000-f4b60000 rwxp 0000d000 03:02 7439991 /emul/linux/x86/usr/lib/libXext.so.6.4.0
f4b60000-f4b88000 r-xp 00000000 03:02 7439980 /emul/linux/x86/usr/lib/libfontconfig.so.1.0.4
f4b88000-f4b8d000 rwxp 00028000 03:02 7439980 /emul/linux/x86/usr/lib/libfontconfig.so.1.0.4
f4b8d000-f4b8e000 rwxp f4b8d000 00:00 0
f4b8e000-f4bf7000 r-xp 00000000 03:02 7440030 /emul/linux/x86/usr/lib/libfreetype.so.6.3.7
f4bf7000-f4bfe000 rwxp 00069000 03:02 7440030 /emul/linux/x86/usr/lib/libfreetype.so.6.3.7
f4bfe000-f4c06000 r-xp 00000000 03:02 7439965 /emul/linux/x86/usr/lib/libXcursor.so.1.0.2
f4c06000-f4c07000 rwxp 00007000 03:02 7439965 /emul/linux/x86/usr/lib/libXcursor.so.1.0.2
f4c07000-f4c0b000 r-xp 00000000 03:02 7439967 /emul/linux/x86/usr/lib/libXfixes.so.3.0.0
f4c0b000-f4c0c000 rwxp 00003000 03:02 7439967 /emul/linux/x86/usr/lib/libXfixes.so.3.0.0
f4c0c000-f4c0f000 r-xp 00000000 03:02 7439984 /emul/linux/x86/usr/lib/libXrandr.so.2.0.0
f4c0f000-f4c10000 rwxp 00002000 03:02 7439984 /emul/linux/x86/usr/lib/libXrandr.so.2.0.0
f4c10000-f4c18000 r-xp 00000000 03:02 7439968 /emul/linux/x86/usr/lib/libXrender.so.1.3.0
f4c18000-f4c19000 rwxp 00007000 03:02 7439968 /emul/linux/x86/usr/lib/libXrender.so.1.3.0
f4c19000-f4c20000 r-xp 00000000 03:02 7439993 /emul/linux/x86/usr/lib/libXi.so.6.0.0
f4c20000-f4c21000 rwxp 00006000 03:02 7439993 /emul/linux/x86/usr/lib/libXi.so.6.0.0
f4c21000-f4c36000 r-xp 00000000 03:02 7439949 /emul/linux/x86/usr/lib/libICE.so.6.3.0
f4c36000-f4c37000 rwxp 00014000 03:02 7439949 /emul/linux/x86/usr/lib/libICE.so.6.3.0
f4c37000-f4c39000 rwxp f4c37000 00:00 0
f4c39000-f4c41000 r-xp 00000000 03:02 7440025 /emul/linux/x86/usr/lib/libSM.so.6.0.0
f4c41000-f4c42000 rwxp 00007000 03:02 7440025 /emul/linux/x86/usr/lib/libSM.so.6.0.0
f4c42000-f4c64000 r-xp 00000000 03:02 9950161 /emul/linux/x86/usr/lib/libpng12.so.0.12.0
f4c64000-f4c65000 rwxp 00021000 03:02 9950161 /emul/linux/x86/usr/lib/libpng12.so.0.12.0
f4c65000-f53c6000 r-xp 00000000 03:07 752822 /space/userSrc/qtjambi-p3/lib/libQtGui.so.4
f53c6000-f53e8000 rwxp 00761000 03:07 752822 /space/userSrc/qtjambi-p3/lib/libQtGui.so.4
f53e8000-f53e9000 rwxp f53e8000 00:00 0
f53e9000-f5413000 r-xp 00000000 03:07 752797 /space/userSrc/qtjambi-p3/lib/libqtjambi.so.1.0.0
f5413000-f5414000 rwxp 0002a000 03:07 752797 /space/userSrc/qtjambi-p3/lib/libqtjambi.so.1.0.0
f5414000-f541d000 r-xp 00000000 03:02 11854194 /lib32/libgcc_s.so.1
f541d000-f541e000 rwxp 00009000 03:02 11854194 /lib32/libgcc_s.so.1
f541e000-f54ce000 r-xp 00000000 03:07 752831 /space/userSrc/qtjambi-p3/lib/libstdc++.so.5
f54ce000-f54d3000 rwxp 000af000 03:07 752831 /space/userSrc/qtjambi-p3/lib/libstdc++.so.5
f54d3000-f54d8000 rwxp f54d3000 00:00 0
f54d8000-f5559000 r-xp 00000000 03:02 9950183 /emul/linux/x86/usr/lib/libglib-2.0.so.0.800.5
f5559000-f555a000 rwxp 00081000 03:02 9950183 /emul/linux/x86/usr/lib/libglib-2.0.so.0.800.5
f555a000-f556a000 r-xp 00000000 03:02 9950090 /emul/linux/x86/lib/libz.so.1.2.3
f556a000-f556b000 rwxp 0000f000 03:02 9950090 /emul/linux/x86/lib/libz.so.1.2.3
f556c000-f557d000 r-xp 00000000 03:02 4853836 /usr/share/fonts/ttf-bitstream-vera/Vera.ttf
f557d000-f558c000 r-xp 00000000 03:02 4853827 /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
f558c000-f558d000 r-xp 00000000 03:02 5234542 /usr/lib64/locale/de_AT.utf8/LC_MONETARY
f558d000-f558e000 r-xp 00000000 03:02 5234498 /usr/lib64/locale/de_AT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
f558e000-f558f000 r-xp 00000000 03:02 5234434 /usr/lib64/locale/de_AT.utf8/LC_PAPER
f558f000-f5590000 r-xp 00000000 03:02 5234544 /usr/lib64/locale/de_AT.utf8/LC_NAME
f5590000-f5591000 r-xp 00000000 03:02 5234545 /usr/lib64/locale/de_AT.utf8/LC_ADDRESS
f5591000-f5592000 r-xp 00000000 03:02 5234546 /usr/lib64/locale/de_AT.utf8/LC_TELEPHONE
f5592000-f5593000 r-xp 00000000 03:02 5234439 /usr/lib64/locale/de_AT.utf8/LC_MEASUREMENT
f5593000-f5728000 r-xp 00000000 03:07 752821 /space/userSrc/qtjambi-p3/lib/libQtCore.so.4
f5728000-f572f000 rwxp 00195000 03:07 752821 /space/userSrc/qtjambi-p3/lib/libQtCore.so.4
f572f000-f5760000 rwxp f572f000 00:00 0
f5760000-f58da000 r-xs 02c68000 03:02 11167810 /opt/java6_32bit/jre/lib/rt.jar
f58da000-f58dd000 r-xs 00028000 03:02 11046011 /usr/share/charva/lib/charva.jar
f58dd000-f58ec000 r-xs 000de000 03:02 11496580 /usr/share/swt-3/lib/swt.jar
f58ec000-f5902000 r-xs 00151000 03:07 752844 /space/userSrc/qtjambi-p3/qtjambi.jar
f5902000-f5903000 ---p f5902000 00:00 0
f5903000-f5983000 rwxp f5903000 00:00 0
f5983000-f5986000 ---p f5983000 00:00 0
f5986000-f59d4000 rwxp f5986000 00:00 0
f59d4000-f59d7000 ---p f59d4000 00:00 0
f59d7000-f5a55000 rwxp f59d7000 00:00 0
f5a55000-f5a58000 ---p f5a55000 00:00 0
f5a58000-f5aa6000 rwxp f5a58000 00:00 0
f5aa6000-f5ae1000 r-xp 00000000 03:02 5234493 /usr/lib64/locale/de_AT.utf8/LC_CTYPE
f5ae1000-f5ae4000 ---p f5ae1000 00:00 0
f5ae4000-f5b32000 rwxp f5ae4000 00:00 0
f5b32000-f5b35000 ---p f5b32000 00:00 0
f5b35000-f5b83000 rwxp f5b35000 00:00 0
f5b83000-f5b84000 ---p f5b83000 00:00 0
f5b84000-f5c17000 rwxp f5b84000 00:00 0
f5c17000-f5c31000 rwxp f5c17000 00:00 0
f5c31000-f5c34000 rwxp f5c31000 00:00 0
f5c34000-f5c4f000 rwxp f5c34000 00:00 0
f5c4f000-f5c50000 rwxp f5c4f000 00:00 0
f5c50000-f5c51000 rwxp f5c50000 00:00 0
f5c51000-f5c54000 rwxp f5c51000 00:00 0
f5c54000-f5c6f000 rwxp f5c54000 00:00 0
f5c6f000-f5c75000 rwxp f5c6f000 00:00 0
f5c75000-f5c8f000 rwxp f5c75000 00:00 0
f5c8f000-f5c9e000 rwxp f5c8f000 00:00 0
f5c9e000-f5d1a000 rwxp f5c9e000 00:00 0
f5d1a000-f5de2000 rwxp f5d1a000 00:00 0
f5de2000-f7d1a000 rwxp f5de2000 00:00 0
f7d1a000-f7d3d000 r-xp 00000000 03:02 11167056 /opt/java6_32bit/jre/lib/i386/libjava.so
f7d3d000-f7d3f000 rwxp 00023000 03:02 11167056 /opt/java6_32bit/jre/lib/i386/libjava.so
f7d3f000-f7d47000 r-xp 00000000 03:02 10726328 /lib32/libnss_files-2.5.so
f7d47000-f7d49000 rwxp 00007000 03:02 10726328 /lib32/libnss_files-2.5.so
f7d49000-f7d51000 r-xp 00000000 03:02 10727515 /lib32/libnss_nis-2.5.so
f7d51000-f7d53000 rwxp 00007000 03:02 10727515 /lib32/libnss_nis-2.5.so
f7d53000-f7d55000 r-xp 00000000 03:02 7439934 /emul/linux/x86/usr/lib/libXinerama.so.1.0.0
f7d55000-f7d56000 rwxp 00001000 03:02 7439934 /emul/linux/x86/usr/lib/libXinerama.so.1.0.0
f7d56000-f7d65000 r-xp 00000000 03:02 11167060 /opt/java6_32bit/jre/lib/i386/libzip.so
f7d65000-f7d67000 rwxp 0000e000 03:02 11167060 /opt/java6_32bit/jre/lib/i386/libzip.so
f7d67000-f7d72000 r-xp 00000000 03:02 11167053 /opt/java6_32bit/jre/lib/i386/libverify.so
f7d72000-f7d73000 rwxp 0000b000 03:02 11167053 /opt/java6_32bit/jre/lib/i386/libverify.so
f7d73000-f7d7b000 rwxs 00000000 03:02 9951542 /tmp/hsperfdata_georg/4685
f7d7b000-f7d82000 r-xp 00000000 03:02 10727569 /lib32/librt-2.5.so
f7d82000-f7d84000 rwxp 00006000 03:02 10727569 /lib32/librt-2.5.so
f7d84000-f7d87000 ---p f7d84000 00:00 0
f7d87000-f7dd5000 rwxp f7d87000 00:00 0
f7dd5000-f7df8000 r-xp 00000000 03:02 10727488 /lib32/libm-2.5.so
f7df8000-f7dfa000 rwxp 00022000 03:02 10727488 /lib32/libm-2.5.so
f7dfa000-f7dfb000 rwxp f7dfa000 00:00 0
f7dfb000-f7f1b000 r-xp 00000000 03:02 10727102 /lib32/libc-2.5.so
f7f1b000-f7f1c000 r-xp 00120000 03:02 10727102 /lib32/libc-2.5.so
f7f1c000-f7f1e000 rwxp 00121000 03:02 10727102 /lib32/libc-2.5.so
f7f1e000-f7f22000 rwxp f7f1e000 00:00 0
f7f22000-f7f24000 r-xp 00000000 03:02 10727478 /lib32/libdl-2.5.so
f7f24000-f7f26000 rwxp 00001000 03:02 10727478 /lib32/libdl-2.5.so
f7f26000-f7f2d000 r-xp 00000000 03:02 11167058 /opt/java6_32bit/jre/lib/i386/jli/libjli.so
f7f2d000-f7f2f000 rwxp 00006000 03:02 11167058 /opt/java6_32bit/jre/lib/i386/jli/libjli.so
f7f2f000-f7f42000 r-xp 00000000 03:02 10727505 /lib32/libpthread-2.5.so
f7f42000-f7f43000 r-xp 00012000 03:02 10727505 /lib32/libpthread-2.5.so
f7f43000-f7f44000 rwxp 00013000 03:02 10727505 /lib32/libpthread-2.5.so
f7f44000-f7f46000 rwxp f7f44000 00:00 0
f7f46000-f7f47000 r-xp 00000000 03:02 5234547 /usr/lib64/locale/de_AT.utf8/LC_IDENTIFICATION
f7f47000-f7f4d000 r-xp 00000000 03:02 10727154 /lib32/libnss_compat-2.5.so
f7f4d000-f7f4f000 rwxp 00005000 03:02 10727154 /lib32/libnss_compat-2.5.so
f7f4f000-f7f61000 r-xp 00000000 03:02 10727514 /lib32/libnsl-2.5.so
f7f61000-f7f63000 rwxp 00011000 03:02 10727514 /lib32/libnsl-2.5.so
f7f63000-f7f65000 rwxp f7f63000 00:00 0
f7f65000-f7f6b000 r-xp 00000000 03:02 11167033 /opt/java6_32bit/jre/lib/i386/native_threads/libhpi.so
f7f6b000-f7f6c000 rwxp 00006000 03:02 11167033 /opt/java6_32bit/jre/lib/i386/native_threads/libhpi.so
f7f6c000-f7f6d000 rwxp f7f6c000 00:00 0
f7f6d000-f7f6e000 r-xp f7f6d000 00:00 0
f7f6e000-f7f6f000 rwxp f7f6e000 00:00 0
f7f6f000-f7f89000 r-xp 00000000 03:02 10727661 /lib32/ld-2.5.so
f7f89000-f7f8a000 r-xp 00019000 03:02 10727661 /lib32/ld-2.5.so
f7f8a000-f7f8b000 rwxp 0001a000 03:02 10727661 /lib32/ld-2.5.so
ffdfa000-ffe04000 rwxp ffdfa000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0
VM Arguments:
java_command: org.Xwidgets.examples.TreeTester
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/home/georg/.gentoo/java-config-2/current-user-vm
CLASSPATH=/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:/home/georg/Adempiere/postgresql/8.1.5/jlib/:/home/georg/Adempiere/postgresql/8.1.5/jdbc/lib:.
PATH=/usr/src/qtjambi-linux-preview/bin:/usr/kde/3.5/bin:/opt/sun-jdk-1.5.0.08/jre/bin:/home/georg/Adempiere/postgresql/8.1.5/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/ati/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/modeltech/bin:/opt/limewire
LD_LIBRARY_PATH=/opt/java6_32bit/jre/lib/i386/client:/opt/java6_32bit/jre/lib/i386:/opt/java6_32bit/jre/../lib/i386:/usr/src/qtjambi-linux-preview/lib:
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3aea90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x304e70], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x3068a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x306e80], sa_mask[0]=0x00000000, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:Gentoo Base System version 1.12.6
uname:Linux 2.6.18 #4 Wed Nov 15 18:51:42 CET 2006 x86_64
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 8192k, CORE 0k, NPROC 8183, NOFILE 1024, AS infinity
load average:0.80 0.42 0.26
CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, mmxext, 3dnowext, 3dnow
Memory: 4k page, physical 1026128k(10520k free), swap 987956k(820916k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0-rc-b104) for linux-x86, built on Nov 1 2006 01:16:37 by "java_re" with gcc 3.2.1-7a (J2SE release)
Message 11 in thread
Moin list!
So i tried some more things to track the problem down. First of all i
changed the data used in the tree to simple String/boolean pairs
representing url/isFile. Besides that i did the browsing in some other
way. So no java.io.File is involved anymore. Also i updated to the final
release of java6. No change, still the same. I still get the same
segfaults (libc/malloc(), libQtGui/TreeViewPrivate9viewIndex()) as
before as soon as some node has children, no mem-corruption yet. It
works fine if a node hasn't any children (which at least tells us that
getting the child count works fine, seems like getting the children
using index() and its fellows is probably the problem). Stacktrace is
the same as last times, maybe one of you has an idea what could cause
trouble here.
The only idea i have is that the references in the cpp-part get lost due
to gc since my teammate reported he could open a directory with only 6
items about 7 times now before he got a segfault finally. I'm afraid
that i myself only tried to open bigger directories before since /bin
was right on the top, as was /dev, both having a huge amount of entries.
That behaviour looks kind of randomly since he couldn't open that 6
items directory anymore after some time. He used java5.
I'm happy to test every idea you have ;).
best regards
Georg Schild
Message 12 in thread
Georg Schild wrote:
> So i tried some more things to track the problem down. First of all i
> changed the data used in the tree to simple String/boolean pairs
> representing url/isFile. Besides that i did the browsing in some other
> way. So no java.io.File is involved anymore. Also i updated to the final
> release of java6. No change, still the same. I still get the same
> segfaults (libc/malloc(), libQtGui/TreeViewPrivate9viewIndex()) as
> before as soon as some node has children, no mem-corruption yet. It
> works fine if a node hasn't any children (which at least tells us that
> getting the child count works fine, seems like getting the children
> using index() and its fellows is probably the problem). Stacktrace is
> the same as last times, maybe one of you has an idea what could cause
> trouble here.
>
> The only idea i have is that the references in the cpp-part get lost due
> to gc since my teammate reported he could open a directory with only 6
> items about 7 times now before he got a segfault finally. I'm afraid
> that i myself only tried to open bigger directories before since /bin
> was right on the top, as was /dev, both having a huge amount of entries.
> That behaviour looks kind of randomly since he couldn't open that 6
> items directory anymore after some time. He used java5.
I've tried a number of different things now on different systems, but I
am unable so far to reproduce crashes. I tried with the tp3 package on
Windows XP and on ubuntu 5.2 and ubuntu 6.0.
If your crashes are caused by dangling pointers to objects that are
collected by the garbage collector it should be possible to 1. Provoke
these by calling System.gc() in a number of places to forcing the gc to
run more often and 2. Avoid these by never letting go of any references,
such as putting them into a List or something. If the crashes go away by
doing this it would indicate that the c++ side is in fact referencing
memory that has been deleted.
I tried approach no 1 on both linux/windows on my old example but was
unable to provoke crashes that way.
I'll get back to you if I notice anything more
-
Gunnar
Message 13 in thread
Hi Gunnar!
Gunnar Sletta wrote:
> I've tried a number of different things now on different systems, but
> I am unable so far to reproduce crashes. I tried with the tp3 package
> on Windows XP and on ubuntu 5.2 and ubuntu 6.0.
Really weird, must be some unchecked code somewhere that lets the jvm
crash all the time. By any chance could you do the same example using
java.io.File? I don't think that this should change anything, but it's
worth a try i'd say.
> If your crashes are caused by dangling pointers to objects that are
> collected by the garbage collector it should be possible to 1. Provoke
> these by calling System.gc() in a number of places to forcing the gc
> to run more often and 2. Avoid these by never letting go of any
> references, such as putting them into a List or something. If the
> crashes go away by doing this it would indicate that the c++ side is
> in fact referencing memory that has been deleted.
Well, my code is almost the same as yours, there's just one model-layer
more which abstracts the qabstractitemmodel a bit and i'm using
java.io.File instead of Qt classes. So i also keep references in a
HashMap using their id's as key.
I tried to call System.gc() in some places, besides a notable slowdown
the same shit as before happened.
> I tried approach no 1 on both linux/windows on my old example but was
> unable to provoke crashes that way.
Well, must have been bad luck then, as already mentioned i opened about
10 layers before the crash occurred. took much more time than my code to
crash ;).
> I'll get back to you if I notice anything more
Great, thanks
Just some more things i think i forgot in my previous mails:
index() seems to work fine until the last subitem gets queried. I did a
listing of the directory contents, all items get queried (in random
order though) and indices are created. Then the crash occurs. Would be
interesting to know what gets called next after index() since the
crashdumps are not very informative on that.
best regards
Georg Schild
Message 14 in thread
Georg Schild wrote:
Hi Georg,
I just noticed in your crashlogs that your LD_LIBRARY_PATH is set to:
/usr/src/qtjambi-linux-preview/lib
which is the directory structure for the first tech preview. Then in the
load history I see things like:
/space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_gui.so.1.0.0
It might be the problem.
best regards,
Gunnar
Message 15 in thread
Gunnar Sletta wrote:
> I just noticed in your crashlogs that your LD_LIBRARY_PATH is set to:
>
> /usr/src/qtjambi-linux-preview/lib
>
> which is the directory structure for the first tech preview. Then in
> the load history I see things like:
>
> /space/userSrc/qtjambi-p3/lib/libcom_trolltech_qt_gui.so.1.0.0
>
> It might be the problem.
Na, that's fine. /usr/src/qtjambi-linux-preview is just a symlink to the
latest tp, in this case tp3. i just didn't want to change my command
line all the time so i changed the directory instead ;). To start my app
i copied the appropriate lines from qtjambi.sh with some modifications,
right now i also tried to set the libdir using -Djava.library.path and
drop the PATH setting, no change. But the crash-points get more and more
all the time, i got two different ones now:
libQtCore/Object.userData()
libQtGui/Vector.TreeViewItem.realloc()
best regards
Georg Schild
Pages: Prev | 1 | 2 | Next