After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 491709 - crash in Deskbar: when network connection fails
crash in Deskbar: when network connection fails
Status: RESOLVED DUPLICATE of bug 472134
Product: deskbar-applet
Classification: Deprecated
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-10-30 13:37 UTC by olivier.grisel
Modified: 2007-10-31 01:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
patch ThreadPool to catch nework related errors while calling handlers (1.60 KB, patch)
2007-10-31 01:17 UTC, olivier.grisel
none Details | Review

Description olivier.grisel 2007-10-30 13:37:59 UTC
What were you doing when the application crashed?
I was typing a second keyword in the deskbar input zone while the tracker client + web clients were starting to display the results for the first key word


Distribution: Ubuntu 7.10 (gutsy)
Gnome Release: 2.20.0 2007-09-17 (Ubuntu)
BugBuddy Version: 2.18.1

System: Linux 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Human
Icon Theme: Human

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0



----------- .xsession-errors (14097 sec old) ---------------------
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
Error: can't open /var/run/openct/status: Permission non accordée
...Too much output, ignoring rest...
--------------------------------------------------
Traceback (most recent call last):
  • File "/usr/lib/python2.5/site-packages/deskbar/gtkexcepthook.py", line 67 in run
    run_old(*args, **kwargs)
  • File "threading.py", line 440 in run
    self.__target(*self.__args, **self.__kwargs)
  • File "/usr/lib/python2.5/site-packages/deskbar/core/ThreadPool.py", line 67 in _worker
    function(*args, **kwargs)
  • File "/usr/lib/deskbar-applet/modules-2.20-compatible/yahoo.py", line 59 in query
    'results': 15}), proxies=get_proxy())
  • File "urllib.py", line 82 in urlopen
    return opener.open(url)
  • File "urllib.py", line 190 in open
    return getattr(self, name)(url)
  • File "urllib.py", line 325 in open_http
    h.endheaders()
  • File "httplib.py", line 856 in endheaders
    self._send_output()
  • File "httplib.py", line 728 in _send_output
    self.send(msg)
  • File "httplib.py", line 695 in send
    self.connect()
  • File "httplib.py", line 679 in connect
    raise socket.error, msg
IOError: [Errno socket error] (101, "Le r\xc3\xa9seau n'est pas accessible.")

Comment 1 olivier.grisel 2007-10-30 19:20:41 UTC
'Le r\xc3\xa9seau n'est pas accessible.' means network is not available in french and indeed my wifi connection was very bad when the crash occurred.
Comment 2 Christoph Wolk 2007-10-31 01:06:18 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

And thanks for providing a translation!

*** This bug has been marked as a duplicate of 472134 ***
Comment 3 olivier.grisel 2007-10-31 01:17:23 UTC
Created attachment 98218 [details] [review]
patch ThreadPool to catch nework related errors while calling handlers
Comment 4 olivier.grisel 2007-10-31 01:28:41 UTC
#9828 is a patch against ThreadPool.py against the trunk to catch network related errors. I could not find how you fixed the bug in the trunk therefor I submit the patch even though you marked the issue resolved.

I have a problem with autogen.sh so that I cannot really test the developer version but I suspect there are still bug lurking around when unplugging the network while using the deskbar and most strangely some of those bugs where not catched by the bug-buddy callback (maybe a segfault?).

[update] I just found that installing libgconf2-dev solve the autogen.sh issue. I will try to reproduce my bugs with pdb on the trunk version some time tomorrow of the week to try and find whether those bugs are still around.
Comment 5 Christoph Wolk 2007-10-31 01:45:05 UTC
It seems the fix is in the respective handlers (desklicios/yahoo/other network related handlers) instead of ThreadPool.py. I can't comment on which approach is better, since I'm not a developer, just a triager.

Thank you for your interest in and work to improve GNOME! It's always nice to have people contribute, and if you find more network related bugs in up to date versions, please tell us. :)