Ticket #1 (closed Defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Manage 3rd Party software fails on Debian 3.1 sarge

Reported by: UnFleshed One Assigned to: isak
Priority: Medium Milestone: 1.2.4
Component: frontend Version: 1.2.2
Severity: Major Keywords: autopackage-manager-gtk; GNOME; Debian; Sarge; binreloc; autosu; sudo
Cc:

Description (Last modified by curtis)

When launched as user either from menu or from terminal, it will pop up showing list of installed packages. When "Remove" clicked, it asks for root, then shows bouncing rectangle (searching for packages), then nothing -- window disappears.

When launched from root terminal it works as expected.

Note, the user doesn't have sudoers privileges (in case this is relevant).

Change History

03/23/07 16:50:29 changed by UnFleshed One

  • version changed from 1.2 to 1.0.

Sorry, the version is actually 1.0.10

03/23/07 17:22:01 changed by isak

Can you try to see if this is fixed in 1.2? I did a couple of fixes in the manager prior to the 1.2 release that were related to this.

If it's still there in 1.2, could you try to run it from a terminal and see if there's any output. And also, try running it as a user that is in the sudoers file, maybe it's a permission problem that the manager isn't reporting correctly.

03/26/07 15:40:17 changed by UnFleshed One

Ok, here is terminal output:

$ autopackage-manager-gtk

(autopackage-manager-gtk:10415): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'

** (autopackage-manager-gtk:10415): CRITICAL **: file main.c: line 121 (string_to_utf8): assertion `str' failed

** (autopackage-manager-gtk:10415): CRITICAL **: file main.c: line 121 (string_to_utf8): assertion `str' failed
$uname -a
Linux debianVM 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux

Gnome version is 2.8.3.

I'll add user to sudoers and try again.

03/26/07 15:40:30 changed by UnFleshed One

  • version changed from 1.0 to 1.2.2.

03/26/07 16:00:32 changed by UnFleshed One

Same thing happens with sudo working.

BTW, first line (libglade-WARNING) prints while it is searching for packages, second two -- when showing list (I have two packages installed). After click on "remove" it returns to terminal (and pops up password prompt).

03/27/07 22:14:20 changed by curtis

  • status changed from new to assigned.
  • owner changed from isak to curtis.
  • milestone changed from None to 1.2.3.

Moving to next available milestone and accepting ticket because of output attachment.

03/27/07 22:15:58 changed by curtis

  • status changed from assigned to new.
  • owner changed from curtis to isak.

I inadvertently grabbed this ticket for myself. Assign back to Isak.

03/28/07 15:48:32 changed by isak

  • status changed from new to assigned.

The glade warning is harmless. You have an older libglade version than the person who last saved the glade-file (me).

The other ones are interesting, since it looks like it gets garbage output when searching for packages.

Can you please try to run it with debugging. Run as a normal user: AUTOPACKAGE_MANAGER_GTK_DEBUG=1 autopackage-manager-gtk

Then paste the output here.

03/28/07 16:26:37 changed by UnFleshed One

I wonder about this (nil) application...

test1@debianVM:~$ AUTOPACKAGE_MANAGER_GTK_DEBUG=1 autopackage-manager-gtk

(autopackage-manager-gtk:23716): libglade-WARNING **: unknown property `urgency_ hint' for class `GtkWindow'
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-gtk: info=0x8174210
autopackage-manager-gtk: info=0x8174cc8
autopackage-manager-gtk: info=0x817ab18
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: 0x8174210
autopackage-manager-gtk: System application found: Autopackage Software Installe r (GTK+)
autopackage-manager-gtk: application_found: 0x8174cc8
autopackage-manager-gtk: Desktop application found: SMART Essentials For Educato rs
autopackage-manager-gtk: name is SMART_Essentials_For_Educators.png
autopackage-manager-gtk: looking up SMART_Essentials_For_Educators
autopackage-manager-gtk: Icon=SMART_Essentials_For_Educators (1)

** (autopackage-manager-gtk:23716): CRITICAL **: file main.c: line 121 (string_t o_utf8): assertion `str' failed
autopackage-manager-gtk: user selected SMART Essentials For Educators, root inst all
autopackage-manager-gtk: application_found: 0x817ab18
autopackage-manager-gtk: System application found: SMART Notebook Interactive Vi ewer
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: remove clicked for SMART Essentials For Educators
test1@debianVM:~$

03/29/07 14:48:52 changed by isak

That (nil) is OK. It just indicates that it's the end of the list of applications.

The error in string_to_utf8 is a bit troubling though. Seems like there's information missing for the package.

I've made some changes in svn that might give us more information. Could you update from svn and try again. And please also set the environment variable AUTOPACKAGE_MANAGER_BACKEND_DEBUG=1 before running it next time. (Also , set AUTOPACKAGE_MANAGER_GTK_DEBUG=1 like last time). This should give us additional debugging info.

Thanks for taking time to do this!

03/29/07 17:36:14 changed by UnFleshed One

Ok, here is the log. I didn't remove installed packages, just run "#package remove autopackage" and then #./setup from checkout source, so my packages were installed with 1.2.2.

test1@debianVM:~$ AUTOPACKAGE_MANAGER_BACKEND_DEBUG=1 AUTOPACKAGE_MANAGER_GTK_DEBUG=1 autopackage-manager-gtk

(autopackage-manager-gtk:29358): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for autopackage-gtk details
autopackage-manager-backend: Package environment file successfully parsed (name='Autopackage Software Installer (GTK+)', description='A graphical (GTK+) frontend for installing Autopackage packages.')
autopackage-manager-gtk: info=0x8052ee8
autopackage-manager-backend: parsing desktop file for SMARTEssentials details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Essentials For Educators', description='(null)')
autopackage-manager-gtk: info=0x80839c8
autopackage-manager-backend: Parsing package environment for NotebookInteractiveViewer details
autopackage-manager-backend: Package environment file successfully parsed (name='SMART Notebook Interactive Viewer', description='SMART Notebook Interactive Viewer')
autopackage-manager-gtk: info=0x8179bf8
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: 0x8052ee8
autopackage-manager-gtk: System application found: Autopackage Software Installer (GTK+)
autopackage-manager-gtk: application_found: 0x80839c8
autopackage-manager-gtk: Desktop application found: SMART Essentials For Educators
autopackage-manager-gtk: name is SMART_Essentials_For_Educators.png
autopackage-manager-gtk: looking up SMART_Essentials_For_Educators
autopackage-manager-gtk: Icon=SMART_Essentials_For_Educators (1)

** (autopackage-manager-gtk:29358): CRITICAL **: file main.c: line 121 (string_to_utf8): assertion `str' failed
autopackage-manager-gtk: user selected SMART Essentials For Educators, root install
autopackage-manager-gtk: application_found: 0x8179bf8
autopackage-manager-gtk: System application found: SMART Notebook Interactive Viewer
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: remove clicked for SMART Essentials For Educators

