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 361606 - crash in Epiphany Web Bookmarks: Trying to add a password...
crash in Epiphany Web Bookmarks: Trying to add a password...
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
2.16.x
Other All
: High critical
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2006-10-12 02:37 UTC by John Millikin
Modified: 2006-10-14 22:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Initial patch (1.57 KB, patch)
2006-10-12 04:31 UTC, John Millikin
reviewed Details | Review

Description John Millikin 2006-10-12 02:37:22 UTC
Version: 2.16.1

What were you doing when the application crashed?
Trying to add a password via the Python bindings.

Simply executing these two lines in the Python console can duplicate the segfault:

import epiphany
epiphany.ephy_embed_shell_get_default().get_embed_single().add_password(epiphany.PasswordInfo('host', 'user', 'pw'))


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 156958720 vsize: 0 resident: 156958720 share: 0 rss: 39497728 rss_rlim: 0
CPU usage: start_time: 1160620557 rtime: 0 utime: 221 stime: 0 cutime:204 cstime: 0 timeout: 17 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/epiphany'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1228745040 (LWP 30214)]
[New Thread -1345045600 (LWP 30224)]
[New Thread -1336652896 (LWP 30223)]
[New Thread -1328260192 (LWP 30222)]
[New Thread -1311450208 (LWP 30221)]
[New Thread -1319842912 (LWP 30220)]
[New Thread -1302037600 (LWP 30218)]
[New Thread -1248502880 (LWP 30217)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1228745040 (LWP 30214))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libc.so.6
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 gtk_moz_embed_get_title
    from /usr/lib/firefox/libgtkembedmoz.so
  • #4 <signal handler called>
  • #5 ??
  • #6 ephy_password_manager_add_password
  • #7 ephy_python_loader_get_type
  • #8 PyCFunction_Call
    from /usr/lib/libpython2.4.so.1.0
  • #9 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #10 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #11 PyEval_EvalCode
    from /usr/lib/libpython2.4.so.1.0
  • #12 PyRun_StringFlags
    from /usr/lib/libpython2.4.so.1.0
  • #13 _PyBuiltin_Init
    from /usr/lib/libpython2.4.so.1.0
  • #14 PyCFunction_Call
    from /usr/lib/libpython2.4.so.1.0
  • #15 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #16 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #17 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #18 PyEval_EvalFrame
    from /usr/lib/libpython2.4.so.1.0
  • #19 PyEval_EvalCodeEx
    from /usr/lib/libpython2.4.so.1.0
  • #20 PyClassMethod_New
    from /usr/lib/libpython2.4.so.1.0
  • #21 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #22 PyClass_IsSubclass
    from /usr/lib/libpython2.4.so.1.0
  • #23 PyObject_Call
    from /usr/lib/libpython2.4.so.1.0
  • #24 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.4.so.1.0
  • #25 PyObject_CallObject
    from /usr/lib/libpython2.4.so.1.0
  • #26 init_gobject
    from /var/lib/python-support/python2.4/gtk-2.0/gobject/_gobject.so
  • #27 IA__g_closure_invoke
    at gclosure.c line 490
  • #28 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #29 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #30 IA__g_signal_emit
    at gsignal.c line 2243
  • #31 gtk_widget_event_internal
    at gtkwidget.c line 3911
  • #32 IA__gtk_window_propagate_key_event
    at gtkwindow.c line 4671
  • #33 gtk_window_key_press_event
    at gtkwindow.c line 4701
  • #34 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #35 g_type_class_meta_marshal
    at gclosure.c line 567
  • #36 IA__g_closure_invoke
    at gclosure.c line 490
  • #37 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #38 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #39 IA__g_signal_emit
    at gsignal.c line 2243
  • #40 gtk_widget_event_internal
    at gtkwidget.c line 3911
  • #41 IA__gtk_propagate_event
    at gtkmain.c line 2185
  • #42 IA__gtk_main_do_event
    at gtkmain.c line 1445
  • #43 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #44 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #45 g_main_context_iterate
    at gmain.c line 2677
  • #46 IA__g_main_loop_run
    at gmain.c line 2881
  • #47 IA__gtk_main
    at gtkmain.c line 1024
  • #48 main
  • #0 __kernel_vsyscall

Comment 1 John Millikin 2006-10-12 04:29:25 UTC
This seems to be due to an unimplemented function in the Mozilla embed. I'm attaching a patch to implement it, which fixes the problem for me.
Comment 2 John Millikin 2006-10-12 04:31:08 UTC
Created attachment 74538 [details] [review]
Initial patch

Added patch to implement the EphyPasswordManagerIface.add method
Comment 3 Wouter Bolsterlee (uws) 2006-10-14 22:05:40 UTC
The patch works fine for me. I see the new password in the list of stored passwords.

chpe, should I commit this?
Comment 4 Wouter Bolsterlee (uws) 2006-10-14 22:16:03 UTC
2006-10-15  Wouter Bolsterlee  <wbolster@gnome.org>

    * embed/mozilla/mozilla-embed-single.cpp:
    Implement EphyPasswordManagerIface.add to add stored
    passwords. Fixes bug #361606, patch by John Millikin.