[INSERT] kills Seamonkey when posting to forum <KLUDGED>
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Cool. Turns out I only had to recompile gtk with the --enable-debug option. Works fine without touching glib.
I also compiled it with --enable-xinput=yes, because otherwise people with drawing tablets can't use pressure sensitivity, and I'm sure there are other peripherals that use xinput.
Just install this over your existing gtk. Note: you probably can't use this as a standalone gtk package in Unleashed. Most likely you need to copy this into the current package, overwriting the files, because I believe the original package has some other configuration files and such that aren't in this one.
gtk+-2.12.1-xinput-debug.pet
EDIT: file removed - it's slightly broken - does not work with SCIM. See several posts down, I posted a corrected version.
Tested on 4.11 and 4.12 only.
You'll have to restart at least the browser before it will take effect.
I also compiled it with --enable-xinput=yes, because otherwise people with drawing tablets can't use pressure sensitivity, and I'm sure there are other peripherals that use xinput.
Just install this over your existing gtk. Note: you probably can't use this as a standalone gtk package in Unleashed. Most likely you need to copy this into the current package, overwriting the files, because I believe the original package has some other configuration files and such that aren't in this one.
gtk+-2.12.1-xinput-debug.pet
EDIT: file removed - it's slightly broken - does not work with SCIM. See several posts down, I posted a corrected version.
Tested on 4.11 and 4.12 only.
You'll have to restart at least the browser before it will take effect.
Last edited by Pizzasgood on Sat 25 Apr 2009, 19:29, edited 2 times in total.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Ooops, downloaded but didn't install yet. Oef.Pizzasgood wrote:Well, I though I had it working fine, but I think it broke Geany now, so I just took down my package before anybody borks themselves (hopefully they haven't already...).
I will test further.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Oh, that reminds me: the working one I posted above will also correct the broken one, in case anybody did install it. At least, it seems to have. Everything that was goofed up before (geany, gnumeric, abiword, firefox's icons) is working now.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
HOORAY!
Sorry I didn't test earlier PG, I didn't see it
Rather than installing it:
1. I took it apart, stripped the libs, and found they were still substantially bigger than the ones that came in Puppy, so I thought I'd try replacing files one by one.
2. I checked that INSERT still killed seamonkey.
3. I replaced libgtk-x11-2.0.so.0.1200.1 but INSERT still killed seamonkey
4. I replaced libgdk-x11-2.0.so.0.1200.1, and INSERT doesn't kill seamonkey anymore. HOORAY!!!! :):):):):):):)
So it is fixed by either:
1. just replacing libgdk, or
2. (less likely IMNSHO) replacing libgtk and libgdk
Now we need to:
1. compile the latest GTK to see if it has the same problem
2. if so, upgrade so we can solve the bug without bloat, and if not report it properly.
Now I see this in a terminal when I press INSERT in seamonkey:
Good night
Rather than installing it:
1. I took it apart, stripped the libs, and found they were still substantially bigger than the ones that came in Puppy, so I thought I'd try replacing files one by one.
2. I checked that INSERT still killed seamonkey.
3. I replaced libgtk-x11-2.0.so.0.1200.1 but INSERT still killed seamonkey
4. I replaced libgdk-x11-2.0.so.0.1200.1, and INSERT doesn't kill seamonkey anymore. HOORAY!!!! :):):):):):):)
So it is fixed by either:
1. just replacing libgdk, or
2. (less likely IMNSHO) replacing libgtk and libgdk
Now we need to:
1. compile the latest GTK to see if it has the same problem
2. if so, upgrade so we can solve the bug without bloat, and if not report it properly.
Now I see this in a terminal when I press INSERT in seamonkey:
Code: Select all
(seamonkey-bin:8528): Gtk-CRITICAL **: gtk_text_buffer_get_insert: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion `layout != NULL' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: gtk_text_layout_get_cursor_locations: assertion `layout != NULL' failed
(seamonkey-bin:8528): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
(seamonkey-bin:8528): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: gtk_text_buffer_get_insert: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: _gtk_text_layout_get_block_cursor: assertion `layout != NULL' failed
(seamonkey-bin:8528): Gtk-CRITICAL **: gtk_text_layout_get_cursor_locations: assertion `layout != NULL' failed
(seamonkey-bin:8528): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
(seamonkey-bin:8528): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window != NULL' failed
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Pizza, I didn't notice your .pet until this morning. I installed it immediately but haven't had time to restart (saving the session) and test it until now. While writing this I've hit the insert key several times without any effect at all. It looks like you not only found the cause of the problem but fixed it. Good job! You get two Attaboys.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
A: I didn't find this, thekevinday did. 13 posts above. I just put together a package.
B: It isn't really "fixed", just worked-around. What I did was enable debug-mode. But we shouldn't need to have that enabled.
B: It isn't really "fixed", just worked-around. What I did was enable debug-mode. But we shouldn't need to have that enabled.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
And C: it seems to be much bigger with debug enabled.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Part of that is that I also enabled xinput, so that people with tablets can take advantage of them without having to recompile GTK (it always used to be enabled in older versions of Puppy, pre 4.0). But I did test it without that first, so I know it's only the enable-debug option that was needed.
Though I don't think that makes a big size difference. I imagine the debug option makes up the bulk of that increase.
EDIT: Actually, by my measurements, xinput adds only about 8k, after stripping. Cool. I thought it would be a bit more than that. Well, that's how much it adds without debug. It probably adds more with debug, because then the debug info for xinput has to be included too. But I'm not about to recompile it again to compare that too. Takes too long. Would rather see if I can find those ZZZzzzzzs I misplaced.
EDIT 2: Something seemed off. You said a substantial size increase, but I'm only seeing a 50k difference between the debug and non-debug versions I compiled. So I dug up the original, and there's a much bigger difference - 120k. So there is something else different. Possibly that I didn't specify an architecture, or maybe he explicitly disabled something. But those ZZZzzzzzzs are getting lonely without me, so I'll work on it another day. (Not tomorrow - must study for exams).
Though I don't think that makes a big size difference. I imagine the debug option makes up the bulk of that increase.
EDIT: Actually, by my measurements, xinput adds only about 8k, after stripping. Cool. I thought it would be a bit more than that. Well, that's how much it adds without debug. It probably adds more with debug, because then the debug info for xinput has to be included too. But I'm not about to recompile it again to compare that too. Takes too long. Would rather see if I can find those ZZZzzzzzs I misplaced.
EDIT 2: Something seemed off. You said a substantial size increase, but I'm only seeing a 50k difference between the debug and non-debug versions I compiled. So I dug up the original, and there's a much bigger difference - 120k. So there is something else different. Possibly that I didn't specify an architecture, or maybe he explicitly disabled something. But those ZZZzzzzzzs are getting lonely without me, so I'll work on it another day. (Not tomorrow - must study for exams).
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
Oops, my mistake. Sorry, thekevinday. I should have read the whole thread more carefully before posting. You'll have to share Pizza's Attaboys.Pizzasgood wrote:A: I didn't find this, thekevinday did. 13 posts above. I just put together a package.
All I had to do was click a few times and the problem went away. That's a fix as far as I'm concerned.B: It isn't really "fixed", just worked-around. What I did was enable debug-mode. But we shouldn't need to have that enabled.
In 4.1.2, I'd used the fix pet (Pizzasgood's gtk+-2.12.1-xinput-debug.pet) but INSERT key still killed seamonkey when I'm posting in forum.Does 4.1.2 incorporate the fix Pizzasgood found for the bug where hitting the Insert key while composing a message in this forum causes Seamonkey to close?
Sorry! Sorry!
I'd made mistake: Isert key won't killed seamonkey after "restart x server"
TK
FWIW I can confirm it is only necessary to replace libgdk, not libgtk
Does anybody know if this fix is making it into 4.2?
Does anybody know if this fix is making it into 4.2?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Note that this problem also occurs with numlock off using the 0 key on the numbers pad. Must also be typing something in seamonkey such as filling in this form or profile form etc.
[color=orange]1. Dell Dimension E521, AMD Athln 64, 2 GHz 1.93GB ram,
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN [/color]
Puppy 533 on CD, accesses flash drive only,
FFox Nightly12.0
2. Compaq P3 733Hz 375RAM
Printer: Oki C3400 > LAN [/color]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
The package I posted above doesn't cooperate with SCIM for some reason. I actually encountered the problem months ago, but didn't realize that it was GTK causing the problem.
I'm not sure what is wrong with it to cause the problem. Everything else seems to work.
Anyway, I recompiled it, and it turns out the debug option isn't actually needed - simply recompiling it is enough to stop the insert error from killing things. And this time, it worked with SCIM. I still used the --with-xinput option to support pressure sensitivity on my Wacom tablet.
gtk+-2.12.1-xinput.pet
gtk+_DEV-2.12.1-xinput.pet
gtk+_DOC-2.12.1-xinput.pet
gtk+_NLS-2.12.1-xinput.pet
These have been tested in both 4.1.2 and 4.2.
I'm not sure what is wrong with it to cause the problem. Everything else seems to work.
Anyway, I recompiled it, and it turns out the debug option isn't actually needed - simply recompiling it is enough to stop the insert error from killing things. And this time, it worked with SCIM. I still used the --with-xinput option to support pressure sensitivity on my Wacom tablet.
gtk+-2.12.1-xinput.pet
gtk+_DEV-2.12.1-xinput.pet
gtk+_DOC-2.12.1-xinput.pet
gtk+_NLS-2.12.1-xinput.pet
These have been tested in both 4.1.2 and 4.2.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
yes excellent job, now if we just had a updated xorg pet then Firefox 3 series would run right on series4.0 and it would be worth keep 4 series around a bit longer.
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)