Gtk-2.10.0 Glib-2.12.0 Cairo-1.2.0 - removed -

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Gtk-2.10.0 Glib-2.12.0 Cairo-1.2.0 - removed -

#1 Post by MU »

*********************************************************
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.pup (2.3 MB)
http://dotpups.de/dotpups/Libraries/Gtk ... -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 :!:

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, 11:48, edited 7 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

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 :roll:

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

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

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

deadeye
Posts: 49
Joined: Tue 14 Mar 2006, 03:18
Location: Iserlohn, Germany

#4 Post by deadeye »

Hi,
MU wrote:if I recompile geany, it will no longer crash, but has the same icon-error in the filedialog as gnumeric :x
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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

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 :shock:
http://dotpups.de/dotpups/Text_Editors/Geany-SVN.pup

Concerning graveman:
I get:
...
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, 23:04, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

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

deadeye
Posts: 49
Joined: Tue 14 Mar 2006, 03:18
Location: Iserlohn, Germany

#9 Post by deadeye »

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 :shock:
Just luck ;-).
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.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

how do I create a backtrace?

deadeye
Posts: 49
Joined: Tue 14 Mar 2006, 03:18
Location: Iserlohn, Germany

#11 Post by deadeye »

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

Code: Select all

gdb geany
Then you get a prompt and there you type:

Code: Select all

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: Select all

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 ;-).

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post by MU »

ok danke, here it is:

Code: Select all

** 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

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#13 Post by Nathan F »

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 ...

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

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 :)

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

deadeye
Posts: 49
Joined: Tue 14 Mar 2006, 03:18
Location: Iserlohn, Germany

#15 Post by deadeye »

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 ;-))

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post by MU »

yes, as I said, the version I compiled myself works fine.
But we will have to test several more programs to find out, if the advantage of some new programs is worth the effort to recompile some older apps.

Thanks for the info, especially the debugging will be quite helpfull 8)
Mark

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#17 Post by BarryK »

Mark,
Yes, it would probably good to go for a gtk upgrade for v2.03.
but, I'm very impressed with T2. It is a superb tool for compiling everything from source. However there are some issues with using it. The current setup of CPP build environment seems to have something wrong (which is probably why we are getting that configure bug) which causes one of the T2 steps to fail.
A powerful machine is needed, probably at least 512M RAM, otherwise it is too slow.

I put T2 on the shelf for awhile as I'm working on Puppy 2.02beta, but will get back onto it. I was thinking of using Vector as the host build environment.
I'm not so sure about going up to gtk 2.10 just yet though, the last stable 2.8.x may be more prudent.
The source repository for T2 v2.2.0 uses glibc/gcc4 and gtk2.10, whereas the v2.1.1 repository uses the same series glibc/gcc as we currently have in Puppy (I think it has glibc 2.3.5 whereas we currently have 2.3.4) -- I contacted Rene Rebe, the T2 lead developer and he says we can use the older glibc/gcc with T2 v2.2.0. -- I mention that as there are many issues with the new glibc/gcc4 and some apps may no longer compile.

If you want to experiment with t2, feel free. I joined the T2 mail list and my email and Rene's response can be found online in the maillist archive, via
www.t2-project.org.

One very good thing about the T2 project is they have worked out all the patches and stuff to get it working properly.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

yes, 2.8.x certainly would be a good choice, too.
Debian stable uses it, and grafpup. So you have a huge binary repository.
What I did tonight: compiled thunar.
Nice tool, easier to navigate than Rox, though I still prefer XFE.
It crashes, when I use the treeview. The thumbnailing does not work.
Tried a selfcompiled binary (svn) and the one from Zenwalk-Linux(beta, some days old), in both cases same result.

This encourages me to compile Gnome, as Thunar can use Gnome-stuff (though it would be better to solve the bugs without gnome).

I could compile the base-libraries, and nautilus, but did not install the latter yet. Will backup the libs first for a dotpup.

I certainly will not compile the whole gnome from scratch, who needs it, should try garnome or grab the files from the Zenwalk-server. It uses slackware-packages, that can be easily installed in Puppy.

The errors I mentioned indicate, that Gtk 2.8 might be the better choice, IF they were caused by 2.10.
But maybe I just use wrong settings on my system, or miss some configuration-stuff.

---------------------
T2 sounds interesting, I might try that after finishing my experiments in some days.
Mark

deadeye
Posts: 49
Joined: Tue 14 Mar 2006, 03:18
Location: Iserlohn, Germany

#19 Post by deadeye »

MU wrote:yes, 2.8.x certainly would be a good choice, too.
Debian stable uses it
Not really, Debian Stable(Sarge) uses GTK 2.6.4.
The next Stable(Etch) uses 2.8 at the moment, but I assume(read hope) that they will switch to 2.10 as soon as the next Gnome release is available. AFAIK the Gnome release is the only reason why GTK 2.10 is not yet in Debian Unstable.
MU wrote:It crashes, when I use the treeview. The thumbnailing does not work.
Tried a selfcompiled binary (svn) and the one from Zenwalk-Linux(beta, some days old), in both cases same result.
Did you looked at http://bugs.xfce.org for open bug reports? If there are none, you should open one. So, Benny(the developer) can fix them.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#20 Post by MU »

I submitted it to the thunar-mailinglist.

---------------
Uff, after 3 days finally compiled in Puppy:

Image

Only gnome-panel, nautilus, gconf-editor
Using Icewm as Windowmanager.
The XDG-menu shows not all entries, the Icewm-menu is better.

Impressions:
This is quite fast, a real big difference to Gnome 2.6.
However, without localization over 60 MB.

I think Icewm + Thunar would be the better choice.
Maybe I can offer a dotpup tomorrow.

Then I will try to build it again using Gtk 2.8.
Mark

Post Reply