java-gnome-hackers Mailing List for The java-gnome language bindings project (Page 118)
Brought to you by:
afcowie
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(102) |
Sep
(43) |
Oct
(32) |
Nov
(43) |
Dec
(51) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(6) |
Feb
(19) |
Mar
(39) |
Apr
(22) |
May
|
Jun
(11) |
Jul
(2) |
Aug
(4) |
Sep
|
Oct
(3) |
Nov
(9) |
Dec
(73) |
2004 |
Jan
(88) |
Feb
(141) |
Mar
(116) |
Apr
(69) |
May
(199) |
Jun
(53) |
Jul
(90) |
Aug
(23) |
Sep
(11) |
Oct
(212) |
Nov
(57) |
Dec
(61) |
2005 |
Jan
(88) |
Feb
(17) |
Mar
(21) |
Apr
(50) |
May
(44) |
Jun
(33) |
Jul
(21) |
Aug
(37) |
Sep
(39) |
Oct
(43) |
Nov
(40) |
Dec
(15) |
2006 |
Jan
(21) |
Feb
(69) |
Mar
(23) |
Apr
(6) |
May
(29) |
Jun
(19) |
Jul
(17) |
Aug
(15) |
Sep
(13) |
Oct
(16) |
Nov
(9) |
Dec
(7) |
2007 |
Jan
(30) |
Feb
(39) |
Mar
(1) |
Apr
(12) |
May
(53) |
Jun
(30) |
Jul
(39) |
Aug
(75) |
Sep
(16) |
Oct
(13) |
Nov
(20) |
Dec
(5) |
2008 |
Jan
(8) |
Feb
(14) |
Mar
(33) |
Apr
(7) |
May
(22) |
Jun
(23) |
Jul
(17) |
Aug
(9) |
Sep
(9) |
Oct
(25) |
Nov
(9) |
Dec
(1) |
2009 |
Jan
(20) |
Feb
(38) |
Mar
(9) |
Apr
(15) |
May
(30) |
Jun
(35) |
Jul
(22) |
Aug
(10) |
Sep
(7) |
Oct
(23) |
Nov
(6) |
Dec
(8) |
2010 |
Jan
(5) |
Feb
(10) |
Mar
(17) |
Apr
(10) |
May
(16) |
Jun
(8) |
Jul
(3) |
Aug
(15) |
Sep
(14) |
Oct
(26) |
Nov
(11) |
Dec
(14) |
2011 |
Jan
(10) |
Feb
(8) |
Mar
(6) |
Apr
(7) |
May
(18) |
Jun
(17) |
Jul
(6) |
Aug
(1) |
Sep
(2) |
Oct
(6) |
Nov
(2) |
Dec
(10) |
2012 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
(5) |
Aug
(14) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
(8) |
Mar
(6) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark H. <mh...@ti...> - 2003-04-11 19:32:52
|
Hi, When using gnome menus and toolbars, App.createToolbars does not seem to fill in the widget part of the UIInfos. As such, exceptions are raised on events from these widgets as the handler cannot construct a new Widget (using the handle -1). Please can somebody more familiar with gnome and the UIInfo code take a look at this. thanks -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ti...> - 2003-04-11 19:21:51
|
On Tue, 2003-04-08 at 23:51, Tom Ball wrote: > it fails in EventKey.getString with a bogus eventkey handle. Are you sure it's bogus. The location certainly seems as vaild as the others. Commenting out the call to the native getString (in gdk.EventKey.getString) "fixes" the problems for me. The following is printed in the docs for the string field of GdkEventKey - perhaps we shouldn't be using GdkEventKey.string: a string containing the an approximation of the text that would result from this keypress. The only correct way to handle text input of text is using input methods (see GtkIMContext), so this field is deprecated and should never be used. (gdk_unicode_to_keyval() provides a non-deprecated way of getting an approximate translation for a key.) The string is encoded in the encoding of the current locale (Note: this for backwards compatibility: strings in GTK+ and GDK are typically in UTF-8.) and NUL-terminated. In some cases, the translation of the key code will be a single NUL byte, in which case looking at length is necessary to distinguish it from the an empty translation. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ti...> - 2003-04-11 15:27:55
|
On Sat, 2003-03-22 at 13:18, Mark Howard wrote: > Hi, [...] > Abstract class dataBlock; > dataBlockInt extends dataBlock I'd like to start work on this this weekend, unless there are any objections. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Tom B. <Tom...@Su...> - 2003-04-08 22:51:42
|
With Sun's latest it crashes regularly for me in my app. You should be able to recreate this bug using src/examples/gtk/entry or src/examples/gtk/text: just type any character into a text or entry field. I can't spend more time on this today (my real job gets in the way), but the problem seems to be in org_gnu_glib_GObject.c:jg_signal_cb() with uninitialized arguments being passed up to Java. If one changes line 129 to read: jargs = alloca(n_param_values * sizeof(jvalue)); add => memset(jargs, 0, n_param_values * sizeof(jvalue)); then problems turn up more quickly due to null handles (0xCA is another good memset choice since it's a rarely used but easily recognized memory pattern). The alloca call just allocates space on the stack, so it is "initialized" to whatever garbage was on there previously. A related problem is that the first Java parameter was never initialized due to the for loop reading "for(i = 1; i < n_param_values; i++)". I don't know if a starting index of one makes sense for a GClosureMarshall function (there's no documentation), but it doesn't for the Java argument array. When I changed it to "i = 0;" things moved further, but it fails in EventKey.getString with a bogus eventkey handle. Would someone more familiar with the jg_signal_cb() code take a look at this? Tom On Sun, 2003-04-06 at 16:00, Jeffrey Morgan wrote: > That is very strange. I can type as many characters > as I wish into the gnome entry example and the gtk > entry example and experience no problems. Can you > please try to run the examples with Sun's JDK? It > should produce an output file when it crashes named > something like hs_err_pid9999.log. If it doesn't > crash with Sun's JDK then the problem is when using > it with the Blackdown JDK. That will help me debug > it. > > On Sun, 2003-04-06 at 16:27, Mark Howard wrote: > > On Sun, 2003-04-06 at 21:24, Mark Howard wrote: > > > On Sun, 2003-04-06 at 20:37, Jeffrey Morgan wrote: > > > > What happens on your system if you run the EntryTest example > > > > under src/examples/gnome/entry? > > > > > > Typing one character works. > > > The example crashes when I type a second. > > > If I press backspace after the first character, it is deleted and I can > > > type another character. > > > > The same thing also happens when using a gtk entry. -- Tom Ball <Tom...@Su...> |
From: RUBIOJR <RU...@te...> - 2003-04-07 15:17:25
|
The entry example inside the gnome dir seems to work well for me, it doesn't crash. I've also tried the TestGtk example under the gtk dir and it crashes when I click the entry button. ** ERROR **: file jni/org_gnu_glib_GListString.c: line 122 (Java_org_gnu_glib_GListString_append0): assertion failed: (handle != 0) aborting... JVMXM004: JVM is performing abort shutdown sequence JVMDG217: Dump Handler is Processing a Signal - Please Wait. JVMDG303: JVM Requesting Java core file JVMDG304: Java core file written to /home/rubiojr/cvs/java-gnome/src/examples/gtk/javacore1899.1049712883.txt JVMDG215: Dump Handler has Processed Error Signal 6. Aborted (core dumped) java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxppc32131-20021107a (JIT enabled: jitc)) Cheers, Rubio Jr. Asac! Team ----- Mensaje Original ----- De: Mark Howard <mh...@ti...> Fecha: Lunes, Abril 7, 2003 10:30 am Asunto: Re: [java-gnome-hackers] gnome conflicts with gtkentry > On Mon, 2003-04-07 at 00:00, Jeffrey Morgan wrote: > > That is very strange. I can type as many characters > > as I wish into the gnome entry example and the gtk > > entry example and experience no problems. Can you > > please try to run the examples with Sun's JDK? It > > should produce an output file when it crashes named > > something like hs_err_pid9999.log. If it doesn't > > crash with Sun's JDK then the problem is when using > > it with the Blackdown JDK. That will help me debug > > it. > ... unless it's a glib or gtk problem. > > I've only got access to a 56k modem at the moment so getting Sun java > will be tricky. I will try though. > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... | mh...@ca... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.co > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > |
From: Mark H. <mh...@ti...> - 2003-04-07 08:30:56
|
On Mon, 2003-04-07 at 00:00, Jeffrey Morgan wrote: > That is very strange. I can type as many characters > as I wish into the gnome entry example and the gtk > entry example and experience no problems. Can you > please try to run the examples with Sun's JDK? It > should produce an output file when it crashes named > something like hs_err_pid9999.log. If it doesn't > crash with Sun's JDK then the problem is when using > it with the Blackdown JDK. That will help me debug > it. ... unless it's a glib or gtk problem. I've only got access to a 56k modem at the moment so getting Sun java will be tricky. I will try though. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-04-06 22:57:03
|
That is very strange. I can type as many characters as I wish into the gnome entry example and the gtk entry example and experience no problems. Can you please try to run the examples with Sun's JDK? It should produce an output file when it crashes named something like hs_err_pid9999.log. If it doesn't crash with Sun's JDK then the problem is when using it with the Blackdown JDK. That will help me debug it. On Sun, 2003-04-06 at 16:27, Mark Howard wrote: > On Sun, 2003-04-06 at 21:24, Mark Howard wrote: > > On Sun, 2003-04-06 at 20:37, Jeffrey Morgan wrote: > > > What happens on your system if you run the EntryTest example > > > under src/examples/gnome/entry? > > > > Typing one character works. > > The example crashes when I type a second. > > If I press backspace after the first character, it is deleted and I can > > type another character. > > The same thing also happens when using a gtk entry. -- Jeffrey Morgan <ku...@zo...> |
From: Mark H. <mh...@ti...> - 2003-04-06 20:28:12
|
On Sun, 2003-04-06 at 21:24, Mark Howard wrote: > On Sun, 2003-04-06 at 20:37, Jeffrey Morgan wrote: > > What happens on your system if you run the EntryTest example > > under src/examples/gnome/entry? > > Typing one character works. > The example crashes when I type a second. > If I press backspace after the first character, it is deleted and I can > type another character. The same thing also happens when using a gtk entry. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ti...> - 2003-04-06 20:26:58
|
On Sun, 2003-04-06 at 20:37, Jeffrey Morgan wrote: > What happens on your system if you run the EntryTest example > under src/examples/gnome/entry? Typing one character works. The example crashes when I type a second. If I press backspace after the first character, it is deleted and I can type another character. The error I get is: # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://www.blackdown.org/cgi-bin/jdk # # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) # # Error ID: 43113F32554E54494D45110E4350500305 # # Problematic Thread: prio=5 tid=0x8051410 nid=15657 runnable # pathfinderii:~/dev/java-gnome/src/examples/gnome$ java -version java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-beta) Java HotSpot(TM) Client VM (build Blackdown-1.4.1-beta, mixed mode) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-04-06 19:34:06
|
What happens on your system if you run the EntryTest example under src/examples/gnome/entry? On Sun, 2003-04-06 at 14:08, Mark Howard wrote: > On Sun, 2003-04-06 at 17:59, Jeffrey Morgan wrote: > > I have fixed a couple of errors I found in the Entry hierarchy. Can > > you please test your example again and let me know the results? > > Unfortunately I still get the same results - crash every time. -- Jeffrey Morgan <ku...@zo...> |
From: Mark H. <mh...@ti...> - 2003-04-06 18:09:28
|
On Sun, 2003-04-06 at 17:59, Jeffrey Morgan wrote: > I have fixed a couple of errors I found in the Entry hierarchy. Can > you please test your example again and let me know the results? Unfortunately I still get the same results - crash every time. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-04-06 16:56:32
|
I have fixed a couple of errors I found in the Entry hierarchy. Can you please test your example again and let me know the results? Thanks -Jeff On Mon, 2003-03-31 at 13:41, Sergio Rubio wrote: > I had the same problem. I think it didn't happen when compiled to > native code with gcj, but i can't remember now. > > On 2003.03.31 10:02 Mark Howard wrote: > > Hi, > > Has anyone had chance to look at these? Do you have the same > > problem, > > or could it be something specific to my setup? > > > > > > On Tue, 2003-03-25 at 13:45, Mark Howard wrote: > > > I've uploaded jar and source tarballs to > > > http://tildemh.com/tmp/debbuggtk > > > Both the library (debbug/libdebbug-java) and application (debbuggtk) > > are > > > needed. > > > > > > The main class is com.tildemh.debbuggtk.BugWatcher > > > > > > The errors I'm getting: > > > 1) Crash when typing into any gtkEntry (e.g. the filters box, or any > > in > > > the dialog from clicking on the add button) > > > > > > 2) Crash when clicking on any menu entry or toolbar entry. > > > > > > > > > Other than that though, everything seems to be working really well. > > -- > > .''`. Mark Howard > > : :' : > > `. `' http://www.tildemh.com > > `- mh...@de... | mh...@ti... | mh...@ca... > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: > > The Definitive IT and Networking Event. Be There! > > NetWorld+Interop Las Vegas 2003 -- Register today! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > > _______________________________________________ > > java-gnome-hackers mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers -- Jeffrey Morgan <ku...@zo...> |
From: Sergio R. <ser...@hi...> - 2003-03-31 18:33:51
|
I had the same problem. I think it didn't happen when compiled to native code with gcj, but i can't remember now. On 2003.03.31 10:02 Mark Howard wrote: > Hi, > Has anyone had chance to look at these? Do you have the same > problem, > or could it be something specific to my setup? > > > On Tue, 2003-03-25 at 13:45, Mark Howard wrote: > > I've uploaded jar and source tarballs to > > http://tildemh.com/tmp/debbuggtk > > Both the library (debbug/libdebbug-java) and application (debbuggtk) > are > > needed. > > > > The main class is com.tildemh.debbuggtk.BugWatcher > > > > The errors I'm getting: > > 1) Crash when typing into any gtkEntry (e.g. the filters box, or any > in > > the dialog from clicking on the add button) > > > > 2) Crash when clicking on any menu entry or toolbar entry. > > > > > > Other than that though, everything seems to be working really well. > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... | mh...@ca... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > |
From: Mark H. <mh...@ti...> - 2003-03-31 08:02:17
|
Hi, Has anyone had chance to look at these? Do you have the same problem, or could it be something specific to my setup? On Tue, 2003-03-25 at 13:45, Mark Howard wrote: > I've uploaded jar and source tarballs to > http://tildemh.com/tmp/debbuggtk > Both the library (debbug/libdebbug-java) and application (debbuggtk) are > needed. > > The main class is com.tildemh.debbuggtk.BugWatcher > > The errors I'm getting: > 1) Crash when typing into any gtkEntry (e.g. the filters box, or any in > the dialog from clicking on the add button) > > 2) Crash when clicking on any menu entry or toolbar entry. > > > Other than that though, everything seems to be working really well. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ti...> - 2003-03-25 13:45:45
|
On Tue, 2003-03-25 at 10:59, Jeffrey Morgan wrote: > Check to see if there is a text file in the directory > in which you ran the program. If it is there it should > give you information about the state of the running > thread at the time the application crashed. Also, please > send me a copy of the application. I would like to take > a look. There was no file. I've uploaded jar and source tarballs to http://tildemh.com/tmp/debbuggtk Both the library (debbug/libdebbug-java) and application (debbuggtk) are needed. The main class is com.tildemh.debbuggtk.BugWatcher The errors I'm getting: 1) Crash when typing into any gtkEntry (e.g. the filters box, or any in the dialog from clicking on the add button) 2) Crash when clicking on any menu entry or toolbar entry. Other than that though, everything seems to be working really well. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <Jef...@Br...> - 2003-03-25 10:59:42
|
Check to see if there is a text file in the directory in which you ran the program. If it is there it should give you information about the state of the running thread at the time the application crashed. Also, please send me a copy of the application. I would like to take a look. -Jeff -----Original Message----- From: Mark Howard [mailto:mh...@ti...] Sent: Tuesday, March 25, 2003 3:54 AM To: jav...@li... Subject: [java-gnome-hackers] gnome conflicts with gtkentry Hi, I'm trying to convert my java-gnome application to use gnome. Before I started, gtkentry widgets were working fine. Now that I'm using a gnome app, the program crashed whenever I enter text into a gtkentry. The only output I get is printed below. How can I get further debugging output? # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://www.blackdown.org/cgi-bin/jdk # # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) # # Error ID: 43113F32554E54494D45110E4350500305 # # Problematic Thread: prio=5 tid=0x8051540 nid=23960 runnable # -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ java-gnome-hackers mailing list jav...@li... https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers |
From: Mark H. <mh...@ti...> - 2003-03-25 08:54:50
|
Hi, I'm trying to convert my java-gnome application to use gnome. Before I started, gtkentry widgets were working fine. Now that I'm using a gnome app, the program crashed whenever I enter text into a gtkentry. The only output I get is printed below. How can I get further debugging output? # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://www.blackdown.org/cgi-bin/jdk # # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) # # Error ID: 43113F32554E54494D45110E4350500305 # # Problematic Thread: prio=5 tid=0x8051540 nid=23960 runnable # -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-03-24 21:46:26
|
We need to be a little more careful in our merging of the TODO file. Several of the items I had already fixed were back in the file. I think what is happening is the entries were added back in due to the fact that they have a method with a byte array in the signature. In many cases this is the correct behavior (for example when dealing with Bitmaps and Pixmaps). We should only be making the changes when the underlying native resource is truly a String. -- Jeffrey Morgan <ku...@zo...> |
From: Mark H. <mh...@ti...> - 2003-03-24 21:42:06
|
On Mon, 2003-03-24 at 19:48, Tom Ball wrote: > Do you get a core dump when this occurs? There are six addEventHandler > methods, and it would help getting a more accurate fix on where the > fault occurs. If you have a core file, please run 'gdb <your vm> > <core>' and type 'where' to get a native stack trace. > > If that isn't possible, can you forward your app so I can run it? I've just found this bug. Thanks anyway. but they keep coming... I'm now finding one when clicking on any gnome toolbar entry I get exceptions. I think these are related to UIInfo.getWidget Current Java thread: at org.gnu.glib.GObject.addEventHandler(Native Method) at org.gnu.glib.EventMap.initialize(EventMap.java:66) at org.gnu.gtk.Widget.initializeEventHandlers(Widget.java:529) at org.gnu.gtk.Widget.<init>(Widget.java:86) at org.gnu.gnome.UIInfo.handleButtonEvent(UIInfo.java:198) at org.gnu.gtk.Gtk.gtk_main(Native Method) at org.gnu.gtk.Gtk.main(Gtk.java:54) at com.tildemh.debbuggtk.BugWatcher.main(BugWatcher.java:248) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2003-03-24 21:34:38
|
I'll take a look at the UIInfo this evening. On Mon, 2003-03-24 at 14:36, Mark Howard wrote: > On Mon, 2003-03-24 at 19:22, Tom Ball wrote: > > The org.gnu.gnome.UIInfo class won't compile on my system because some > > pixmap buffers were converted to strings, causing multiple overloaded > > methods with the same signatures. > > sorry. my mistake. I've reverted the file back to the original form. I > guess I shouldn't have been messing with what I didn't really > understand. I'll leave the gnome classes alone. -- Jeffrey Morgan <ku...@zo...> |
From: Tom B. <Tom...@Su...> - 2003-03-24 19:50:48
|
Do you get a core dump when this occurs? There are six addEventHandler methods, and it would help getting a more accurate fix on where the fault occurs. If you have a core file, please run 'gdb <your vm> <core>' and type 'where' to get a native stack trace. If that isn't possible, can you forward your app so I can run it? Thanks, Tom On Sat, 2003-03-22 at 06:29, Mark Howard wrote: > Hi, > One of the commits since last night has started to produce exceptions > in the Timer related code. This occurs any time I start a timer. > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3F69A0 > Function=(null)+0x4C3F69A0 > Library=/home/mark/dev/java-gnome/lib/libGTKJava.so.0.8.0 > > NOTE: We are unable to locate the function name symbol for the error > just occurred. Please refer to release documentation for possible > reason and solutions. > > > Current Java thread: > at org.gnu.glib.GObject.addEventHandler(Native Method) > at org.gnu.glib.EventMap.initialize(EventMap.java:66) > at org.gnu.gtk.Container.initializeEventHandlers(Container.java:191) > at org.gnu.gtk.Dialog.initializeEventHandlers(Dialog.java:251) > at org.gnu.gtk.MessageDialog.<init>(MessageDialog.java:53) > at > com.tildemh.debbuggtk.ListingReport.showError(ListingReport.java:277) > at > com.tildemh.debbuggtk.ListingConstructor$1.run(ListingConstructor.java:126) > at com.tildemh.debbuggtk.Utils$1.fire(Utils.java:28) > at org.gnu.gtk.Gtk.gtk_main(Native Method) > at org.gnu.gtk.Gtk.main(Gtk.java:54) > at com.tildemh.debbuggtk.BugWatcher.main(BugWatcher.java:246) -- Tom Ball <Tom...@Su...> |
From: Mark H. <mh...@ti...> - 2003-03-24 19:36:59
|
On Mon, 2003-03-24 at 19:22, Tom Ball wrote: > The org.gnu.gnome.UIInfo class won't compile on my system because some > pixmap buffers were converted to strings, causing multiple overloaded > methods with the same signatures. sorry. my mistake. I've reverted the file back to the original form. I guess I shouldn't have been messing with what I didn't really understand. I'll leave the gnome classes alone. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Tom B. <Tom...@Su...> - 2003-03-24 19:22:43
|
The org.gnu.gnome.UIInfo class won't compile on my system because some pixmap buffers were converted to strings, causing multiple overloaded methods with the same signatures. Besides the file not compiling, a more basic issue is that the pixmap arrays are now accessed (and possibly modified) as UTF char sequences, which they aren't. There needs to be two native setPixmapInfo methods, one for pixmaps defined by names (strings), and one defined by pixmap info structures. In general, we need to be alert that only those native API that reference gchars are converted to Java chars and Strings. Tom |
From: Jeffrey M. <Jef...@Br...> - 2003-03-24 10:51:58
|
I am looking into this now. I hope to have a fix checked in very soon. -Jeff -----Original Message----- From: Mark Howard [mailto:mh...@ti...] Sent: Monday, March 24, 2003 2:20 AM To: jav...@li... Subject: [java-gnome-hackers] glib.value problems Jeff- Since you made some changes to the glib.Value class, I keep getting exceptions raised every time the native method is entered. In the g_value_init method, you're removed the line GType *type_g = (GType *)type; And modified g_value_init (value_g, type_g); to g_value_init (value_g, &type); (diff: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-gnome/java-gnome/src/jni /org_gnu_glib_Value.c.diff?r1=1.12&r2=1.13) Do you not get exceptions raised? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ java-gnome-hackers mailing list jav...@li... https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers |
From: Mark H. <mh...@ti...> - 2003-03-24 07:20:49
|
Jeff- Since you made some changes to the glib.Value class, I keep getting exceptions raised every time the native method is entered. In the g_value_init method, you're removed the line GType *type_g = (GType *)type; And modified g_value_init (value_g, type_g); to g_value_init (value_g, &type); (diff: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-gnome/java-gnome/src/jni/org_gnu_glib_Value.c.diff?r1=1.12&r2=1.13) Do you not get exceptions raised? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |