Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Jul 2014, 18:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Gtk-2.10.0 Glib-2.12.0 Cairo-1.2.0 - removed -
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [30 Posts]   Goto page: 1, 2 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 02:00    Post subject:  Gtk-2.10.0 Glib-2.12.0 Cairo-1.2.0 - removed -  

*********************************************************
I removed everything because it was unstable


There is a stable version available now:
http://www.murga.org/~puppy/viewtopic.php?t=9599


*********************************************************

http://dotpups.de/dotpups/Libraries/Gtk-2.10.0/Gtk-2.10.0.pup (2.3 MB)
http://dotpups.de/dotpups/Libraries/Gtk-2.10.0/devel/Gtk-2.10.0-devel.pup (590 kb)

Compiled in Puppy 2.01 with bash 3.1
I applied this patch:
http://bugzilla.gnome.org/show_bug.cgi?id=345666

-- W A R N I N G --

These Dotpups overwrite important system libraries, so test them carefully in RAM, not on a productive system!

SOME APPLICATIONS MUST BE RECOMPILED, like graveman or geany Exclamation

With these libs, you can compile some newer Gtk-based applications.
I just did it with the filebrowser called "gbrowser", but it does not display icons, and easily crashes.
Then I tried Thunar, but it requires several libs from Xfce, so I'll stop that for today.

Note if you can use http://grafpup.com as alternative.
Grafpup uses Gtk 2.8.x by default.

Mark

Last edited by MU on Sat 12 Aug 2006, 07:48; edited 7 times in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 02:40    Post subject:  

no.. graveman crashes, geany crashes.
Leafpad is ok, and mozilla displays icons in file-open correct. But mozilla is not typical for Gtk, they use many tweaks.

Some more testing will be required Rolling Eyes

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 02:55    Post subject:  

if I recompile geany, it will no longer crash, but has the same icon-error in the filedialog as gnumeric Mad

I'd like to have a current Gtk.
I had compiled old Gnome 2.6.2 tonight, because newer versions do not work with Puppys Gtk2.
Apart from some bugs, it is really slow on my Pentium III 700 with 1 GB Ram. KDE is much faster, and I know from Ubuntu, that newer versions are significantly faster.

Not that I need or like Gnome, but there are more and more programs around depending on Gnome-libraries.

Mark
Back to top
View user's profile Send private message Visit poster's website 
deadeye

Joined: 13 Mar 2006
Posts: 49
Location: Iserlohn, Germany

PostPosted: Fri 21 Jul 2006, 04:48    Post subject:  

Hi,
MU wrote:
if I recompile geany, it will no longer crash, but has the same icon-error in the filedialog as gnumeric Mad

If you use GTK 2.10.x you have to recompile everything which is linked against GTK. The reason is that GTK 2.10 is not ABI compatible with the previous versions. If you ahve a program that runs with GTK 2.10 without recompilation, it is just luck and you should not consider it as stable.

Just for your interest.

By the way: what about the icon-error? Is this something GTK related or a bug in Geany?

regards,
Enrico
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 11:15    Post subject:  

Enrico, the bug is Gtk-related.
If you use the file-open dialog, everything is displayed with a "file"-icon, also folders or devices.
Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 13:14    Post subject:  

I updated the dotpups, the icon-bug in the filechooser is solved after applying a patch (see first message).

Now I will recompile and upload geany.
I need Puppys Graveman-sources to be able to recompile it, too.
Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 13:57    Post subject:  

Ha, that is strange.
Only the Geany binary from Barry, that comes with Puppy2, did crash with the new Gtk.
The one I compiled myself in Puppy 1.08 (Gtk 2.6) does not crash Shocked
http://dotpups.de/dotpups/Text_Editors/Geany-SVN.pup

Concerning graveman:
I get:

Quote:

...
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
==================/usr/bin/cdrecord -prcap dev=/dev/hdc
==================/usr/bin/cdrecord -prcap dev=0,0,0
*** glibc detected *** free(): invalid pointer: 0x08074ba0 ***
Aborted
sh-3.1#


When I encounter such an error in my own programs, then I called free() too often on chars where it is not allowed to do.
Maybe the new glib is stricter with errors here.
Mark

Last edited by MU on Fri 21 Jul 2006, 19:04; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 18:41    Post subject:  

I compiled the Goffice-files + dependencies required for Gnumeric 1.6.3.

Headers/static libs are seperate dotpups, also the locale files:
http://dotpups.de/dotpups/Libraries/Gtk-2.10.0/

I also added the Gnome-icontheme, but it is huge (12 MB extracted).
Currently, only the Print-dialog uses 2 of these icons, so there is not really a need to install this huge pack.
I'll try to isolate them for a small dotpup later.

More about Gnumeric:
http://www.murga.org/~puppy/viewtopic.php?t=9533

Mark
Back to top
View user's profile Send private message Visit poster's website 
deadeye

Joined: 13 Mar 2006
Posts: 49
Location: Iserlohn, Germany

PostPosted: Fri 21 Jul 2006, 21:47    Post subject:  

