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 572445 - crash in Epiphany Web Browser: Middle-clicked on a shor...
crash in Epiphany Web Browser: Middle-clicked on a shor...
Status: RESOLVED INVALID
Product: epiphany
Classification: Core
Component: Bookmarks
2.24.x
Other All
: High critical
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-19 16:23 UTC by Sam Morris
Modified: 2009-02-20 13:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sam Morris 2009-02-19 16:23:34 UTC
Version: 2.24.3

What were you doing when the application crashed?
Middle-clicked on a shortcut added to the toolbar


Distribution: Debian 5.0
Gnome Release: 2.24.2 2009-01-04 (Debian)
BugBuddy Version: 2.24.2

System: Linux 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10599902
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 609914880 vsize: 609914880 resident: 69898240 share: 31080448 rss: 69898240 rss_rlim: 18446744073709551615
CPU usage: start_time: 1235060577 rtime: 192 utime: 172 stime: 20 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[Thread debugging using libthread_db enabled]
[New Thread 0x7fab43fe9780 (LWP 4409)]
[New Thread 0x42e58950 (LWP 4425)]
[New Thread 0x4565d950 (LWP 4424)]
[New Thread 0x4465b950 (LWP 4422)]
[New Thread 0x43e5a950 (LWP 4421)]
[New Thread 0x40bb1950 (LWP 4420)]
[New Thread 0x43659950 (LWP 4417)]
[New Thread 0x42657950 (LWP 4410)]
0x00007fab403b65ef in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7fab43fe9780 (LWP 4409))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 IA__g_spawn_sync
    at /build/buildd/glib2.0-2.18.4/glib/gspawn.c line 382
  • #2 IA__g_spawn_command_line_sync
    at /build/buildd/glib2.0-2.18.4/glib/gspawn.c line 694
  • #3 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 nsProfileLock::FatalSignalHandler
    at nsProfileLock.cpp line 216
  • #6 <signal handler called>
  • #7 strcmp
    from /lib/libc.so.6
  • #8 clipboard_text_received_cb
    at /scratch/build-area/epiphany-browser-2.24.3/src/bookmarks/ephy-bookmark-action.c line 90
  • #9 request_text_received_func
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkclipboard.c line 948
  • #10 selection_received
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkclipboard.c line 860
  • #11 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.18.4/gobject/gclosure.c line 767
  • #12 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c line 3244
  • #13 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c line 2977
  • #14 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c line 3071
  • #15 gtk_selection_retrieval_report
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkselection.c line 2918
  • #16 _gtk_selection_notify
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkselection.c line 2699
  • #17 _gtk_marshal_BOOLEAN__BOXED
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkmarshalers.c line 84
  • #18 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.18.4/gobject/gclosure.c line 767
  • #19 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c line 3282
  • #20 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c line 2987
  • #21 IA__g_signal_emit
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c line 3034
  • #22 gtk_widget_event_internal
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkwidget.c line 4745
  • #23 IA__gtk_main_do_event
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkmain.c line 1574
  • #24 gdk_event_dispatch
    at /tmp/buildd/gtk+2.0-2.14.7/gdk/x11/gdkevents-x11.c line 2365
  • #25 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.18.4/glib/gmain.c line 2144
  • #26 g_main_context_iterate
    at /build/buildd/glib2.0-2.18.4/glib/gmain.c line 2778
  • #27 IA__g_main_context_iteration
    at /build/buildd/glib2.0-2.18.4/glib/gmain.c line 2841
  • #28 nsBaseAppShell::DoProcessNextNativeEvent
    at nsBaseAppShell.cpp line 151
  • #29 nsBaseAppShell::OnProcessNextEvent
    at nsBaseAppShell.cpp line 296
  • #30 nsThread::ProcessNextEvent
    at nsThread.cpp line 497
  • #31 NS_ProcessPendingEvents_P
    at nsThreadUtils.cpp line 180
  • #32 nsBaseAppShell::NativeEventCallback
    at nsBaseAppShell.cpp line 121
  • #33 nsAppShell::EventProcessorCallback
    at nsAppShell.cpp line 69
  • #34 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.18.4/glib/gmain.c line 2144
  • #35 g_main_context_iterate
    at /build/buildd/glib2.0-2.18.4/glib/gmain.c line 2778
  • #36 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.18.4/glib/gmain.c line 2986
  • #37 IA__gtk_main
    at /tmp/buildd/gtk+2.0-2.14.7/gtk/gtkmain.c line 1200
  • #38 main
    at /scratch/build-area/epiphany-browser-2.24.3/src/ephy-main.c line 751
  • #0 waitpid
    from /lib/libpthread.so.0