03/31/07 10:29:26 changed by isak

Oh, sorry. I wasn't clear enough. You need to run autopackage-manager-gtk from svn.

Checkout the frontend/trunk component, and then build the manager (in frontend/manager). You should get a binary called manager/frontend-gtk/autopackage-manager-gtk which you then copy to wherever location your original autopackage-manager-gtk binary was (~/.local/bin or /usr/bin/ most likely). (yes, overwrite the old one)

Then run it with full debugging like you did last time. Most notably, in the end when you click "Remove" for a root owned package (you can install foobar test package if you don't wanna uninstall a real package), you should see a similar to:

autopackage-manager-gtk: Need elevated privileges to remove selected package..
autopackage-manager-gtk: using autosu (/usr/libexec/autopackage/autosu-gtk)

if everything works or a GUI message box if stuff fails (which I assume it does).

04/04/07 17:36:07 changed by UnFleshed One

Ok, here is the output. No message box, just dies after entering the password. BTW, I built it on different platform and then copied over. (and only autopackage-manager-gtk itself)

test1@debianVM:~/Desktop$ AUTOPACKAGE_MANAGER_BACKEND_DEBUG=1 AUTOPACKAGE_MANAGER_GTK_DEBUG=1 autopackage-manager-gtk

(autopackage-manager-gtk:4558): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for autopackage-gtk details
autopackage-manager-backend: Package environment file successfully parsed (name='Autopackage Software Inst aller (GTK+)', description='A graphical (GTK+) frontend for installing Autopackage packages.')
autopackage-manager-gtk: info=0x8051ee8
autopackage-manager-backend: parsing desktop file for SMARTEssentials details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Essentials For Educators', desc ription='(null)')
autopackage-manager-gtk: info=0x81648a8
autopackage-manager-backend: Parsing package environment for NotebookInteractiveViewer details
autopackage-manager-backend: Package environment file successfully parsed (name='SMART Notebook Interactiv e Viewer', description='SMART Notebook Interactive Viewer')
autopackage-manager-gtk: info=0x8178df8
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: 0x8051ee8
autopackage-manager-gtk: System application found: Autopackage Software Installer (GTK+)
autopackage-manager-gtk: application_found: 0x81648a8
autopackage-manager-gtk: Desktop application found: SMART Essentials For Educators
autopackage-manager-gtk: name is SMART_Essentials_For_Educators.png
autopackage-manager-gtk: looking up SMART_Essentials_For_Educators
autopackage-manager-gtk: Icon=SMART_Essentials_For_Educators (1)

** (autopackage-manager-gtk:4558): CRITICAL **: file main.c: line 121 (string_to_utf8): assertion `str' failed
autopackage-manager-gtk: user selected SMART Essentials For Educators, root install
autopackage-manager-gtk: application_found: 0x8178df8
autopackage-manager-gtk: System application found: SMART Notebook Interactive Viewer
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: remove clicked for SMART Essentials For Educators
autopackage-manager-gtk: Need elevated privileges to remove selected package..autopackage-manager-gtk: using autosu (/usr/libexec/autopackage/autosu-gtk)

04/04/07 17:37:05 changed by UnFleshed One

Maybe the probem is in autosu?

04/05/07 10:00:19 changed by isak

  • keywords changed from autopackage-manager-gtk; GNOME; Debian; Sarge to autopackage-manager-gtk; GNOME; Debian; Sarge; binreloc.

Yeah, or maybe in the arguments being passed to autosu (like a NULL command).

This could be a binreloc issue, and I've upgraded the binreloc support in the manager in changeset:2311. Could you please update from svn and try it again? (With debugging of course)

(Seriously, this time we might have actually fixed it *keeping fingers crossed*)

04/05/07 11:39:35 changed by UnFleshed One

I think it is getting close :). Again, I built it on different platform and copied only autopackage-manager-gtk into /usr/bin/. (and the rest of autopackage is installed as root too)

Looks like it starts after autosu, but doesn't reach GUI part.

There is some problem with binreloc, but fallback seem to work fine, since everything installed in default location.

test1@debianVM:~$ AUTOPACKAGE_MANAGER_BACKEND_DEBUG=1 AUTOPACKAGE_MANAGER_GTK_DE BUG=1 autopackage-manager-gtk
autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary re location support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'

(autopackage-manager-gtk:5147): libglade-WARNING **: unknown property `urgency_h int' for class `GtkWindow'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/ma nager-gtk.glade...autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for autopackage-gtk det ails
autopackage-manager-backend: Package environment file successfully parsed (name= 'Autopackage Software Installer (GTK+)', description='A graphical (GTK+) fronten d for installing Autopackage packages.')
autopackage-manager-gtk: info=0x806f958
autopackage-manager-backend: parsing desktop file for SMARTEssentials details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Essen tials For Educators', description='(null)')
autopackage-manager-gtk: info=0x817b4c8
autopackage-manager-backend: Parsing package environment for NotebookInteractive Viewer details
autopackage-manager-backend: Package environment file successfully parsed (name= 'SMART Notebook Interactive Viewer', description='SMART Notebook Interactive Vie wer')
autopackage-manager-gtk: info=0x8180bf0
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: 0x806f958
autopackage-manager-gtk: System application found: Autopackage Software Installe r (GTK+)
autopackage-manager-gtk: application_found: 0x817b4c8
autopackage-manager-gtk: Desktop application found: SMART Essentials For Educato rs
autopackage-manager-gtk: name is SMART_Essentials_For_Educators.png
autopackage-manager-gtk: looking up SMART_Essentials_For_Educators
autopackage-manager-gtk: Icon=SMART_Essentials_For_Educators (1)
autopackage-manager-gtk: user selected SMART Essentials For Educators, root inst all
autopackage-manager-gtk: application_found: 0x8180bf0
autopackage-manager-gtk: System application found: SMART Notebook Interactive Vi ewer
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: remove clicked for SMART Essentials For Educators
autopackage-manager-gtk: Need elevated privileges to remove selected package!
autopackage-manager-gtk: Using autosu (/usr/libexec/autopackage/autosu-gtk) to s pawn '/usr/bin/autopackage-manager-gtk'
test1@debianVM:~$ autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary re location support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
test1@debianVM:~$

04/05/07 14:22:17 changed by isak

Things are getting weirder and weirder!

The binreloc failed to initialized is because you didn't re-generate 'configure' (run 'autogen.sh' in the manager's top-level source dir). But it's no harm, since the default is fine in this case.