MU wrote:
Ha, that is strange.
Only the Geany binary from Barry, that comes with Puppy2, did crash with the new Gtk.
The one I compiled myself in Puppy 1.08 (Gtk 2.6) does not crash Shocked

Just luck Wink.
No, I don't have an idea what's going on. But I can imagine that it is indeed some sort of luck that the other applications have not (yet) crash.

Can you send me a backtrace? But I assume that it will end deep inside GTK libs.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 21:49    Post subject:  

how do I create a backtrace?
Back to top
View user's profile Send private message Visit poster's website 
deadeye

Joined: 13 Mar 2006
Posts: 49
Location: Iserlohn, Germany

PostPosted: Fri 21 Jul 2006, 22:02    Post subject:  

You need a debugger, let's say gdb.
Start it with:
Code:
gdb geany

Then you get a prompt and there you type:
Code:
run

After run you can specify some command line options for Geany if you like to.
And as soon as it crashes, you get back to the prompt and can examine the program. Just type
Code:
backtrace
and paste the result.

But as I mentioned before, I assume that it won't be very helpful.
So, if you are less on time, let it be Wink.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 21 Jul 2006, 22:26    Post subject:  

ok danke, here it is:
Code:
** INFO: (null) : None (UTF-8)
*** glibc detected *** double free or corruption (out): 0x08311f00 ***
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGABRT, Aborted.
0x40608ef1 in kill () from /lib/libc.so.6
(gdb) backtrace
#0  0x40608ef1 in kill () from /lib/libc.so.6
#1  0x40608b15 in raise () from /lib/libc.so.6
#2  0x4060a3fd in abort () from /lib/libc.so.6
#3  0x4063b76c in __libc_message () from /lib/libc.so.6
#4  0x40644066 in malloc_printerr () from /lib/libc.so.6
#5  0x40642d2f in _int_free () from /lib/libc.so.6
#6  0x4064194f in free () from /lib/libc.so.6
#7  0x404c21ec in g_free () from /usr/lib/libglib-2.0.so.0
#8  0x080a8079 in ScintillaGTK::ExposeTextThis(_GtkWidget*, _GdkEventExpose*)
    ()
#9  0x401366fc in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x4045e50f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x404700f2 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#12 0x4046efc6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x4046f45b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0x4024195b in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x401341a7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x40367d88 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#17 0x40367ef9 in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#18 0x400af1bc in gtk_container_set_reallocate_redraws ()
   from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#19 0x404bea21 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#20 0x404bb953 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#21 0x404bca59 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x404bcdb6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x404bd320 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x40133a7b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x0806dacb in main ()
#26 0x405f5469 in __libc_start_main () from /lib/libc.so.6
(gdb)


The geany-window just pops up very short (without the debugger), and then immedeatly crashes.
With debugger, it shows a freezed geany-window with a "untitled"-tab, displaying the licensetext.
The window looks ok so far, all buttons visible.

Mark
Back to top
View user's profile Send private message Visit poster's website 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Sat 22 Jul 2006, 00:11    Post subject:  

I'm glad you are on the case Mark, I gave up on this version of GTK a couple weeks ago, after much of the same experiences as you had. I was just too bogged down with trying to get a new kernel running properly to want to mess with it.

In the end GTK reverted back to the latest in the 2.8 series, and the kernel reverted back to the same 2.6.16.7 as Puppy uses, but with a different config. And now I have no problems with either. But maybe I'll give the patch you mentioned a try, because I imagine that Gimp will need this newer series pretty soon in cvs. They have bumped up the required version twice in the last three months.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 22 Jul 2006, 00:57    Post subject:  

yes, I first thought it might be best to use your compilation instead.
But as Gnome 2.16 beta (2.15.90) will be released in 5 days, I thought it makes sense to try to get the newest things working, that might give us a pause for some months then.

In case my experiments might go into main Puppy, then it would be good to have a current state.
Barry talked about keeping Puppy up to date with Slakware 11, but now that he is replacing the Kernel too, it might be a good time to do the other "breaking thing" (Glib) too at the same time.
He plans to use Kernel 2.16.8 in Puppy 2.03, so maybe we should use 2.03 as a "new technology" - Puppy, that could give us a solid base for the next year.

Just some thoughts, I don't know how concrete Barry plans a major library-update at moment.
At least my experiments might help him to decide pro or con Smile

Here are the sites I get the sources from:
http://ftp.gnome.org/pub/GNOME/sources/
http://ftp.acc.umu.se/pub/gnome/sources/

Mark
Back to top
View user's profile Send private message Visit poster's website 
deadeye

Joined: 13 Mar 2006
Posts: 49
Location: Iserlohn, Germany

PostPosted: Sat 22 Jul 2006, 05:27    Post subject:  

Mark, the backtrace shows this what I assumed.
Ok, it crashed not so deep in GTK, but the last call from Geany was in the second line, #25(read from bottom to up).

The real error is in line #8 in the Scintilla call. But there is no problem, so I really think this is only a ABI compatibility problem.
(but don't hit me if I'm wrong Wink)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [30 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0860s ][ Queries: 11 (0.0030s) ][ GZIP on ]