! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Dict plugin -- crash when searching for dictionaries
Status:
CLOSED: FIXED
Severity:
critical
Product:
Xfce4-dict
Component:
General

Comments

Description Ben Hearsum 2006-12-05 00:54:24 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: 

Using r2195 of the xfce4-dict-plugin I get a crash of the applet when searching for dictionary servers. This was working in 0.2.0

Reproducible: Always

Steps to Reproduce:
1. Checkout r2195 and install it
2. Add a Dict plugin to the panel
3. Click the 'find' button.
4. Observe crash

Actual Results:  
List of dict servers should be retrieved

Expected Results:  
Applet crashes

Here's all the information from the command line:

(xfce4-battery-plugin:5820): libxfce4util-CRITICAL **: xfce_rc_write_entry: assertion `value != NULL' failed
*** glibc detected *** /usr/libexec/xfce4/panel-plugins/xfce4-dict-plugin: munmap_chunk(): invalid pointer: 0x08366470 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__libc_free+0x18a)[0xb770cb4a]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7846b51]
/usr/libexec/xfce4/panel-plugins/xfce4-dict-plugin[0x804f916]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb78c9b29]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb78bc79b]
/usr/lib/libgobject-2.0.so.0[0xb78ccb93]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb78ce0b7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb78ce279]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x53)[0xb7bec093]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bedcde]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb78c9b29]
/usr/lib/libgobject-2.0.so.0[0xb78bafb9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb78bc79b]
/usr/lib/libgobject-2.0.so.0[0xb78cd02a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb78ce0b7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb78ce279]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x53)[0xb7bec123]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bec181]
/usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x60)[0xb7cbbb00]
/usr/lib/libgobject-2.0.so.0[0xb78bafb9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb78bc79b]
/usr/lib/libgobject-2.0.so.0[0xb78cd1e3]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x68f)[0xb78cde7f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb78ce279]
/usr/lib/libgtk-x11-2.0.so.0[0xb7dcf5f8]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x183)[0xb7cb4ef3]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x317)[0xb7cb60f7]
/usr/lib/libgdk-x11-2.0.so.0[0xb7b317ea]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0xb783f802]
/usr/lib/libglib-2.0.so.0[0xb78427df]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb7842b89]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7cb6574]
/usr/libexec/xfce4/panel-plugins/xfce4-dict-plugin[0x804b834]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb76bb8cc]
/usr/libexec/xfce4/panel-plugins/xfce4-dict-plugin[0x804b701]
======= Memory map: ========
08048000-08053000 r-xp 00000000 03:05 475673     /usr/libexec/xfce4/panel-plugins/xfce4-dict-plugin
08053000-08054000 rw-p 0000a000 03:05 475673     /usr/libexec/xfce4/panel-plugins/xfce4-dict-plugin
08054000-08388000 rw-p 08054000 00:00 0          [heap]
b65e8000-b65f2000 r-xp 00000000 03:05 570147     /lib/libgcc_s.so.1
b65f2000-b65f3000 rw-p 00009000 03:05 570147     /lib/libgcc_s.so.1
b65f3000-b6602000 r-xp 00000000 03:05 573189     /lib/tls/i686/cmov/libresolv-2.4.so
b6602000-b6604000 rw-p 0000f000 03:05 573189     /lib/tls/i686/cmov/libresolv-2.4.so
b6604000-b6606000 rw-p b6604000 00:00 0 
b6606000-b660a000 r-xp 00000000 03:05 573176     /lib/tls/i686/cmov/libnss_dns-2.4.so
b660a000-b660c000 rw-p 00003000 03:05 573176     /lib/tls/i686/cmov/libnss_dns-2.4.so
b661a000-b667a000 rw-s 00000000 00:08 2818053    /SYSV00000000 (deleted)
b667a000-b66e6000 r--p 00000000 03:05 166998     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b66e6000-b6d35000 r--p 00000000 03:05 147315     /usr/share/icons/gnome/icon-theme.cache
b6d35000-b7384000 r--p 00000000 03:05 147315     /usr/share/icons/gnome/icon-theme.cache
b7384000-b73f5000 r--p 00000000 03:05 167002     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b73f5000-b7406000 r-xp 00000000 03:05 899948     /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
b7406000-b7407000 rw-p 00011000 03:05 899948     /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
b7407000-b7422000 r--p 00000000 03:05 296344     /usr/share/locale-langpack/en_CA/LC_MESSAGES/gtk20-properties.mo
b7422000-b742b000 r-xp 00000000 03:05 573178     /lib/tls/i686/cmov/libnss_files-2.4.so
b742b000-b742d000 rw-p 00008000 03:05 573178     /lib/tls/i686/cmov/libnss_files-2.4.so
b742d000-b7435000 r-xp 00000000 03:05 573182     /lib/tls/i686/cmov/libnss_nis-2.4.so
b7435000-b7437000 rw-p 00007000 03:05 573182     /lib/tls/i686/cmov/libnss_nis-2.4.so
b7437000-b7449000 r-xp 00000000 03:05 573172     /lib/tls/i686/cmov/libnsl-2.4.so
b7449000-b744b000 rw-p 00011000 03:05 573172     /lib/tls/i686/cmov/libnsl-2.4.so
b744b000-b744d000 rw-p b744b000 00:00 0 
b744d000-b7454000 r-xp 00000000 03:05 573174     /lib/tls/i686/cmov/libnss_compat-2.4.so
b7454000-b7456000 rw-p 00006000 03:05 573174     /lib/tls/i686/cmov/libnss_compat-2.4.so
b745a000-b745e000 r--p 00000000 03:05 296305     /usr/share/locale-langpack/en_CA/LC_MESSAGES/glib20.mo
b745e000-b7460000 r-xp 00000000 03:05 82629      /usr/lib/pango/1.5.0/modules/pango-basic-fc.so
b7460000-b7461000 rw-p 0000100
** (xfce4-panel:5816): CRITICAL **: An item was unexpectedly removed: "Dict".
Comment 1 Enrico Tröger editbugs 2006-12-05 11:28:15 CET
Can you test r2197. Probably it's fixed because there was indeed freed a wrong pointer. But unfortunately I can't reproduce your segfault, so I need your feedback.
Comment 2 Ben Hearsum 2006-12-05 12:43:45 CET
Yep, it's fixed in 2197.

Bug #2635

Reported by:
Ben Hearsum
Reported on: 2006-12-05
Last modified on: 2009-07-15

People

Assignee:
Enrico Tröger
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information