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.
>
> As a side note: I just tried wmii at work and realized that the problem
> only exists when I use the ruby configuration (with ruby 1.9.1?).
>
> Here's my current setup:
> {{{
> dtk_AT_minibox:~$ cat .wmii/wmiirc_local
> wmiir xwrite /ctl spawn ruby/wmiirc
> dtk_AT_minibox:~$ diff /etc/X11/wmii/ruby/ .wmii/ruby
> diff /etc/X11/wmii/ruby/wmiirc .wmii/ruby/wmiirc
> 1c1
> < #!/usr/bin/env ruby
> ---
>> #!/usr/bin/ruby1.9.1
> Only in .wmii/ruby: wmiirc.log
> dtk_AT_minibox:~$
> }}}
>
> And yepp: That dies badly when executing wireshark as root. Can anybody
> reproduce that?
>
> Might it be a problem with ruby 1.9.1? Do I need 1.9(.1) for the ruby
> config (think I read so somewhere)?
hmm, I'm pretty sure right now that it works with 1.9 and with 1.8
{{{
dtk_AT_minibox:~$ ps -ef | grep wmiirc
dtk 9293 1 0 Jan24 ? 00:00:02 /usr/bin/ruby
/home/dtk/.wmii/ruby/wmiirc
dtk 12743 9407 0 00:05 pts/1 00:00:00 grep wmiirc
dtk_AT_minibox:~$ /usr/bin/ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
dtk_AT_minibox:~$ gem1.8 list
*** LOCAL GEMS ***
rumai (3.3.1)
dtk_AT_minibox:~$
}}}
but both suffer from the segfault over here.
pretty clueless
dtk
Received on Tue Jan 25 2011 - 00:07:29 CET
This archive was generated by hypermail 2.2.0 : Tue Jan 25 2011 - 00:12:02 CET