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 667741 - Crash when browse for CalDAV calendar
Crash when browse for CalDAV calendar
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.2.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: Milan Crha
Evolution QA team
evolution[caldav]
Depends on:
Blocks:
 
 
Reported: 2012-01-12 10:15 UTC by Milan Crha
Modified: 2012-01-16 18:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (1.13 KB, patch)
2012-01-16 16:10 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2012-01-12 10:15:15 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=773293

[abrt] evolution-3.2.2-1.fc16: soup_uri_set_scheme: Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)

libreport version: 2.0.8
abrt_version:   2.0.7
backtrace_rating: 4
cmdline:        evolution
comment:        add ne calendar >> caldav >> brows without entring any info
crash_function: soup_uri_set_scheme
executable:     /usr/bin/evolution
kernel:         3.1.7-1.fc16.i686
reason:         Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
time:           Wed 11 Jan 2012 01:34:22 PM CET

Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.

Thread 4 (Thread 0xb7607b40 (LWP 4813))

  • #0 __kernel_vsyscall
    at arch/x86/vdso/vdso32/int80.S line 16
  • #1 read
    at ../sysdeps/unix/syscall-template.S line 82
  • #2 read
    at /usr/include/bits/unistd.h line 45
  • #3 unix_signal_helper_thread
    at gmain.c line 4551
  • #4 g_thread_create_proxy
    at gthread.c line 1962
  • #5 start_thread
    at pthread_create.c line 309
  • #6 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 133

Thread 1 (Thread 0xb78238c0 (LWP 4811))

  • #0 soup_uri_set_scheme
    at soup-uri.c line 793
  • #1 init_dialog
    at caldav-browse-server.c line 1447
  • #2 caldav_browse_server
    at caldav-browse-server.c line 1601
  • #3 browse_cal_clicked_cb
    at caldav-source.c line 181
  • #4 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #5 g_closure_invoke
    at gclosure.c line 774
  • #6 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #7 g_signal_emit_valist
  • #8 g_signal_emit
    at gsignal.c line 3060
  • #9 gtk_button_clicked
    at gtkbutton.c line 1197
  • #10 gtk_real_button_released
    at gtkbutton.c line 1826
  • #11 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #12 g_type_class_meta_marshal
    at gclosure.c line 885
  • #13 g_closure_invoke
    at gclosure.c line 774
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3202
  • #15 g_signal_emit_valist
  • #16 g_signal_emit
    at gsignal.c line 3060
  • #17 gtk_button_released
    at gtkbutton.c line 1183
  • #18 gtk_button_button_release
    at gtkbutton.c line 1718
  • #19 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #20 g_type_class_meta_marshal
    at gclosure.c line 885
  • #21 g_closure_invoke
    at gclosure.c line 774
  • #22 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #23 g_signal_emit_valist
    at gsignal.c line 3013
  • #24 g_signal_emit
    at gsignal.c line 3060
  • #25 gtk_widget_event_internal
    at gtkwidget.c line 6132
  • #26 gtk_propagate_event
    at gtkmain.c line 2614
  • #27 gtk_main_do_event
    at gtkmain.c line 1889
  • #28 _gdk_event_emit
    at gdkevents.c line 71
  • #29 gdk_event_source_dispatch
    at gdkeventsource.c line 360
  • #30 g_main_dispatch
    at gmain.c line 2425
  • #31 g_main_context_dispatch
    at gmain.c line 2995
  • #32 g_main_context_iterate
    at gmain.c line 3073
  • #33 g_main_loop_run
    at gmain.c line 3281
  • #34 gtk_main
    at gtkmain.c line 1362
  • #35 main
    at main.c line 696

Comment 1 Milan Crha 2012-01-16 16:10:14 UTC
Created attachment 205379 [details] [review]
evo patch

for evolution;

Confirming, I can reproduce it too. This patch sanitizes the URL and makes sure it's a valid URL before passing it into the browse dialog creation function.
Comment 2 Milan Crha 2012-01-16 18:26:19 UTC
Created commit 8b8f564 in evo master (3.3.5+)