Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27789 - straw's python process remains in memory after closing app
Summary: straw's python process remains in memory after closing app
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 11:46 UTC by Charles Phoenix
Modified: 2003-10-11 02:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Phoenix 2003-09-02 11:46:35 UTC
The program works without any problems except when I close it. The gui
disappears but the python process it started remains (checked pid numbers). I
doubt it is python itself since I have had builds going on in the background. I
can kill the process manually.

I was having a problem a few weeks ago with straw segfaulting so I rebuilt all
its dependancies.

Reproducible: Always
Steps to Reproduce:





Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-win4lin-r1)
=================================================================
System uname: 2.4.20-win4lin-r1 i686 Pentium II (Deschutes)
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
slang readline tetex bonobo svga ggi java guile X sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis gnome gtk opengl cdr alsa dnd doc dumb-allegro dvd
ethereal evo faad flash gb gd gnomedb gtk2 jikes joystick libgda mbox mdb
memlimit moznoirc moznomail mysql pic plotutils pnp -qt sqlite sse tiff usb v4l
wmf wxwindows xinerama xvid -3dnow -arts -kde -libwww -motif -nls -berkdb"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-09-06 11:09:53 UTC
so which version are you talking about? it is probably hanging or waiting for some i/o. eg waiting for a domain name to resolve or hanging on downloading a particular rss. 

does this happen all the time?
Comment 2 Charles Phoenix 2003-09-07 12:11:06 UTC
python 2.2.3-r1
straw 0.19.1

I am using gnome as my desktop and I setup a launcher on the taskbar which I have been using to start straw, as user.

As for repeating... something like 99.99% (during one test it did exit cleanly - cannot determine why)

As for a i/o "hang" most times it is closed after polling is completed. I have noticed the process (using system monitor), after the app was closed, wakes up as if it was polling. Would have to monitor connection to confirm.

Opening up straw again just causes another process to be started and the previous one still remains.

-----

When opened in a terminal the following shows up each time it straw is started.

(straw:5144): GLib-GObject-WARNING **: gobject.c:946: object class `GnomeProgram' has no property named `default-icon'
 
(straw:5144): Gtk-WARNING **: gtkwidget.c:2781: widget `GnomeApp' has no activatable signal "delete_event" without arguments
-----

Closing after polling (~1 secs and also ~3 mins) the process just remains in memory with no additional messages.

-----

These messages are from closing while it is polling. Process remains in memory.

Caught an exception when trying to call a signal handler for signal <straw.Event.FeedsChangedSignal instance at 0x8541f1c>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/Main.py", line 108, in feeds_changed
  File "src/lib/Main.py", line 112, in update_feeds
  File "src/lib/MainWindow.py", line 860, in display_feeds
TypeError: len() of unsized object
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedPolledSignal instance at 0x8533dfc>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/MainWindow.py", line 980, in feed_updated
TypeError: unsubscriptable object
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedStatusChangedSignal instance at 0x8533dfc>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/MainWindow.py", line 980, in feed_updated
TypeError: unsubscriptable object
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedPolledSignal instance at 0x89ad58c>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/MainWindow.py", line 980, in feed_updated
TypeError: unsubscriptable object
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedsChangedSignal instance at 0x86111f4>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/Main.py", line 108, in feeds_changed
  File "src/lib/Main.py", line 112, in update_feeds
  File "src/lib/MainWindow.py", line 860, in display_feeds
TypeError: len() of unsized object
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedPolledSignal instance at 0x830d00c>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/MainWindow.py", line 980, in feed_updated
TypeError: unsubscriptable object
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedStatusChangedSignal instance at 0x830d00c>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/MainWindow.py", line 980, in feed_updated
TypeError: unsubscriptable object
Caught an exception when trying to call a signal handler for signal <straw.Event.FeedPolledSignal instance at 0x830d00c>
Traceback (most recent call last):
  File "src/lib/Event.py", line 49, in emit_signal
  File "src/lib/MainWindow.py", line 980, in feed_updated
TypeError: unsubscriptable object
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 488 (g_object_freeze_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 510 (g_object_notify): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 1355 (g_object_get_qdata): assertion `G_IS_OBJECT (object)' failed
 
(straw:5145): GLib-GObject-CRITICAL **: file gobject.c: line 548 (g_object_thaw_notify): assertion `G_IS_OBJECT (object)' failed
 
-------
Tried closing during polling again and this time the last four lines repeat about 10 times and it segfaults. Process removes itself from memory

-------

Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-10-08 03:12:00 UTC
this seems to be fixed in 0.19.2, i'll be committing an ebuild shortly after
i fix some issues with python2.3
Comment 4 foser (RETIRED) gentoo-dev 2003-10-08 14:24:27 UTC
0.19.2 in ~ , please test
Comment 5 Charles Phoenix 2003-10-11 00:20:37 UTC
I have completely rebuilt my system since reporting the bug so I believe
that makes this invalid?

Unrelated, problems getting straw to compile and then when I manage that
I get...
 
ImportError: could not import bonobo.ui
Comment 6 foser (RETIRED) gentoo-dev 2003-10-11 02:57:55 UTC
You missed building the bonoboui stuff in gnome-python, try rebuilding.

It's a different issue, so if it persists open a new bug.

Closing invalid, since it is not reproducable on your side after a rebuild.