Author Topic: "latest" Zgcc By Meanie Incompatible With Beta3?  (Read 6823 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« on: July 04, 2007, 06:18:05 am »
Hi huys, esp. Meanie,

some day ago, I downloaded the "latest" zgcc image by Meanie and compiled GTK apps for beta3.
However, these apps crashed often when calling gnome_vfs_shutdown() or various GTK dialog functions.

Recompiling with an older zgcc by Meanie created intact binaries.

Any ideas why that is?
Can't I use newer zgcc images anymore for beta3?

Thanks
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #1 on: July 05, 2007, 03:28:16 am »
Quote
Hi huys, esp. Meanie,

some day ago, I downloaded the "latest" zgcc image by Meanie and compiled GTK apps for beta3.
However, these apps crashed often when calling gnome_vfs_shutdown() or various GTK dialog functions.

Recompiling with an older zgcc by Meanie created intact binaries.

Any ideas why that is?
Can't I use newer zgcc images anymore for beta3?

Thanks
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164281\"][{POST_SNAPBACK}][/a][/div]

I played with gtkwidget.h and forgot to take out those debugging changes which also broke my pidgin build. anyway, will be fixed when I next upload the zggc image...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #2 on: July 05, 2007, 05:06:04 am »
Hi Meanie,

please let us know when you upload the new one.
But what about that gnome_vfs_shutdown() problem?
Is is also related to gtk_widget.h?

When the applicatin called that function, it crashed.
When compiling with the older zgcc it don't.

Thanks!
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #3 on: July 06, 2007, 10:21:25 am »
Quote
Hi Meanie,

please let us know when you upload the new one.
But what about that gnome_vfs_shutdown() problem?
Is is also related to gtk_widget.h?

When the applicatin called that function, it crashed.
When compiling with the older zgcc it don't.

Thanks!
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164351\"][{POST_SNAPBACK}][/a][/div]

latest zgcc has been uploaded. let me know if you have any problems with this build. the gnome headers have not changed in any zgcc build, the only hacking was done in the gtk/gdk stuff so hopefully this should fix it.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #4 on: July 06, 2007, 11:35:30 am »
Quote
latest zgcc has been uploaded. let me know if you have any problems with this build. the gnome headers have not changed in any zgcc build, the only hacking was done in the gtk/gdk stuff so hopefully this should fix it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164447\"][{POST_SNAPBACK}][/a][/div]


Hi Meanie - what's the url for downloading zgcc?
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #5 on: July 06, 2007, 05:28:28 pm »
Quote
Quote
latest zgcc has been uploaded. let me know if you have any problems with this build. the gnome headers have not changed in any zgcc build, the only hacking was done in the gtk/gdk stuff so hopefully this should fix it.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


Hi Meanie - what's the url for downloading zgcc?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164453\"][{POST_SNAPBACK}][/a][/div]

It's under [a href=\"http://www.tyrannozaurus.com/feed/pdaXii13/build/zgcc-3.4.6.squashfs]http://www.tyrannozaurus.com/feed/pdaXii13...-3.4.6.squashfs[/url].

Meanie, this image indeed fixes the GTK problems, but the gnome_vfs_shutdown problem is still there.

If I compile notecase with your older zgcc image, it works nicely.
If I compile it with the latest one downloded just an hour ago, notecase crashes at the end when quitting. Using some debug printfs in the sources shows that it is indeed the call of function gnome_vfs_shutdown at the end of main.cpp which causes the crash (segmentation fault).
Could you please have a look at it and - if possible - fix the problem?
I guess you will be able to reproduce it.
Notecase latest sources are available under http://notecase.sourceforge.net/temp

The crash is not directly visible (no output on console), but via the function "signal_handler" in main.cpp on segfault a crashlog file is created in /home/root/.notecase and any debug printf after gnome_vfs_shutdown isn't executed anymore.

Thanks so much!

Why is the latest ygcc image so much larger than the previous ones (over 40MB vs. 28 MB)?

daniel
« Last Edit: July 06, 2007, 05:31:42 pm by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #6 on: July 09, 2007, 01:10:42 pm »
Okay, I tracked down the problem.
It is not due to zgcc, but due to kkazakov's glib2 package.

If I replace the beta3 original glib2 package with kkazakov's glib2 package, I start to get these crashes on gnome_vfs_shutdown.
Probably I'll have to replace some more libs, but replacing gnome-vfs resulted in an even greater mess.

kkazakov, do you know an easy solution to that problem?

I'm now trying to compile glib 2.12.10 myself. Maybe this will help. We'll see when the compilation is finished (next week? ;-) )

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #7 on: July 09, 2007, 02:27:56 pm »
That's weird ... i use the custom compiled glib2 all the time without single program to complain. Maybe some other dependencies ? No idea ... anyway - i'm trying to stay as much as possible on the edge ... everything newer that do compiles, i use it.


