Re: [dev] [bug] wmii segfaults on sudo wireshark

From: dtk <d.t.k_AT_gmx.de>
Date: Tue, 25 Jan 2011 00:42:22 +0100

On 01/24/2011 10:44 PM, dtk wrote:
> On 01/23/2011 10:21 PM, Kris Maglione wrote:
>> On Sun, Jan 23, 2011 at 05:26:30PM +0100, dtk wrote:
>>> On 01/14/2011 04:52 PM, Kris Maglione wrote:
>>>> On Fri, Jan 14, 2011 at 04:13:34PM +0100, dtk wrote:
>>>>> Running wireshark as my default non-priviledged user works fine, as
>>>>> does
>>>>> running wireshark as root under awesome/gnome.
>>>>>
>>>>> The wireshark splash displays nicely, showing the modules being loaded,
>>>>> and I can glance the error dialog stating that some lua functionality
>>>>> has been disabled, due to being run as root, before wmii crashes, gdm
>>>>> reloads and prompts me with the user selection to log me in again.
>>>>>
>>>>> Can anybody confirm this behaviour?
>>>>
>>>> No. Can you perchance provide a backtrace?
>>>
>>> Actually, I don't know how to (besides compiling from source), since the
>>> binary from the ubuntu package doesn't contain debug symbols :/
>>
>> Yes, compiling from source is the thing to do. I believe you can do
>> something like:
>>
>> DEB_BUILD_OPTIONS="nostrip" make deb
>>
> k, will try, but I don't know yet when I'll find the time to do so.
otoh: who needs to sleep anyway? -.-

[stacktrace]
dtk_AT_minibox:/media/devel/wmii/deb/wmii-3.9.2~lucid$ gdb wmii
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/wmii...done.
(gdb) run
Starting program: /usr/bin/wmii
/etc/X11/wmii/wmiirc: line 1: !/bin/dash: No such file or directory

Program received signal SIGSEGV, Segmentation fault.
0x08058d77 in msg_selectarea (a=0x8092da8, m=0xbffff01c) at message.c:944
944 if(!ap || ap->floating)
(gdb)
(gdb) backtrace
#0 0x08058d77 in msg_selectarea (a=0x8092da8, m=0xbffff01c) at
message.c:944
#1 0x0805921b in message_view (v=0x8092c58, m=0xbffff01c) at message.c:706
#2 0x080634f3 in ixp_srv_writectl (req=0x80abf88, fn=0x8058ed9
<message_view>) at srv_util.c:181
#3 0x08054ca2 in fs_write (r=0x80abf88) at fs.c:560
#4 0x08062ad1 in handlereq (r=0x80abf88) at request.c:344
#5 0x08062c44 in handlefcall (c=0x809ce80) at request.c:139
#6 0x08062d6f in handle_conns (s=0x8072fa0) at server.c:113
#7 ixp_serverloop (s=0x8072fa0) at server.c:161
#8 0x0805756c in main (argc=1, argv=<value optimized out>) at main.c:447
(gdb)
[/stacktrace]

hth
dtk
Received on Tue Jan 25 2011 - 00:42:22 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 25 2011 - 00:48:02 CET