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 337632 - [KB-Fixed] Evolution crashes on startup when given a parameter
[KB-Fixed] Evolution crashes on startup when given a parameter
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.8.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Johnny Jacob
Evolution QA team
evolution[kill-bonobo]
: 352421 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-07 14:21 UTC by Sebastien Bacher
Modified: 2009-08-30 05:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
If the uri(s) passed is invalid .. show the default component window. (1.42 KB, patch)
2007-09-27 03:53 UTC, Johnny Jacob
none Details | Review
Correct patch :-) (1.43 KB, patch)
2007-09-27 06:34 UTC, Johnny Jacob
reviewed Details | Review

Description Sebastien Bacher 2006-04-07 14:21:16 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/evolution/+bug/38599

"
Program received signal SIGSEGV, Segmentation fault.

Thread 805550560 (LWP 7347)

  • #0 strcmp
    from /lib/libc.so.6
  • #1 e_component_registry_peek_info
  • #2 impl_Shell_handleURI
  • #3 _ORBIT_skel_small_GNOME_Evolution_Shell_handleURI
    from /usr/lib/evolution/2.6/libeshell.so.0
  • #4 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #5 GNOME_Evolution_Shell_handleURI
    from /usr/lib/evolution/2.6/libeshell.so.0
  • #6 open_uris
  • #7 idle_cb
  • #8 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #12 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #13 main

When you type "run evolution" in gdb, this passes "evolution" as a parameter to the program - it's the same as running "evolution evolution".
..."
Comment 1 Sebastien Bacher 2006-04-07 14:39:19 UTC
debug backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 19922)

  • #0 strcmp
    from /lib/tls/i686/cmov/libc.so.6
  • #1 e_component_registry_peek_info
    at e-component-registry.c line 321
  • #2 impl_Shell_handleURI
    at e-shell.c line 272
  • #3 _ORBIT_skel_small_GNOME_Evolution_Shell_handleURI
    from /usr/lib/evolution/2.6/libeshell.so.0
  • #4 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #5 GNOME_Evolution_Shell_handleURI
    from /usr/lib/evolution/2.6/libeshell.so.0
  • #6 open_uris
    at main.c line 312
  • #7 idle_cb
    at main.c line 380
  • #8 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #12 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #13 main
    at main.c line 612

Comment 2 Sebastien Bacher 2006-04-07 14:45:43 UTC
(gdb) bt
  • #0 *__GI_strcmp
    at ../sysdeps/generic/strcmp.c line 38
  • #1 e_component_registry_peek_info
    at e-component-registry.c line 321
  • #2 impl_Shell_handleURI
    at e-shell.c line 272
  • #3 _ORBIT_skel_small_GNOME_Evolution_Shell_handleURI
    from /usr/lib/evolution/2.6/libeshell.so.0
  • #4 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #5 GNOME_Evolution_Shell_handleURI
    from /usr/lib/evolution/2.6/libeshell.so.0
  • #6 open_uris
    at main.c line 312
  • #7 idle_cb
    at main.c line 380
  • #8 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0

Comment 3 Christian Kirbach 2006-04-11 13:25:39 UTC
unique stack trace
Comment 4 André Klapper 2006-07-28 13:10:29 UTC

*** This bug has been marked as a duplicate of 341334 ***
Comment 5 Sebastien Bacher 2006-07-29 09:33:46 UTC
I'm not sure that's a duplicate, the description doesn't match the bug you pointed for duplication, with GNOME 2.15.90 evolution doesn't crash but it's doesn't start neither, reopening
Comment 6 André Klapper 2006-08-22 18:55:36 UTC
*** Bug 352421 has been marked as a duplicate of this bug. ***
Comment 7 Johnny Jacob 2007-09-27 03:53:14 UTC
Created attachment 96270 [details] [review]
If the uri(s) passed is invalid .. show the default component window.
Comment 8 Johnny Jacob 2007-09-27 05:15:33 UTC
oops! Patch is bad. 
Comment 9 Johnny Jacob 2007-09-27 06:34:50 UTC
Created attachment 96274 [details] [review]
Correct patch :-)
Comment 10 Srinivasa Ragavan 2007-09-27 07:27:34 UTC
Firstly, I dont see the crash at all. Second, Im not sure, if we want to start the default component if uri fails. Ideally we should just quit isn't it?
Comment 11 Matthew Barnes 2008-03-11 00:26:56 UTC
Bumping version to a stable release.
Comment 12 Matthew Barnes 2009-08-25 03:10:03 UTC
This is fixed on the kill-bonobo branch.  If no command-line URIs can be handled the process terminates.
Comment 13 Matthew Barnes 2009-08-30 05:53:35 UTC
The "kill-bonobo" branch has been merged into "master" and will debut as Evolution 2.29.1.  We believe the branch has addressed the reported issue.  If you find the issue still exists in version 2.29 or later please feel free to re-open this bug.

Closing as FIXED.