Ticket #87 (closed Defect: fixed)

Opened 4 months ago

Last modified 3 weeks ago

autopackage-frontend-gtk crashes on FC3

Reported by: UnFleshed One Assigned to: Jan-Nik
Priority: High Milestone: 1.3
Component: frontend Version: 1.2.5
Severity: Major Keywords: autopackage-frontend-gtk; FC3; apbuild
Cc:

Description

Tried installing 1.2.5 package on FC3. Frontend crashes with floating point exception, which looks like it is too new for FC3.

/usr/share/autopackage/apkg-io: line 309: 24141 Floating point exceptionautopackage-frontend-gtk "$@"

Can't even run ldd on it, elf format is newer. I vaguely remember something about gcc renaming HASH section to GNU_HASH, and that's exactly what is missing in autopackage-frontend-gtk binary. There is a flag passed to gcc to create both HASH and GNU_HASH, and apbuild does that I think.

Maybe it wasn't built with apbuild?

Attachments

autopackage-gtk-1.2.5.package (233.6 kB) - added by UnFleshed One on 06/04/08 12:09:39.

Change History

05/28/08 16:52:05 changed by UnFleshed One

PS To see those sections (?) run

readelf -d <binary>

05/29/08 01:53:48 changed by isak

  • keywords changed from autopackage-frontend-gtk; FC3 to autopackage-frontend-gtk; FC3; apbuild.
  • version changed from 1.2.4 to 1.2.5.
  • severity changed from Critical to Major.
  • summary changed from (1.2.5) autopackage-frontend-gtk crashes on FC3 to autopackage-frontend-gtk crashes on FC3.

It was built with apbuild, on a FC6 system. (I'm gonna double check later when I get home)

We tested this on FC4 during the RC phase, and that worked fine.. :-/

I'm lowering the severity a bit since this seems to only affect one distribution, which is very old. If more distros are hit by this, we can up it again...

by the way, are other autopackage binaries hit by this? Check if autopackage-manager-gtk has the same issues.

05/29/08 11:37:13 changed by UnFleshed One

Yeah, sorry I didn't run it on FC3 earlier :/ (forgot I even had this VM).

Yes, same thing with autopackage-manager-gtk, and all other autopackage-* binaries.

This will also fail on RHEL4 (didn't test it, but it uses same toolchain), and other old distros.

I'm not sure how critical this is. Who would run distros this old anyway?

06/03/08 16:29:21 changed by UnFleshed One

Sma ething happens on Ubuntu 6.06 LTS.

06/03/08 16:39:14 changed by UnFleshed One

Is it possible to rebuild 1.2.5 and rerelease it without incrementing version, with only difference being that binary compatibility issue?

Those who already installed 1.2.5 don't need update, and those on older systems wouldn't have it installed yet, so they'll get fixed version. Functionaly two releases will be exactly the same, so there won't be two different releases with same version number.

06/03/08 17:11:08 changed by isak

  • status changed from new to assigned.

Yes, it's possible to just rebuild the package and upload it. That's what the PackageVersion? apspec key is for.

I did compile it with apbuild, but I built everything on FC6 which maybe didn't have support for --hash-style=both (which is the trick you mentioned)

I can't build the frontend package right now on my ubuntu system, could you try building one on a newer distro and try it on 6.06 and FC3 and post the results here? I will fix my build setup too, but it may take a few days before I get some time to do it...

(follow-up: ↓ 8 ) 06/03/08 19:10:18 changed by UnFleshed One

I built autopackage-frontend-gtk and autopackage-manager-gtk on FC6 with apbuild and gcc 4.1.2.

It seems to run fine on FC3 and Ubuntu 6.06. HASH value is there, and it tells me it should be used from autopackage-manager, so obviously it doesn't have linking problems. And autopackage-manager-gtk runs fine and finds installed packages (aside from few GTK warnings, but that maybe because I didn't copy something over).

This was built on same machine I'm building everything, and I don't remember if I had to do anything special for --hash-style, since that would have been long ago.

I can't figure out how to make proper package out of it (when I go into ./frontend/autopackage and run make it tells me there is nothing to do for all, but there is no package in sight), so I didn't test it fully.

(in reply to: ↑ 7 ) 06/04/08 04:24:58 changed by isak

Replying to UnFleshed One:

I built autopackage-frontend-gtk and autopackage-manager-gtk on FC6 with apbuild and gcc 4.1.2.

That's weird. I built on FC6 too (with default compiler, whatever that is)

This was built on same machine I'm building everything, and I don't remember if I had to do anything special for --hash-style, since that would have been long ago.

Apbuild will use the double hash trick whenever ld supports it. Maybe the ld I used on FC6 didn't support it or something

I can't figure out how to make proper package out of it (when I go into ./frontend/autopackage and run make it tells me there is nothing to do for all, but there is no package in sight), so I didn't test it fully.

You should type makepackage in the ./frontend directory. We also have scripts in ./main/release/autopackage-build that can do pretty much everything that has to do with release building.

06/04/08 12:09:39 changed by UnFleshed One

  • attachment autopackage-gtk-1.2.5.package added.

06/04/08 12:22:26 changed by UnFleshed One

Ok, attached gtk frontend package that works on FC3 and Ubuntu 6.06.

Somehow I couldn't make autosu accept sudo password on ubuntu, was it ever working? (ended up creating root password, what's the deal with that sudo noncense on Ubuntu anyway? O_o).

06/04/08 16:03:54 changed by ats

I experience the same problem trying my installer on X-Ubuntu 6.06.

Trying now to update gtk front-end with patched package. But... since the package needs Autopackage to install, it breaks because it doesn't have new front-end (that we're just about to install).

I can't find any way of forcing the command line interface (which would be very useful). Trying to execute the package directly gives me:

FAIL: Install the package with command 'package install...' instead

Catch 22.

Regards // ATS.

06/04/08 16:05:57 changed by UnFleshed One

You'll need to remove already installed frontend first:

# package remove autopackage-gtk
$ package install autopackage-gtk-1.2.5.package

(follow-up: ↓ 14 ) 06/04/08 16:20:34 changed by UnFleshed One

BTW, to force CLI run

package install --ttyfe <package>

06/05/08 19:18:41 changed by UnFleshed One

Happens on Debian 4 as well. (yeah, debian systems are notoriously old :\)

(in reply to: ↑ 12 ) 06/08/08 02:14:12 changed by ats

Replying to UnFleshed One:

Thanks, removing and reinstalling package worked fine.

BTW, to force CLI run {{{ package install --ttyfe <package> }}}

08/01/08 20:02:18 changed by Jan-Nik

  • milestone changed from 1.2.6 to 1.3.

Milestone 1.2.6 deleted

09/12/08 12:03:00 changed by Jan-Nik

  • status changed from assigned to new.
  • owner changed from isak to Jan-Nik.

I recompiled autopackage-gtk-1.2.5.package on Ubuntu 8.04.1 and uploaded it. I already tested in Ubuntu 6.10 and it works fine. Can someone else confirm that my new package works. (Don't know how/when the mirrors get it though)

Is any other package affected?

09/16/08 14:15:44 changed by UnFleshed One

Yep, works on FC3 for me.

09/16/08 15:04:48 changed by Jan-Nik

  • status changed from new to closed.
  • resolution set to fixed.

Okay, I'll close this as fixed now.

Feel free to reopen, if there's something wrong left.