*** glibc detected *** wireshark: free(): invalid pointer: 0x10217180 *** when reloading capture file

Bug #256053 reported by Brian J. Murrell
6
Affects Status Importance Assigned to Milestone
wireshark (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: wireshark

When you use "wireshark -r <file>" to read a capture file and then "Reload" that file in the UI, 100% of the time it will crash as such:

$ wireshark -r capture.log
[ do work in wireshark, then hit Reload icon: ]
*** glibc detected *** wireshark: free(): invalid pointer: 0x10217180 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb5ccea85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb5cd24f0]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb5fcf8b1]
/usr/lib/wireshark/libwireshark.so.0[0xb70477f4]
/usr/lib/wireshark/libwireshark.so.0[0xb69e9f59]
/usr/lib/libglib-2.0.so.0(g_slist_foreach+0x21)[0xb5fe5b11]
/usr/lib/wireshark/libwireshark.so.0(init_dissection+0x41)[0xb69ec8b1]
wireshark(cf_open+0x43)[0x8076de3]
wireshark(cf_reload+0x40)[0x8076fa0]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4f)[0xb606fa4f]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb6062759]
/usr/lib/libgobject-2.0.so.0[0xb6076d1d]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c6)[0xb6078916]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x122)[0xb6078bd2]
/usr/lib/libgtk-x11-2.0.so.0[0xb6439927]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4f)[0xb606fa4f]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb6062759]
/usr/lib/libgobject-2.0.so.0[0xb6076d1d]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c6)[0xb6078916]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb6078c59]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x8a)[0xb628b01a]
/usr/lib/libgtk-x11-2.0.so.0[0xb628cb7e]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4f)[0xb606fa4f]
/usr/lib/libgobject-2.0.so.0[0xb6061079]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb6062759]
/usr/lib/libgobject-2.0.so.0[0xb6076975]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c6)[0xb6078916]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb6078c59]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x8a)[0xb628b0aa]
/usr/lib/libgtk-x11-2.0.so.0[0xb628b0d1]
/usr/lib/libgtk-x11-2.0.so.0[0xb63648d4]
/usr/lib/libgobject-2.0.so.0[0xb6061079]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb6062759]
/usr/lib/libgobject-2.0.so.0[0xb6076ea0]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x5fe)[0xb607864e]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb6078c59]
/usr/lib/libgtk-x11-2.0.so.0[0xb6483667]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc1)[0xb635db21]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2b8)[0xb635ed88]
/usr/lib/libgdk-x11-2.0.so.0[0xb61d7a9a]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x178)[0xb5fc7bf8]
/usr/lib/libglib-2.0.so.0[0xb5fcae5e]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb5fcb1e7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb635f264]
wireshark(main+0xbc4)[0x808b854]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb5c79450]
wireshark(register_all_protocols+0x5dd)[0x80666c1]
======= Memory map: ========
08048000-08184000 r-xp 00000000 fe:02 640081 /usr/bin/wireshark
08184000-08197000 rw-p 0013b000 fe:02 640081 /usr/bin/wireshark
08197000-103e8000 rw-p 08197000 00:00 0 [heap]
ae700000-ae721000 rw-p ae700000 00:00 0
ae721000-ae800000 ---p ae721000 00:00 0
ae882000-ae883000 rw-p ae882000 00:00 0
ae883000-ae884000 ---p ae883000 00:00 0
ae884000-af281000 rw-p ae884000 00:00 0
af281000-af282000 ---p af281000 00:00 0
af282000-af283000 rw-p af282000 00:00 0
af283000-af284000 ---p af283000 00:00 0
af284000-afc81000 rw-p af284000 00:00 0
afc81000-afc82000 ---p afc81000 00:00 0
afc82000-afc83000 rw-p afc82000 00:00 0
afc83000-afc84000 ---p afc83000 00:00 0
afc84000-b0681000 rw-p afc84000 00:00 0
b0681000-b0682000 ---p b0681000 00:00 0
b0682000-b0683000 rw-p b0682000 00:00 0
b0683000-b0684000 ---p b0683000 00:00 0
b0684000-b1081000 rw-p b0684000 00:00 0
b1081000-b1082000 ---p b1081000 00:00 0
b1082000-b1083000 rw-p b1082000 00:00 0
b1083000-b1084000 ---p b1083000 00:00 0
b1084000-b1a81000 rw-p b1084000 00:00 0
b1a81000-b1a82000 ---p b1a81000 00:00 0
b1a82000-b1a83000 rw-p b1a82000 00:00 0
b1a83000-b1a84000 ---p b1a83000 00:00 0
b1a84000-b2481000 rw-p b1a84000 00:00 0
b2481000-b2482000 ---p b2481000 00:00 0
b2482000-b2483000 rw-p b2482000 00:00 0
b2483000-b2484000 ---p b2483000 00:00 0
b2484000-b2e81000 rw-p b2484000 00:00 0
b2e81000-b2e82000 ---p b2e81000 00:00 0
b2e82000-b2ee1000 r-xp 00000000 fe:02 246042 /usr/lib/libgio-2.0.so.0.0.0
b2ee1000-b2ee3000 rw-p 0005e000 fe:02 246042 /usr/lib/libgio-2.0.so.0.0.0
b2ee3000-b2ffc000 r-xp 00000000 fe:02 251816 /usr/lib/libxml2.so.2.6.31
b2ffc000-b3001000 rw-p 00119000 fe:02 251816 /usr/lib/libxml2.so.2.6.31
b3001000-b3002000 rw-p b3001000 00:00 0
b3002000-b3034000 r-xp 00000000 fe:02 246398 /usr/lib/libcroco-0.6.so.3.0.1
b3034000-b3037000 rw-p 00031000 fe:02 246398 /usr/lib/libcroco-0.6.so.3.0.1
b3037000-b3038000 r-xp 00000000 fe:02 247139 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b3038000-b3039000 rw-p 00000000 fe:02 247139 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b3039000-b303a000 rw-p b3039000 00:00 0
b303a000-b303b000 ---p b303a000 00:00 0
b303b000-b3a38000 rw-p b303b000 00:00 0
b3a38000-b3a39000 ---p b3a38000 00:00 0
b3a49000-b3a59000 rw-p b3a49000 00:00 0
b3a59000-b3cf7000 r--p 00000000 fe:02 215744 /usr/share/icons/hicolor/icon-theme.cache
b3cf7000-b4467000 r--p 00000000 fe:02 200271 /usr/share/icons/gnome/icon-theme.cache
b4467000-b4512000 r--p 00000000 fe:02 200651 /usr/share/icons/Tangerine/icon-theme.cache
b4512000-b4678000 r--p 00000000 fe:02 199150 /usr/share/icons/Human/icon-theme.cache
b4678000-b46c4000 r--p 00000000 fe:02 98791 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
b46c4000-b4710000 rw-p b4a07000 00:00 0
b4711000-b4720000 r-xp 00000000 fe:00 38656 /lib/libbz2.so.1.0.4
b4720000-b4721000 rw-p 0000f000 fe:00 38656 /lib/libbz2.so.1.0.4
b4721000-b4751000 r-xp 00000000 fe:02 246279 /usr/lib/libgsf-1.so.114.0.7
b4751000-b4754000 rw-p 0002f000 fe:02 246279 /usr/lib/libgsf-1.so.114.0.7
b4754000-b4755000 rw-p b4754000 00:00 0
b4755000-b4770000 r-xp 00000000 fe:02 482365 /usr/lib/wiAborted

Revision history for this message
maf (maf-tkrat) wrote :

I see the same thing. But I first noted it when wireshark crashed everytime I quit.
My backtrace is fairly similar:
/lib/tls/i686/cmov/libc.so.6[0xb5c97a85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb5c9b4f0]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb5f98c61]
/usr/lib/wireshark/libwireshark.so.0[0xb700e7f4]
/usr/lib/wireshark/libwireshark.so.0[0xb69b0f59]
/usr/lib/libglib-2.0.so.0(g_slist_foreach+0x21)[0xb5faee81]
/usr/lib/wireshark/libwireshark.so.0(init_dissection+0x41)[0xb69b38b1]
/usr/lib/wireshark/libwireshark.so.0(cleanup_dissection+0x17)[0xb69b38e7]
wireshark(cf_close+0x31)[0x80766f1]
wireshark(main_do_quit+0x104)[0x80891a4]

Revision history for this message
Hew (hew) wrote :

I cannot reproduce this crash with Wireshark 1.0.6 on Ubuntu Jaunty. Could you please test if the issue still occurs for you with this release? Thanks in advance.

Changed in wireshark (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in wireshark (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.