After it fork()s of and runs as root, it seems to get all the way to gtk_init() (which is after loading locale files) and then it silently dies. Maybe this is an issue with root not being allowed to connect to the terminal.

I've committed a change that prints the value of DISPLAY before it starts. Do you think you could try it again please?

04/05/07 18:31:18 changed by UnFleshed One

I did regenerate configure after updating though... (I run make -f Makefile.cvs && ./configure && make)

I'll try it next week.

04/08/07 07:38:59 changed by curtis

  • severity changed from Normal to Blocker.

04/09/07 12:58:43 changed by UnFleshed One

No, DISPLAY seems to be fine. Although this time it outputs "Loading GUI from file" and dies after that.

This time package was listed in "All Applications" (since the desktop file for it wasn't installed)

I'll do some printf debugging later this week, to see if I can find exact spot.

test1@debianVM:~/Desktop$ AUTOPACKAGE_MANAGER_BACKEND_DEBUG=1 AUTOPACKAGE_MANAGER_GTK_DEBUG=1 autopackage-manager-gtk
autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary relocation support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Will connect to DISPLAY=:0.0
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/manager-gtk.glade...

(autopackage-manager-gtk:22244): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for autopackage-gtk details
autopackage-manager-backend: Package environment file successfully parsed (name='Autopackage Software Installer (GTK+)', description='A graphical (GTK+) frontend for installing Autopackage packages.')
autopackage-manager-gtk: info=0x806f958
autopackage-manager-gtk: application_found: 0x806f958
autopackage-manager-gtk: System application found: Autopackage Software Installer (GTK+)
autopackage-manager-backend: Parsing package environment for SMARTBoardSoftware details
autopackage-manager-backend: Package environment file successfully parsed (name='SMART Board Software', description='SMART Board Software')
autopackage-manager-gtk: info=0x817a1f0
autopackage-manager-gtk: application_found: 0x817a1f0
autopackage-manager-gtk: System application found: SMART Board Software
autopackage-manager-backend: Parsing package environment for SMARTEssentials details
autopackage-manager-backend: Package environment file successfully parsed (name='SMART Essentials for Educators', description='SMART Essentials for Educators')
autopackage-manager-gtk: info=0x817bd00
autopackage-manager-gtk: application_found: 0x817bd00
autopackage-manager-gtk: System application found: SMART Essentials for Educators
autopackage-manager-backend: Parsing package environment for NotebookInteractiveViewer details
autopackage-manager-backend: Package environment file successfully parsed (name='SMART Notebook Interactive Viewer', description='SMART Notebook Interactive Viewer')
autopackage-manager-gtk: info=0x8180ea0
autopackage-manager-gtk: application_found: 0x8180ea0
autopackage-manager-gtk: System application found: SMART Notebook Interactive Viewer
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: Filter changed: APP_TYPE_SYSTEM
autopackage-manager-gtk: name is autopackage-installer.png
autopackage-manager-gtk: looking up autopackage-installer
autopackage-manager-gtk: Icon=autopackage-installer (1)
autopackage-manager-gtk: user selected Autopackage Software Installer (GTK+), root install
autopackage-manager-gtk: name is autopackage-installer.png
autopackage-manager-gtk: looking up autopackage-installer
autopackage-manager-gtk: Icon=autopackage-installer (1)
autopackage-manager-gtk: name is autopackage-installer.png
autopackage-manager-gtk: looking up autopackage-installer
autopackage-manager-gtk: Icon=autopackage-installer (1)
autopackage-manager-gtk: name is autopackage-installer.png
autopackage-manager-gtk: looking up autopackage-installer
autopackage-manager-gtk: Icon=autopackage-installer (1)
autopackage-manager-gtk: user selected SMART Essentials for Educators, root install
autopackage-manager-gtk: remove clicked for SMART Essentials for Educators
autopackage-manager-gtk: Need elevated privileges to remove selected package!
autopackage-manager-gtk: Using autosu (/usr/libexec/autopackage/autosu-gtk) to spawn '/usr/bin/autopackage-manager-gtk'
test1@debianVM:~/Desktop$ autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary relocation support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Will connect to DISPLAY=:0.0
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/manager-gtk.glade...

04/10/07 02:03:14 changed by taj

Hmm, I appear to possibly have a similar problem (using manager from svn). When I try to uninstall an app that's installed as root, I get the autosu box, and then nothing happens after entering my password. Here's my output:

autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary relocation support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Will connect to DISPLAY=:0.0
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/manager-gtk.glade...

(autopackage-manager-gtk:31981): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for gstreamer-plugins-base details
autopackage-manager-backend: Package environment file successfully parsed (name='GStreamer Media Framework Base Plugins', description='GStreamer is a streaming media framework')
autopackage-manager-gtk: info=0x8293128
autopackage-manager-gtk: application_found: 0x8293128
autopackage-manager-gtk: System application found: GStreamer Media Framework Base Plugins
autopackage-manager-backend: Parsing package environment for gstreamer-plugins-good details
autopackage-manager-backend: Package environment file successfully parsed (name='GStreamer Media Framework Good Plugins', description='GStreamer is a streaming media framework')
[...]
autopackage-manager-gtk: info=0x8308418
autopackage-manager-gtk: application_found: 0x8308418
autopackage-manager-gtk: Desktop application found: VDrift
autopackage-manager-gtk: name is vdrift-64x64.png
autopackage-manager-gtk: looking up vdrift-64x64
autopackage-manager-gtk: Icon=vdrift-64x64 (1)
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: user selected VDrift, root install
autopackage-manager-gtk: remove clicked for VDrift
autopackage-manager-gtk: Need elevated privileges to remove selected package!
autopackage-manager-gtk: Using autosu (/usr/libexec/autopackage/autosu-gtk) to spawn '/usr/bin/autopackage-manager-gtk'
$ 

Then autosu pops up. I enter my root password, go OK, and then nothing happens. Uninstalling a package that's installed as user works fine. I'm on Slackware, so it's just using plain su.

Isak, if you want SSH into my box to debug this, catch me on IRC sometime.

04/10/07 13:36:11 changed by taj

  • keywords changed from autopackage-manager-gtk; GNOME; Debian; Sarge; binreloc to autopackage-manager-gtk; GNOME; Debian; Sarge; binreloc; autosu; sudo.

It looks like the manager is starting as root, but it's going to sleep...possibly related sudo. Here's the last output:

autopackage-manager-gtk: Need elevated privileges to remove selected package!
autopackage-manager-gtk: Using autosu (/usr/libexec/autopackage/autosu-gtk) to spawn '/usr/bin/autopackage-manager-gtk'
taj@moria:~/autopackage-HEAD/frontend/manager$ starting
autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary relocation support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Will connect to DISPLAY=:0.0
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/manager-gtk.glade...
$

And ps aux|grep manager-gtk:

taj      16017  1.4  0.8  24832  8184 pts/1    S    10:32   0:00 /usr/libexec/autopackage/autosu-gtk --root-only -m manage /usr/bin/autopackage-manager-gtk --rootmode
root     16024  0.0  0.0   2036   772 pts/2    Ss+  10:32   0:00 /usr/bin/sudo -p 431840980SUDO_PASSWORD770259397? -u root -S /home/taj/autopackage-HEAD/main/libexec/sudo-helper  bash -c /home/taj/autopackage-HEAD/main/libexec/autosu-helper --xauth-shm-id 753669 "" /dev/pts/1 /dev/pts/1 "" /usr/bin/autopackage-manager-gtk --rootmode
root     16031  0.6  0.4  11136  4536 pts/5    Ss+  10:32   0:00 /usr/bin/autopackage-manager-gtk --rootmode

I'll do some more debugging later.

04/10/07 14:17:05 changed by isak

Hmm, a sleeping state for the manager is probably expected. That's what GUI apps do most of their time (waiting for stuff to happen).

The s and + after the initial sleep means that its "session leader" and that it's a foreground process respectively.

For some reason the root manager does not get to the point where it can draw windows on the screen. I've no idea why, and it did succeed in initializing GTK (which would complain if something was wrong). It doesn't really do anything fancy after initializing GTK.

If any one of you would like to stick a couple of TRACE("I'm here!\n") throughout the main() function that would be great. I really would like to know which line is the last it manages to execute. And also, if it's the same line each run (if it's not, we might have a threading problem).

Unfortunately, it's not really possible to debug this in gdb, since we have a pretty complex setup with fork()'s and setuid()'s that confuses or perhaps even stops gdb from doing its work. At least I wasn't able to make gdb follow the fork into the child root process.

04/10/07 17:33:06 changed by taj

UnFleshed? One, could you try the latest code from svn (fix is r2321)? Isak and I made it work on my box today...if you can confirm that it now works for you too, that'd be great!

04/10/07 21:08:20 changed by UnFleshed One

Not yet. It now consistently shows "Application search in progress" after elevation and dies right after that. (Before this change I only rarely saw this dialog, now I always see it).

If it really is timing issue, the fix seems to just shift it...

It looks like amount of output varies if I add my own TRACE calls. (But it seems to stay consistent with multiple runs of the same build)

Is there a way to force stack trace on crash? Or to know what kind of crash is it? Can gdb attach to running process? (there is a window of opportunity untill it starts calling application_found())

(Ugh, this gtk stuff isn't pretty...)

test1@debianVM:~/Desktop$ AUTOPACKAGE_MANAGER_BACKEND_DEBUG=1 AUTOPACKAGE_MANAGER_GTK_DEBUG=1 autopackage-manager-gtk
autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary relocation support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Will connect to DISPLAY=:0.0
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/manager-gtk.glade...

(autopackage-manager-gtk:21696): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for autopackage-gtk details
autopackage-manager-backend: Package environment file successfully parsed (name='Autopackage Software Installer (GTK+)', description='A graphical (GTK+) frontend for installing Autopackage packages.')
autopackage-manager-gtk: info=0x806f958
autopackage-manager-backend: parsing desktop file for SMARTBoardSoftware details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Board Software', description='(null)')
autopackage-manager-gtk: info=0x81ca3c0
autopackage-manager-backend: parsing desktop file for SMARTEssentials details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Essentials For Educators', description='(null)')
autopackage-manager-gtk: info=0x81ca380
autopackage-manager-gtk: info=(nil)
autopackage-manager-gtk: application_found: 0x806f958
autopackage-manager-gtk: System application found: Autopackage Software Installer (GTK+)
autopackage-manager-gtk: application_found: 0x81ca3c0
autopackage-manager-gtk: Desktop application found: SMART Board Software
autopackage-manager-gtk: name is SMART_Board_Software.png
autopackage-manager-gtk: looking up SMART_Board_Software
autopackage-manager-gtk: Icon=SMART_Board_Software (1)
autopackage-manager-gtk: user selected SMART Board Software, root install
autopackage-manager-gtk: application_found: 0x81ca380
autopackage-manager-gtk: Desktop application found: SMART Essentials For Educators
autopackage-manager-gtk: name is SMART_Essentials_For_Educators.png
autopackage-manager-gtk: looking up SMART_Essentials_For_Educators
autopackage-manager-gtk: Icon=SMART_Essentials_For_Educators (1)
autopackage-manager-gtk: application_found: (nil)
autopackage-manager-gtk: search completed
autopackage-manager-gtk: remove clicked for SMART Board Software
autopackage-manager-gtk: Need elevated privileges to remove selected package!
autopackage-manager-gtk: Using autosu (/usr/libexec/autopackage/autosu-gtk) to spawn '/usr/bin/autopackage-manager-gtk'
test1@debianVM:~/Desktop$ autopackage-manager-gtk: starting up
WARNING: Couldn't initialize the binary relocation support (binreloc): Binary relocation support is disabled.
WARNING: Falling back to hard-coded default prefix (/usr)
autopackage-manager-gtk: Will connect to DISPLAY=:0.0
autopackage-manager-gtk: Loading locale files from '/usr/share/locale'
autopackage-manager-gtk: Loading GUI from file /usr/share/autopackage-manager/manager-gtk.glade...

(autopackage-manager-gtk:21966): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'
autopackage-manager-gtk: entering main loop
autopackage-manager-gtk: post gui init
autopackage-manager-backend: Parsing package environment for autopackage-gtk details
autopackage-manager-backend: Package environment file successfully parsed (name='Autopackage Software Installer (GTK+)', description='A graphical (GTK+) frontend for installing Autopackage packages.')
autopackage-manager-gtk: info=0x8157db8
autopackage-manager-gtk: application_found: 0x8157db8
autopackage-manager-gtk: System application found: Autopackage Software Installer (GTK+)
autopackage-manager-backend: parsing desktop file for SMARTBoardSoftware details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Board Software', description='(null)')
autopackage-manager-gtk: info=0x81b9530
autopackage-manager-backend: parsing desktop file for SMARTEssentials details
autopackage-manager-backend: Desktop file successfully parsed (name='SMART Essentials For Educators', description='(null)')
autopackage-manager-gtk: info=0x81b94f0
autopackage-manager-gtk: info=(nil)

04/11/07 02:40:34 changed by isak

To force core dumps, set your ulimit for cores to unlimited:

$ ulimit -c unlimited

You may need to set this for root specifically, depending on whether su/sudo resets the environment or not.

To attach to a running process, start gdb as the user owning the process (root) and, in the gdb prompt:

(gdb) attach <pid-of-running-process>

04/29/07 13:34:01 changed by isak

  • severity changed from Blocker to Major.

Unfleshed One, any more information about this? Have you managed to get a core dump?

I'm lowering the prio since I don't think we should wait for this to be resolved before we do a new release.

05/03/07 19:47:17 changed by UnFleshed One

Sorry, I haven't had much time recently, and I can't get a core dump for some reason (maybe I'm doing something wrong, or the crash isn't dump worthy?)

I've run it through strace though. Had to attach to running process at the point before clicking remove, otherwise either GTK+ doesn't like setuid, or auto-su doesn't accept root password.

This is modified version of executable with bunch of my own TRACE calls and progress animation disabled (just commented out one line).

# chmod +s /usr/bin/strace

$ autopackage-manager-gtk &

$ strace -p <pid> -f -F -o <file>

Here are last 200 lines:

1893  open("/var/packages/@smarttech.com/SMARTSoftwareLinux/SMARTBoard:9.7.47.0/files", O_RDONLY <unfinished ...>
1889  <... write resumed> )             = 89
1889  write(1, "autopackage-manager-gtk: WTF con"..., 39) = 39
1889  write(1, "autopackage-manager-gtk: --appli"..., 53) = 53
1889  ioctl(4, FIONREAD, [0])           = 0
1889  gettimeofday({1175037009, 789100}, NULL) = 0
1889  poll( <unfinished ...>
1893  <... open resumed> )              = 8
1893  fstat64(8, {st_mode=S_IFREG|0644, st_size=154247, ...}) = 0
1893  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41658000
1893  read(8, "/usr/local/SMART Technologies In"..., 4096) = 4096
1893  read(8, "ery/BREATHING_AND_RESPIRATION_00"..., 4096) = 4096
1893  read(8, "0010607.galleryitem\n/usr/local/S"..., 4096) = 4096
1893  read(8, "eryitem\n/usr/local/SMART Technol"..., 4096) = 4096
1893  read(8, "60-8818-A42B2C2EB8C3.galleryitem"..., 4096) = 4096
1893  read(8, "0.notebook\n/usr/local/SMART Tech"..., 4096) = 4096
1893  read(8, "LARGE_0000991D.galleryitem\n/usr/"..., 4096) = 4096
1893  read(8, "/FrontBoard.gif\n/usr/local/SMART"..., 4096) = 4096
1893  read(8, "Diagnostics/Troubleshoot_600_Ser"..., 4096) = 4096
1893  read(8, " Software/./Help/Diagnostics/op_"..., 4096) = 4096
1893  read(8, "phost.js\n/usr/local/SMART Techno"..., 4096) = 4096
1893  read(8, "es Inc/SMART Board Software/./He"..., 4096) = 4096
1893  read(8, "agnostics/whgdata/whlstf8.htm\n/u"..., 4096) = 4096
1893  read(8, "/whgdata/whlstt9.htm\n/usr/local/"..., 4096) = 4096
1893  read(8, "/SMART Technologies Inc/SMART Bo"..., 4096) = 4096
1893  read(8, "ies Inc/SMART Board Software/./L"..., 4096) = 4096
1893  read(8, "\n/usr/local/SMART Technologies I"..., 4096) = 4096
1893  read(8, "_startcenter.gif\n/usr/local/SMAR"..., 4096) = 4096
1893  read(8, "\n/usr/local/SMART Technologies I"..., 4096) = 4096
1893  read(8, "BackgroundColor.htm\n/usr/local/S"..., 4096) = 4096
1893  read(8, "al/SMART Technologies Inc/Notebo"..., 4096) = 4096
1893  read(8, "Notebook/documentation/en_US/Hel"..., 4096) = 4096
1893  read(8, "c/Notebook Software/./bin/Notebo"..., 4096) = 4096
1893  read(8, "/webhelp.jar\n/usr/local/SMART Te"..., 4096) = 4096
1893  read(8, "/Help/whskin_pickup.htm\n/usr/loc"..., 4096) = 4096
1893  brk(0)                            = 0x8185000
1893  brk(0x81be000)                    = 0x81be000
1893  brk(0)                            = 0x81be000
1893  brk(0)                            = 0x81be000
1893  brk(0x81a6000)                    = 0x81a6000
1893  brk(0)                            = 0x81a6000
1893  read(8, "/documentation/en_US/Help/wht_to"..., 4096) = 4096
1893  read(8, "local/SMART Technologies Inc/Not"..., 4096) = 4096
1893  read(8, "nc/Notebook Software/./bin/Noteb"..., 4096) = 4096
1893  read(8, "Inc/Notebook Software/./bin/Note"..., 4096) = 4096
1893  read(8, "ocal/SMART Technologies Inc/Note"..., 4096) = 4096
1893  read(8, "Inc/Notebook Software/./bin/Note"..., 4096) = 4096
1893  read(8, "cumentation/en_US/Help/whgdata/w"..., 4096) = 4096
1893  read(8,  <unfinished ...>
1889  <... poll resumed> [{fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 2, 17) = 0
1889  gettimeofday({1175037009, 807806}, NULL) = 0
1889  ioctl(4, FIONREAD, [0])           = 0
1893  <... read resumed> "tebook Software/./bin/Notebook/d"..., 4096) = 4096
1889  gettimeofday({1175037009, 808706}, NULL) = 0
1889  poll( <unfinished ...>
1893  read(8, "re/./bin/Notebook/resources/Lang"..., 4096) = 4096
1893  read(8, "are/pixmaps/hicolor/16x16/apps/S"..., 4096) = 4096
1893  read(8, "8x48/apps/SMART_GallerySetup.png"..., 4096) = 4096
1893  read(8, "e/icons/hicolor/16x16/apps/SMART"..., 4096) = 4096
1893  read(8, "SMART_Notebook.png\n/usr/share/ic"..., 4096) = 2695
1893  read(8, "", 4096)                 = 0
1893  close(8)                          = 0
1893  munmap(0x41658000, 4096)          = 0
1893  brk(0)                            = 0x81a6000
1893  brk(0x81c7000)                    = 0x81c7000
1893  open("/usr/local/SMART Technologies Inc/share/applications/smarttech-SMARTBoardSoftware.desktop", O_RDONLY) = 8
1893  write(1, "autopackage-manager-backend: par"..., 81) = 81
1893  fstat64(8, {st_mode=S_IFREG|0644, st_size=897, ...}) = 0
1893  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41658000
1893  read(8, "[Desktop Entry]\nActions=Apkg-Ver"..., 4096) = 897
1893  read(8, "", 4096)                 = 0
1893  close(8 <unfinished ...>
1889  <... poll resumed> [{fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 2, 19) = 0
1889  gettimeofday({1175037009, 829022}, NULL) = 0
1889  ioctl(4, FIONREAD <unfinished ...>
1893  <... close resumed> )             = 0
1889  <... ioctl resumed> , [0])        = 0
1889  gettimeofday( <unfinished ...>
1893  munmap(0x41658000, 4096 <unfinished ...>
1889  <... gettimeofday resumed> {1175037009, 831261}, NULL) = 0
1889  poll( <unfinished ...>
1893  <... munmap resumed> )            = 0
1893  open("/usr/local/SMART Technologies Inc/share/applications/smarttech-SMARTBoardSoftware.desktop", O_RDWR) = 8
1893  close(8)                          = 0
1893  write(1, "autopackage-manager-backend: Des"..., 114) = 114
1893  write(1, "autopackage-manager-gtk: info=0x"..., 40) = 40
1893  write(6, "A", 1 <unfinished ...>
1889  <... poll resumed> [{fd=5, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}], 2, 17) = 1
1893  <... write resumed> )             = 1
1889  futex(0x80886dc, FUTEX_WAIT, 2, NULL <unfinished ...>
1893  futex(0x80886dc, FUTEX_WAKE, 1 <unfinished ...>
1889  <... futex resumed> )             = 0
1889  read(5, "A", 1)                   = 1
1893  <... futex resumed> )             = 1
1889  futex(0x80886dc, FUTEX_WAKE, 1 <unfinished ...>
1893  open("/var/packages/@smarttech.com/SMARTSoftwareLinux/SMARTEssentialsForEducators:1.1.47.0/files", O_RDONLY <unfinished ...>
1889  <... futex resumed> )             = 0
1893  <... open resumed> )              = 8
1889  gettimeofday({1175037009, 850008}, NULL) = 0
1889  ioctl(4, FIONREAD <unfinished ...>
1893  fstat64(8,  <unfinished ...>
1889  <... ioctl resumed> , [0])        = 0
1889  gettimeofday({1175037009, 851422}, NULL) = 0
1889  poll( <unfinished ...>
1893  <... fstat64 resumed> {st_mode=S_IFREG|0644, st_size=1742, ...}) = 0
1889  <... poll resumed> [{fd=5, events=POLLIN}, {fd=4, events=POLLIN}], 2, 0) = 0
1889  write(1, "autopackage-manager-gtk: --appli"..., 59 <unfinished ...>
1893  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...>
1889  <... write resumed> )             = 59
1889  write(1, "autopackage-manager-gtk: Desktop"..., 73 <unfinished ...>
1893  <... mmap2 resumed> )             = 0x41658000
1889  <... write resumed> )             = 73
1893  read(8,  <unfinished ...>
1889  write(1, "autopackage-manager-gtk: --add_t"..., 39) = 39
1889  write(1, "autopackage-manager-gtk: --looku"..., 39) = 39
1889  write(1, "autopackage-manager-gtk: name is"..., 58 <unfinished ...>
1893  <... read resumed> "/usr/local/SMART Technologies In"..., 4096) = 1742
1889  <... write resumed> )             = 58
1889  write(1, "autopackage-manager-gtk: looking"..., 57 <unfinished ...>
1893  read(8, "", 4096)                 = 0
1893  close(8)                          = 0
1893  munmap(0x41658000, 4096)          = 0
1893  open("/usr/local/SMART Technologies Inc/Gallery Setup/share/applications/smarttech-EssentialsForEducators.desktop", O_RDONLY) = 8
1893  futex(0x407538a0, FUTEX_WAIT, 2, NULL <unfinished ...>
1889  <... write resumed> )             = 57
1889  futex(0x407538a0, FUTEX_WAKE, 1 <unfinished ...>
1893  <... futex resumed> )             = 0
1889  <... futex resumed> )             = 1
1893  futex(0x407538a0, FUTEX_WAKE, 1 <unfinished ...>
1889  gettimeofday( <unfinished ...>
1893  <... futex resumed> )             = 0
1889  <... gettimeofday resumed> {1175037010, 67033}, NULL) = 0
1893  write(1, "autopackage-manager-backend: par"..., 78 <unfinished ...>
1889  stat64("/usr/share/pixmaps/gnome", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/usr/local/share/pixmaps/gnome", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/usr/share/icons/gnome", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
1889  stat64("/usr/local/share/icons/gnome", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/root/.local/share/icons/gnome", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/root/.icons/gnome",  <unfinished ...>
1893  <... write resumed> )             = 78
1893  fstat64(8,  <unfinished ...>
1889  <... stat64 resumed> 0xbffff5d0)  = -1 ENOENT (No such file or directory)
1889  stat64("/root/.icons/hicolor", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/root/.local/share/icons/hicolor", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/usr/local/share/icons/hicolor", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1889  stat64("/usr/share/icons/hicolor", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
1889  stat64("/usr/local/share/pixmaps/hicolor", 0xbffff5d0) = -1 ENOENT (No such file or directory)
1893  <... fstat64 resumed> {st_mode=S_IFREG|0644, st_size=965, ...}) = 0
1893  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41658000
1893  read(8, "[Desktop Entry]\nActions=Apkg-Ver"..., 4096) = 965
1893  read(8,  <unfinished ...>
1889  stat64("/usr/share/pixmaps/hicolor", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
1889  gettimeofday({1175037010, 82737}, NULL) = 0
1889  write(1, "autopackage-manager-gtk: Icon=SM"..., 55) = 55
1889  gettimeofday({1175037010, 83153}, NULL) = 0
1893  <... read resumed> "", 4096)      = 0
1893  close(8)                          = 0
1893  munmap(0x41658000, 4096)          = 0
1893  open("/usr/local/SMART Technologies Inc/Gallery Setup/share/applications/smarttech-EssentialsForEducators.desktop", O_RDWR <unfinished ...>
1889  open("/usr/share/icons/hicolor/48x48/apps/SMART_Board_Software.png", O_RDONLY|O_LARGEFILE <unfinished ...>
1893  <... open resumed> )              = 8
1889  <... open resumed> )              = 9
1893  close(8 <unfinished ...>
1889  fstat64(9,  <unfinished ...>
1893  <... close resumed> )             = 0
1889  <... fstat64 resumed> {st_mode=S_IFREG|0744, st_size=2913, ...}) = 0
1893  write(1, "autopackage-manager-backend: Des"..., 124 <unfinished ...>
1889  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...>
1893  <... write resumed> )             = 124
1893  write(1, "autopackage-manager-gtk: info=0x"..., 40) = 40
1893  write(1, "autopackage-manager-gtk: info=(n"..., 36) = 36
1893  _exit(0)                          = ?
1889  <... mmap2 resumed> )             = 0x41658000
1889  --- SIGHUP (Hangup) @ 0 (0) ---
1869  <... waitpid resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGHUP}], 0) = 1889
1869  --- SIGCHLD (Child exited) @ 0 (0) ---
1869  kill(1889, SIGHUP)                = -1 ESRCH (No such process)
1869  close(11)                         = 0
1869  waitpid(1889, 0xbffff514, WNOHANG) = 0
1869  write(5, "129", 3)                = 3
1869  exit_group(0)                     = ?
1876  <... read resumed> "", 1)         = 0
1876  --- SIGHUP (Hangup) @ 0 (0) ---
1876  sigreturn()                       = ? (mask now [])
1876  --- SIGCONT (Continued) @ 0 (0) ---
1876  alarm(0)                          = 0
1876  write(2, "\n", 1)                 = -1 EIO (Input/output error)
1876  ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffec9c) = -1 EIO (Input/output error)
1876  ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = -1 EIO (Input/output error)
1876  rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0
1876  rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
1876  rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
1876  rt_sigaction(SIGQUIT, {SIG_IGN}, NULL, 8) = 0
1876  rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
1876  rt_sigaction(SIGTSTP, {SIG_DFL}, NULL, 8) = 0
1876  rt_sigaction(SIGTTIN, {SIG_DFL}, NULL, 8) = 0
1876  rt_sigaction(SIGTTOU, {SIG_DFL}, NULL, 8) = 0
1876  getpid()                          = 1876
1876  kill(1876, SIGHUP)                = 0
1876  --- SIGHUP (Hangup) @ 0 (0) ---

05/03/07 19:48:55 changed by UnFleshed One

(And yes, it isn't a show stopper since it seems to happen on my machine only).

05/03/07 20:08:06 changed by UnFleshed One

Here is neighborhood of last call in 1876 process, after that last

1876 read(0,  <unfinished ...>

there is nothing in this process untill

1876  <... read resumed> "", 1)         = 0
1876  --- SIGHUP (Hangup) @ 0 (0) ---

Let me know if you need the whole file, (it's about 4 megs).

1876  rt_sigaction(SIGTTIN, {0x8050bd0, [], SA_INTERRUPT}, {SIG_DFL}, 8) = 0
1876  rt_sigaction(SIGTTOU, {0x8050bd0, [], SA_INTERRUPT}, {SIG_DFL}, 8) = 0
1876  ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
1876  ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
1876  ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
1876  ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon -echo ...}) = 0
1876  write(2, "908199145SUDO_PASSWORD-283860293"..., 33 <unfinished ...>
1869  <... read resumed> "908199145SUDO_PASSWORD-283860293"..., 1024) = 34
1876  <... write resumed> )             = 33
1869  rt_sigaction(SIGINT, {SIG_IGN},  <unfinished ...>
1876  read(0,  <unfinished ...>
1869  <... rt_sigaction resumed> {0x804ce42, [INT], SA_RESTART}, 8) = 0
1869  rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
1869  rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
1869  clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0xbffff5e4) = 1877
1869  waitpid(1877,  <unfinished ...>
1877  rt_sigaction(SIGINT, {0x804ce42, [INT], SA_RESTART}, NULL, 8) = 0
1877  rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
1877  rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
1877  execve("/bin/sh", ["sh", "-c", "ps ux | grep -v grep | grep -qE "...], [/* 29 vars */]) = 0
1877  uname({sys="Linux", node="debianVM", ...}) = 0

05/09/07 01:47:02 changed by taj

Somebody reported that the same thing happens (or, at least, it sounds like the same thing) with Ubuntu Feisty.

05/14/07 15:13:04 changed by isak

I have feisty installed and running Autopackage svn and I can not reproduce this. I did have an issue with X permissions though (had to run xhost + or else X11 wouldn't allow the root spawned process to connect).

05/14/07 15:42:47 changed by isak

Unfleshed One: Do you happen to have SELinux or similar security enhancing systems installed? Such a system could perhaps explain why the communication is getting I/O errors and the SIGHUP.

05/15/07 11:12:20 changed by taj

Correct, this doesn't happen on Feisty. The issue the user was talking is actually another one (maybe the xhost problem). From their description, it sounds like the "Removing" window never pops up...or something like that. I'll ask for a more detailed description later.

05/18/07 07:35:23 changed by isak

I've added the xhost problem as #21.

05/19/07 18:12:44 changed by curtis

  • description changed.
  • milestone changed from 1.2.3 to 1.2.4.

Move to next milestone as 1.2.3 was released.

05/29/07 17:28:07 changed by UnFleshed One

From quick look at package list I have libselinux1 1.22-1 installed.

I didn't install that one myself, but I would expect it to be as default as they go.

(follow-up: ↓ 39 ) 05/29/07 17:29:31 changed by UnFleshed One

(didn't install that one distro I mean, it is a VMWare image for testing)

(in reply to: ↑ 38 ) 06/06/07 05:34:04 changed by isak

Replying to UnFleshed One:

(didn't install that one distro I mean, it is a VMWare image for testing)

So you actually have a vmware image where this problem ocurrs? Do you think I can get a copy of it? If not, do you think you could try the latest manager code from svn? I've done some major changes in r2348 that might mitigate this problem all together.

06/06/07 15:20:58 changed by UnFleshed One

Yes! Updated version worked fine. Except it didn't update application list after uninstall was finished (reopening manager showed correct list though).

If you still need vmware image, I can put it up somewhere. It is about 1.5 gigs compressed, and was made by VMWare Workstation 5.5.3. I run it on WinXP host, and I never tried vmware on linux, so I'm not sure if they are compatible...

06/08/07 12:29:23 changed by isak

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

Awesome that it worked. I'm not sure if the new code fixed it or if it just worked around it.

In any case, I'm closing this ticked as fixed. I don't think I'll need the images now, but thanks.

(And I'll look into why it didn't update the list - it should do so if the uninstall was successfull)