----------- .xsession-errors (114 sec old) ---------------------
Initializing nautilus-open-terminal extension
** (nautilus:3980): WARNING **: Unable to add monitor: Not supported
** (gnome-panel:3977): WARNING **: Failed to establish a connection with GDM: No such file or directory
(gnome-panel:3977): Gdk-WARNING **: /tmp/buildd/gtk+2.0-2.14.7/gdk/x11/gdkdrawable-x11.c:878 drawable is not a pixmap or window
CalDAV Eplugin starting up ...
evolution-shell-Message: Killing old version of evolution-data-server...
** (evolution:4123): DEBUG: mailto URL command: evolution %s
** (evolution:4123): DEBUG: mailto URL program: evolution
sys:1: Warning: g_hash_table_unref: assertion `hash_table != NULL' failed
Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect
Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect
Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect
--------------------------------------------------
Comment 1 Reinout van Schouwen 2009-02-19 16:57:12 UTC
Trace looks unique. Is the crash reproducable?
Comment 2 Sam Morris 2009-02-19 17:35:33 UTC
Yes. If you can't reproduce it, maybe it matters that it's a toolbar shortcut to a site using https?
Comment 3 Christian Persch 2009-02-19 17:40:29 UTC


  • #6 <signal handler called>
  • #7 strcmp
    from /lib/libc.so.6
  • #8 clipboard_text_received_cb
    at /scratch/build-area/epiphany-browser-2.24.3/src/bookmarks/ephy-bookmark-action.c line 90

Looks impossible to me, since we only call strcmp here if text != NULL... can you break this in gdb and print text, *ctx, and *ctx->entry ?
Comment 4 Sam Morris 2009-02-20 00:41:14 UTC
Ok, I think you'll be able to reproduce this if the button is a shortcut to a site that uses http authentication, and you have not yet entered your credentials this browser session.

(gdb) up
  • #1 clipboard_text_received_cb
    at /build/buildd/epiphany-browser-2.24.3/src/bookmarks/ephy-bookmark-action.c line 90

(gdb) print text
$2 = 0x0

(gdb) print *ctx
$3 = {weak_ptr = 0xa9465a0, entry = 0xa87cd88, flags = 6, activate = 1}

(gdb) print *ctx->entry
$4 = {object = {parent_instance = {g_type_instance = {g_class = 0xa832020}, 
      ref_count = 1, qdata = 0xa758fb0}, flags = 2100736}, 
  private_flags = 15872, state = 0 '\0', saved_state = 0 '\0', name = 0x0, 
  style = 0xa594228, requisition = {width = 0, height = 0}, allocation = {
    x = -1, y = -1, width = 1, height = 1}, window = 0x0, parent = 0xa964b70}

Comment 5 palfrey 2009-02-20 11:59:28 UTC
(In reply to comment #0)
> #6  <signal handler called>
> #7  0x00007fab3f21ca90 in strcmp () from /lib/libc.so.6
> #8  0x0000000000474f47 in clipboard_text_received_cb (
>     clipboard=<value optimized out>, text=0x0, ctx=0x3a75680)
>     at
> /scratch/build-area/epiphany-browser-2.24.3/src/bookmarks/ephy-bookmark-action.c:90

This appears to be due to the Debian patch for this code. In the upstream version, text == NULL means the strcmp never gets hit. However, http://patch-tracking.debian.net/patch/series/view/epiphany-browser/2.24.3-1/10_smart_bookmarks.patch indicates that the Debian patch for epiphany rewrites this....
Comment 6 Christian Persch 2009-02-20 13:01:17 UTC
Oh great, another botched patch in a debian package. What a surprise... NOT!
Comment 7 Sam Morris 2009-02-20 13:29:15 UTC
I have filed this at
<http://bugs.debian.org/516286>