OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005110 [wireshark] regular use crash always 2013-09-14 00:44 2014-03-09 12:23
Reporter jgoerzen View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0005110: wireshark dumps core
Description Previously released pkg version wireshark-1.8.6,REV=2013.04.16 does not crash. wireshark version 1.10.2 crashes with Pango & Glib errors:
 
bash-3.00$ wireshark
15:52:49 Main Info fill_in_local_interfaces() starts
15:52:49 Capture Msg Capture Interface List ...
15:52:49 Capture Dbg sync_interface_list_open
15:52:49 Capture Dbg sync_pipe_open_command
15:52:49 Capture Dbg read 7 indicator: S empty value
15:52:49 Capture Dbg sync_pipe_wait_for_child: wait till child closed
15:52:49 Capture Dbg sync_pipe_wait_for_child: capture child closed after 0.001s
15:52:49 Main Info fill_in_local_interfaces() ends, taking 0.021s

(wireshark:14882): Pango-CRITICAL **: file fonts.c: line 1093: assertion `str != NULL' failed
wireshark: Warning: fontELF not found - defaulting to Monospace 9

(wireshark:14882): GLib-CRITICAL **: g_string_append: assertion `val != NULL' failed
15:52:49 Main Info fill_in_local_interfaces() starts
15:52:49 Main Info fill_in_local_interfaces() ends, taking 0.000s
15:52:49 Capture Msg Capture Interface List ...
15:52:49 Capture Dbg sync_interface_list_open
15:52:49 Capture Dbg sync_pipe_open_command
15:52:49 Capture Dbg read 7 indicator: S empty value
15:52:49 Capture Dbg sync_pipe_wait_for_child: wait till child closed
15:52:49 Capture Dbg sync_pipe_wait_for_child: capture child closed after 0.000s
**
ERROR:main.c:3472:main_widgets_rearrange: code should not be reached

Abort (core dumped)
Additional Information bash-3.00$ mdb core
mdb: core file data for mapping at f5a01000 not saved: Bad address
mdb: core file data for mapping at f63ff000 not saved: Bad address
mdb: core file data for mapping at f6801000 not saved: Bad address
mdb: core file data for mapping at f71ff000 not saved: Bad address
Loading modules: [ libc.so.1 libuutil.so.1 ld.so.1 ]
> ::stack
libc.so.1`_lwp_kill+7(1, 6)
libc.so.1`raise+0x1f(6)
libc.so.1`abort+0xcd(8ff3af0, 0, 0, 81f552c, fc1d60bc, 8047120)
libglib-2.0.so.0.3600.3`g_assertion_message+0x177(0, 81f552c, d90, 819bc00, 0,
82cf8a8)
main_widgets_rearrange+0x333(fefd8378, 1, feffb2dc, 0, 0, 0)
main+0x1056(0, 804739c, 80473a0, 804738c)
_start+0x7d(1, 80474d8, 0, 80474e2, 8047508, 804753f)
>
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010582)
dam (administrator)
2013-09-14 17:25

I can reproduce it with a slightly different error:

(wireshark:1498): Pango-CRITICAL **: file fonts.c: line 1093: assertion `str != NULL' failed
wireshark: Warning: font zsh: segmentation fault (core dumped) wireshark
unstable10x% pstack core
core 'core' of 1498: wireshark
 fee763ec strlen (824f0a3, 8047b48, 827c120, 0) + c
 feed4352 fprintf (827c120) + ba
 081647c8 font_init (80666be, feffd768, fef90538, 0, 0, 0) + 37
 080a8316 main (0, 8047d4c, 8047d50, 8047d3c) + fe6
 0807d00d _start (1, 8047e0c, 0, 8047e16, 8047e2f, 8047e3a) + 7d

Probably there is something fishy with the font handling.
(0010583)
dam (administrator)
2013-09-14 22:54

Apparently the issue was already introduced in 1.10.0.

The upstream bug is tracked at
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9152 [^]
(0010678)
laurent (manager)
2014-01-06 21:08

I tried with 1.10.5. Same crash with the current recipe. Then after rebuilding with GCC4, it works for me.

Experimental packages there:
http://buildfarm.opencsw.org/experimental.html#laurent [^]

If no objection, I'll push.
(0010759)
laurent (manager)
2014-03-09 12:23

The new package appears to work.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker