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 511235 - Crash with trunk revision 1050
Crash with trunk revision 1050
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Ximian Connector QA
: 510316 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-22 12:17 UTC by Milan Crha
Modified: 2008-01-28 17:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (998 bytes, patch)
2008-01-22 17:20 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2008-01-22 12:17:52 UTC
I'm using trunk revision 1050 at the moment with Evolution 2.21.x and when I try to authenticate against exchange server, then the Evolution crashes with below stack trace. I guess it's a bug in libsoup it doesn't pass proper argument as user data (it passes there NULL, but in time of call of g_signal_connect, the user_data parameter is not NULL.) Maybe recent API change?

My steps are very simple, just try add new exchange account into Evolution, fill your mail address, and then user name and OWA url and click "Authenticate", fill fake password and the application will crash.

I only changed the real OWA address to fake-server/exchange.

Distribution: Fedora release 8 (Werewolf)
Gnome Release: 2.20.2 2007-11-27 (Red Hat, Inc)
BugBuddy Version: 2.20.1

System: Linux 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:36 EST 2007 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: Permissive
Accessibility: Disabled
GTK+ Theme: Nodoka
Icon Theme: Neu

Memory status: size: 722862080 vsize: 722862080 resident: 90873856 share: 23945216 rss: 90873856 rss_rlim: 18446744073709551615
CPU usage: start_time: 1201003943 rtime: 1323 utime: 1241 stime: 82 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/build/local/bin/evolution'

[?1034hUsing host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912548704208 (LWP 8554)]
[New Thread 1115699536 (LWP 8569)]
0x00000031fe60e0bf in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 46912548704208 (LWP 8554))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 IA__g_spawn_sync
    at gspawn.c line 374
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 682
  • #3 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 56
  • #4 segv_redirect
    at main.c line 512
  • #5 <signal handler called>
  • #6 session_authenticate
    at e2k-context.c line 340
  • #7 soup_marshal_VOID__OBJECT_OBJECT_BOOLEAN
    at soup-marshal.c line 165
  • #8 IA__g_closure_invoke
    at gclosure.c line 490
  • #9 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #11 IA__g_signal_emit
    at gsignal.c line 2243
  • #12 soup_session_emit_authenticate
    at soup-session.c line 554
  • #13 ntlm_authorize_pre
    at soup-auth-manager-ntlm.c line 203
  • #14 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #15 status_handler_metamarshal
    at soup-message.c line 849
  • #16 IA__g_closure_invoke
    at gclosure.c line 490
  • #17 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #18 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #19 IA__g_signal_emit
    at gsignal.c line 2243
  • #20 soup_message_got_headers
    at soup-message.c line 664
  • #21 io_read
    at soup-message-io.c line 667
  • #22 io_write
    at soup-message-io.c line 564
  • #23 soup_message_io_client
    at soup-message-io.c line 813
  • #24 soup_message_send_request
    at soup-message-client-io.c line 120
  • #25 send_request
    at soup-connection.c line 713
  • #26 soup_connection_send_request
    at soup-connection.c line 732
  • #27 send_message
    at soup-session-sync.c line 235
  • #28 soup_session_send_message
    at soup-session.c line 955
  • #29 e2k_context_send_message
    at e2k-context.c line 845
  • #30 e2k_autoconfig_get_context
    at e2k-autoconfig.c line 420
  • #31 e2k_autoconfig_check_exchange
    at e2k-autoconfig.c line 666
  • #32 validate
    at e2k-autoconfig.c line 1479
  • #33 e2k_validate_user
    at e2k-autoconfig.c line 1673
  • #34 owa_authenticate_user
    at exchange-account-setup.c line 470
  • #35 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #36 IA__g_closure_invoke
    at gclosure.c line 490
  • #37 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #38 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #39 IA__g_signal_emit
    at gsignal.c line 2243
  • #40 gtk_button_clicked
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #41 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 56
  • #42 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #43 g_type_class_meta_marshal
    at gclosure.c line 567
  • #44 IA__g_closure_invoke
    at gclosure.c line 490
  • #45 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #46 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #47 IA__g_signal_emit
    at gsignal.c line 2243
  • #48 gtk_button_released
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #49 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 56
  • #50 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 56
  • #51 g_type_class_meta_marshal
    at gclosure.c line 567
  • #52 IA__g_closure_invoke
    at gclosure.c line 490
  • #53 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #54 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #55 IA__g_signal_emit
    at gsignal.c line 2243
  • #56 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 56
  • #57 gtk_widget_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #58 gtk_propagate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #59 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #60 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 56
  • #61 g_main_dispatch
    at gmain.c line 2064
  • #62 IA__g_main_context_dispatch
    at gmain.c line 2616
  • #63 g_main_context_iterate
    at gmain.c line 2697
  • #64 IA__g_main_loop_run
    at gmain.c line 2905
  • #65 bonobo_main
    at bonobo-main.c line 311
  • #66 main
    at main.c line 719
  • #0 waitpid
    from /lib64/libpthread.so.0


----------- .xsession-errors (988 sec old) ---------------------
  (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files
Audio File Library: could not open file 'filelele' [error 3]
Audio File Library: could not open file 'filelele' [error 3]
camel-Message: --
camel-Message: --
camel-Message: --
camel-Message: --
Audio File Library: could not open file 'filelele' [error 3]
Audio File Library: could not open file 'filelele' [error 3]
(evolution:7086): gtkhtml-WARNING **: oo
Audio File Library: could not open file 'filelele' [error 3]
Audio File Library: could not open file 'filelele' [error 3]
Audio File Library: could not open file 'filelele' [error 3]
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3400e91 specified for 0x3401bec (Delete acc).
--------------------------------------------------
Comment 1 Milan Crha 2008-01-22 12:19:53 UTC
Maybe it's because of some changes in GLib too, I do not know. (I'm also using trunk GLib, obviously).
Comment 2 Dan Winship 2008-01-22 14:28:22 UTC
Looks like e2k-context.c:session_authenticate() is broken; it needs an extra
arg "gboolean retrying" between the SoupAuth and the user_data. (This was a bug
in my patch.)
Comment 3 Milan Crha 2008-01-22 17:20:07 UTC
Created attachment 103464 [details] [review]
proposed eds patch

for evolution-data-server;

Thanks a lot Dan, this helped to fix it.
Comment 4 Srinivasa Ragavan 2008-01-24 03:33:01 UTC
Please commit Milan.
Comment 5 Milan Crha 2008-01-24 11:15:30 UTC
Committed to trunk. Committed revision 8415.
Comment 6 Dan Winship 2008-01-28 17:57:18 UTC
*** Bug 510316 has been marked as a duplicate of this bug. ***