P.P. Are you sure you used http://z.drun.net/packages/glib2-devel_2.12.4_armv5tel.ipk in order to compile ? or used the old header files ?
« Last Edit: July 09, 2007, 02:29:06 pm by kkazakov13 »
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #8 on: July 10, 2007, 06:51:58 am »
Quote
That's weird ... i use the custom compiled glib2 all the time without single program to complain. Maybe some other dependencies ? No idea ... anyway - i'm trying to stay as much as possible on the edge ... everything newer that do compiles, i use it.


P.P. Are you sure you used http://z.drun.net/packages/glib2-devel_2.12.4_armv5tel.ipk in order to compile ? or used the old header files ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164597\"][{POST_SNAPBACK}][/a][/div]

hi kkazakov,

I compiled my own glib2 package (2.12.9) yesterday, but still the same problems.
Maybe really some other core package. But glib2 was the only one I have updated from beta3 so far. Maybe that's the problem. maybe I have to update more packages.

Re. the header files... well, Meanie's zgcc image contains glib header files (probably the old ones) and I installed your devel package, too.
So how can I make sure that the correct ones are used?

Thanks

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #9 on: July 10, 2007, 11:58:36 am »
Be sure that my include path /usr/include is before Meanie's /opt/native/... whatever is. This maybe is somewhere in the startup script, i'm not sure. Here I have it setup perfectly since some time and not touching it right now
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #10 on: July 11, 2007, 01:42:57 pm »
Good idea, kkazakov... but I have not found a way to set the include paths yet. Have never fiddled around with them, so I have no idea where to search for them.

In /etc/profile there is nothing about it.
Also, in the Makefile of Notecase there is no include path to set...

Can anyone give a hint please?

Thank you!
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #11 on: July 11, 2007, 03:04:26 pm »
Well, I just compiled notecase 1.5.8 with my compilation env. No problems, no crashes, no segfaults, nothing (tried in console) - it just works™.

Turns out that my gilb-devel is simply installed in /usr/include/ and nothing more ... well, i have almost all of my -devel packages installed.

Also, if you want, I can archive my setup and you can extract it somewhere and symlink to /opt/cross ... and then try to use it. I've compiled great number of apps with it
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #12 on: July 12, 2007, 06:46:24 am »
Hi kkazakov,

that would be great, if you could package it up.

Re. notecase:
the crash is not obious.
It is just when quitting notecase (where the gnome_vfs_shutdown() function is called), and not visible on the console.
The only sign of it is that notecase generates a crash log file in ~/.notecase

Another sign is that "echo $?" directly after notecase execution returns 1, not 0.

Please recheck that on your setup, so we can be sure that you really have no crash.

Thank you!
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #13 on: July 12, 2007, 06:57:19 am »
Just checked, there is no log in the ~/.notecase/ , only some .ini file. Also, echo returns 0

I think there's no crash

Anyway, i'm about packing it and will post a link for DL, and my /etc/profile changes, what i added for the dev. env.
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"latest" Zgcc By Meanie Incompatible With Beta3?
« Reply #14 on: July 12, 2007, 08:08:49 am »
Quote
Just checked, there is no log in the ~/.notecase/ , only some .ini file. Also, echo returns 0

I think there's no crash

Anyway, i'm about packing it and will post a link for DL, and my /etc/profile changes, what i added for the dev. env.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164769\"][{POST_SNAPBACK}][/a][/div]

This is funny.
Using your notecase 1.5.8 package you just announced on the announcement
thread, I again get the crash.

Probably, if I give you my self-compiled notecase which causes the crash here, you won't get the crash either.

The funny thing is:
The only relevant part which I have changed from a system which did not produce that crash to the current state is that I installed your glib2 and glib2-devel package.


What does that tell us?

Do you have a clue how I can debug this problem?

Thanks!
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0