Re: [Bug 475327] Re: qemu -net nic -net tap does not start due to qemu-ifXXX scripts

2011-05-03 Thread dl9sau
On 2011-05-03 16:12:53 -, Olivier Mengué 475...@bugs.launchpad.net
wrote in 20110503161253.22907.24156.mal...@wampee.canonical.com:
 @dl9sau: if NAT is enough for you, don't use -net tap: -net user is
 much simpler to setup.

This is no option.

It's generally not a good idea to force a user's network interface to
become reconfigured. There are various reasons, like:
  - security: his firewall filter rules may not apply anymore, the system is 
open to the world
  - what makes you think that the guess (use the iface with the default route 
as bridge) is always right? There may be more other scenarios where the 
services the qemu instances provide should be offered to the local network, not 
to the internet..
  - problems if your computer is a WLAN STA (client) -- managed mode and 
bridging are mutaly exclusive
  - your script only works in the special case that the interface with the 
default route is already part of a bride. only then you could apply a brctl 
addif .. This is no normal setup.

The up/down script is mess and should be removed.

Kind regards,
- Thomas Osterried

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/475327

Title:
  qemu -net nic -net tap does not start due to qemu-ifXXX scripts

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 555573] Re: [g41] GPU hung: Failed to submit batchbuffer: Input/output error

2010-07-13 Thread dl9sau
This bug happend yesterday again. The third time.
This time I was just typing, into a gnome-terminal - and zok! X11 died. 
Console. Unhappy.

-- 
[g41] GPU hung:  Failed to submit batchbuffer: Input/output error
https://bugs.launchpad.net/bugs/73
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 555573] Re: [g41] GPU hung: Failed to submit batchbuffer: Input/output error

2010-06-01 Thread dl9sau
This bugs affects me also.
Yesterday and today.

Linux tomate 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 
x86_64 GNU/Linux
Lucid. 64bit.

Same graphic chip:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Samsung Electronics Co Ltd Device c504
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d810 (32-bit, non-prefetchable) [size=512K]
I/O ports at 1800 [size=8]
Memory at c000 (32-bit, prefetchable) [size=256M]
Memory at d820 (32-bit, non-prefetchable) [size=256K]
Capabilities: access denied
Kernel driver in use: i915
Kernel modules: i915

===

Last words of the dying xorg server:

Fatal server error:
Failed to submit batchbuffer: Input/output error


Please consult the The X.Org Foundation support 
 at http://wiki.x.org
 for help. 
Please also check the log file at /var/log/Xorg.0.log for additional 
information.

 ddxSigGiveUp: Closing log


00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller (rev 03)
Subsystem: Samsung Electronics Co Ltd Device c504
Flags: fast devsel
Memory at d818 (32-bit, non-prefetchable) [size=512K]
Capabilities: access denied

===

History: X11 server was stable on karmic and in the first weeks of
lucid. It happened yesterday and today. Probably due to reboot after a
new kernel. X11 was unusable with this graphic chip in jaunty. It was
really stable in intrepid and before. Since karmic, there are refresh
errors: textlines become garbage; sometimes they disappear completely -
you'll recognize, as soon as you don't understand context of the text
you read anymore ;)

-- 
[g41] GPU hung:  Failed to submit batchbuffer: Input/output error
https://bugs.launchpad.net/bugs/73
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 414744] Re: libpcap issue: tcpdump consumes 100% cpu power after interface shutdown

2010-05-04 Thread dl9sau
I was lucky to see an update of the description these days (even if it mostly 
changed tabs to spaces or so).
Let me congratulate to Ubuntu Lucid Lynx 10.04 LTS (s stands for support, 
eh?).
Ok, Jaunty - no support. Karmic - no support. With Lucid, we've at least one 
thing: longer time for finishing the support.
But in the change of the description we read:
  + The issue was fixed upstream as part of version 1.1.0 (now 1.1.1), which   
 
will be in Maverick as soon as Debian imports begin.  
  + The attached patch, while developed independently, is effectively identical 
to the fix implemented upstream.  
- No support for LongTermSupport Lucid(!). It will be fixed in the 
short-time-supported successor Maverick.

Furhermore we read that someone else has developed independently a
patch. That's nice. But even if 10 or 100 different people would have
invested their spare time to develop seperatly the same patch (what a
non-sense ;)  - it wouldn't have helped to get it into ubuntu.

I'm really, really upset.

A high-CPU-load problem with a patch available needs one year for still-
not-being resolved. How on the other hand will it be with a security
issue (segfaults and so on), when no one provides a patch (or no one
submits it to launchpad, because we've learned it does not help)?

Time to leave. This has no future. bye

-- 
libpcap issue: tcpdump consumes 100% cpu power after interface shutdown
https://bugs.launchpad.net/bugs/414744
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474984] Re: in Kmail, The URL links are wrongly escaped, they show text amp; instead of

2010-04-23 Thread dl9sau
Another parser issue.

In an E-Mail, I discussed a part of an URL:
/members/ in the path ...

kmail shows
members in the path
 this word is being displayed in italic, and the surrounding '/' 
characters are omited.

Thus the discussion went the wrong way, until we recognized the
displaying problem in kmail.

Emotions and other stuff are set to off in the preferences.

-- 
in Kmail, The URL links are wrongly escaped, they show text  amp; instead of 

https://bugs.launchpad.net/bugs/474984
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 414744] Re: libpcap issue: tcpdump consumes 100% cpu power after interface shutdown

2010-03-15 Thread dl9sau
On 2010-03-13 21:30:38 -, eapache eapa...@gmail.com
wrote in 20100313213038.2388.27067.mal...@soybean.canonical.com:
 I'm so sorry! I've been triaging and working on bugs filed against the
 libpcap package for a while now, and I only just realized that there
 are also bugs filed against the libpcap0.8 package.

I'm really not happy with this.

This bug appeared in Ubuntu Jaunty and I submitted it a few days after
it's release (2009-04-29). It was not fixed and I did not even get a response.
A few days after Karmic's release (2009-08-17) where the bug was still
present I developed and submitted a patch. Again nothing happened (no reaction,
no thanks, no technical critics on the patch) - until 2010-03-13. And now you
say:

 I've added your patch as an attachment. I've also been in contact with
 upstream, and there is a new upstream version coming down the pipe in
 the next short while. I don't think there's much hope for karmic
 anymore, but I should be able to get this into Lucid one way or another.

- no hope for Karmic? That means two complete Ubuntu versions with this bug.
Karmic is supposed to be supported until April 2011 (- +1 year from now).

We are not discussing about a new feature or a new library version here.
It's a bugfix which could be added - quickly, after a code review.

Please note that Jaunty is also affected, which is supported until October
2010 - and where it will never be fixed.

In the past, new Ubuntu versions always introduced new bugs.

I.e. practical inusability of X11 on my graphic-chip on Jaunty which was
stable over years with previous Ubuntu versions. It was (partly) fixed
by advertising to upgrade to the release candidate of karmic; see
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/
419958 [partly means: no crashes anymore (previously  2 days); but in
karmic, sometimes characters are not display until you scroll or mark it with
your mouse..]
Or look at report https://bugzilla.gnome.org/show_bug.cgi?id=575548 
(gnome-session-manager bug, on Intrepid); it was fixed with the upgrade to
Jaunty. But: Intrepid is still supported (until April 2010).

With Karmic, I've noted down about 35 new bugs (some of them were fixed over
the time, some goes daily on my nerves).
With a response time of 0.5-2 years to a bug submitted on launchpad and the
perspective to get a fix for the next or next-to-next Ubuntu version it's
not really motivating to invest the time to submit all the bugs I
discovered. Instead, it may be recommended to switch over to another linux
distribution - something I tried to avoid over the years, regardless how
unhappy I was.

Ubuntu has real, heavy problems. Because you as a maintainer are in a
better position to report the disappointments of the users about the
quality issues upstream, I've wrote my complains in detail here.
I've to stress that I do not blame you. It's also ok to oversee a
bug report. But due to my experience, it's a common problem ubuntu has -
and they have to solve this quality problem, otherwise users will leave. I've
the ear on the local community, and I know I'm not alone with my concerns.

Kind regards,

- Thomas Osterried

** Bug watch added: GNOME Bug Tracker #575548
   https://bugzilla.gnome.org/show_bug.cgi?id=575548

-- 
libpcap issue: tcpdump consumes 100% cpu power after interface shutdown
https://bugs.launchpad.net/bugs/414744
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 414744] Re: libpcap issue: tcpdump consumes 100% cpu power after interface shutdown

2010-03-13 Thread dl9sau
On 2010-03-13 22:31:07 -, Brian Murray br...@ubuntu.com
wrote in 20100313223108.6527.61193.launch...@soybean.canonical.com:
 ** Tags added: patch

ah, ok. and now?

-- 
libpcap issue: tcpdump consumes 100% cpu power after interface shutdown
https://bugs.launchpad.net/bugs/414744
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474984] Re: in Kmail, The URL links are wrongly escaped, they show text amp; instead of

2010-02-24 Thread dl9sau
I received an email with an URL. It displays wrong.

I typed v for viewing the (raw) mail content:

[..]
Subject: =?ISO-8859-1?Q?Passwortanforderung f=FCr Ihr Nutzerkonto?=
MIME-Version: 1.0
Content-Type: text/plain;
  charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
From: xxx
Reply-To:xxx
Message-Id: 20100224150443.x...@antares-a.db.messe.de
Date: Wed, 24 Feb 2010 16:04:43 +0100 (CET)
X-Scanned-By: MIMEDefang 2.63 on 192.168.14.2
X-Kolab-Scheduling-Message: FALSE
X-UID: 255
X-Length: 2603
Status: R
X-Status: N
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

Sehr geehrte Nutzerin / Sehr geehrter Nutzer,

bitte klicken Sie zum Ändern Ihres Passwortes auf den folgenden Link:

http://www.cebit.de//passwort_vergessen_d.html?sprache=1ssl_action=PasswortVergessenUpdatecode=ryryryryry

Mit freundlichen Grüßen


This message is text/plain. It has no encoding.
My kmail is also configured to only show plain text and not html.

The message is displayed as:

Passwortanforderung für Ihr Nutzerkonto
Von: 
xxx
  An: 
xxx
  Datum: 
Heute 16:04:43
   
Sehr geehrte Nutzerin / Sehr geehrter Nutzer,

bitte klicken Sie zum Ändern Ihres Passwortes auf den folgenden Link:

http://www.cebit.de//passwort_vergessen_d.html?sprache=1amp;ssl_action=PasswortVergessenUpdateamp;code=ryryryryry

Mit freundlichen Grüßen
Ihr Internetteam der Deutschen Messe


You see the amp; which is not in the real message?
You could imaginge if I paste this to firefox? - Parts of the URL are cut-off. 
And I surfed again and again to the password-forgotton-request-new-by-mail web 
page, instead of the i-received-that-mail-and-here-I-confirm-this.

-- 
in Kmail, The URL links are wrongly escaped, they show text  amp; instead of 

https://bugs.launchpad.net/bugs/474984
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdepim in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


Re: [Bug 48199] Re: multimon crashes Xorg when window is closed

2010-02-13 Thread dl9sau
Yes, the author applied my patch to his upstream version right after my
complain.

On 2010-02-13 01:35:36 -, Kamal Mostafa ka...@whence.com
wrote in 20100213013537.15639.43037.mal...@potassium.ubuntu.com:
 This bug was fixed in the package multimon 1.0-5, which is scheduled to
 be released in Ubuntu Lucid.
 
 I have also made available a build of multimon 1.0-5 for Ubuntu Karmic in my 
 PPA:
 https://launchpad.net/~kamalmostafa/+archive/multimon-1.0-5
 
 Thanks to everyone involved with the diagnosis and resolution of this
 issue.
 
 -
 
 multimon (1.0-5) unstable; urgency=low
 
   * Include newer gen.c and xdisplay.c versions from Thomas Sailer
 dated 2009-03-24. (Closes: #247857)
   * Include Joerg Woelke's patch to run sox correctly. (Closes: #536228)
   * depend upon sox. (Closes: #555391)
   * The man pages added in 1.0-4 must help,
 no recent complaints. (Closes: #205003)
  -- Ubuntu Archive Auto-Sync  arch...@ubuntu.com   Sat,  05 Dec 2009 
 21:32:06 +
 
 ** Changed in: multimon (Ubuntu)
Status: Confirmed = Fix Released
 
 -- 
 multimon crashes Xorg when window is closed
 https://bugs.launchpad.net/bugs/48199
 You received this bug notification because you are a direct subscriber
 of the bug.

-- 
multimon crashes Xorg when window is closed
https://bugs.launchpad.net/bugs/48199
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 372324] Re: Notebook does not suspend - not a kernel- but a design problem

2010-01-14 Thread dl9sau
It was a jaunty bug. Jaunty was the most instable ubuntu version for
me.
Since I upgraded to karmic, this error did not appear (afaik).

On 2010-01-14 21:26:01 -, Kamus kamu...@gmail.com
wrote in 20100114212601.4523.61195.mal...@potassium.ubuntu.com:
 Thank you for taking the time to report this bug and helping to make
 Ubuntu better. You reported this bug a while ago and there hasn't been
 any activity in it recently. We were wondering if this is still an issue
 for you? Thanks in advance.
 
 -- 
 Notebook does not suspend - not a kernel- but a design problem
 https://bugs.launchpad.net/bugs/372324
 You received this bug notification because you are a direct subscriber
 of the bug.

-- 
Notebook does not suspend - not a kernel- but a design problem
https://bugs.launchpad.net/bugs/372324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 414744] Re: libpcap issue: tcpdump consumes 100% cpu power after interface shutdown

2009-12-24 Thread dl9sau
Anyone here? - It can't be so difficult to apply the patch I submitted
above - four months ago.

-- 
libpcap issue: tcpdump consumes 100% cpu power after interface shutdown
https://bugs.launchpad.net/bugs/414744
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 435367] Re: gnome-terminal assert failure: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)

2009-09-27 Thread dl9sau
Terminal windows are one of developer's most important tool. It's a real pain 
that the terminal program (and all it wonderful open windows with important 
stuff) dies just because it should print binary data.
In a remote ssh session i did a wget for a program at sorceforge which resulted 
in the file strace-4.5.18.tar.bz2?use_mirror=dfn.
Well, the usual question ist it a bz2 or just a referer? I did cat 
strace-4.5.18.tar.bz2?use_mirror=dfn and gnome-terminal crashed.

System here ubuntu karmic 64bit.

-- 
gnome-terminal assert failure: 
Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion 
failed: (fd || !len)
https://bugs.launchpad.net/bugs/435367
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 372324] Re: Notebook does not suspend - not a kernel- but a design problem

2009-09-14 Thread dl9sau
After not being able to use vlc during my whole jaunty period, because
it segfaulted right after playing the first song, I'm happy to announce
that vlc works again with ubuntu karmic.

-- 
Notebook does not suspend - not a kernel- but a design problem
https://bugs.launchpad.net/bugs/372324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 414744] Re: libpcap issue: tcpdump consumes 100% cpu power after interface shutdown

2009-09-14 Thread dl9sau
This bug still exists in karmic.

Btw, it's a bit disappointing. I provided a fix here - and there was no
response, no action, anything.

-- 
libpcap issue: tcpdump consumes 100% cpu power after interface shutdown
https://bugs.launchpad.net/bugs/414744
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 419958] Re: [i945GM] X-Server crashes almost once a day

2009-09-14 Thread dl9sau
Just upgraded to karmic. May tell more in a few days.

-- 
[i945GM] X-Server crashes almost once a day
https://bugs.launchpad.net/bugs/419958
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 419958] [NEW] X-Server crashes almost once a day

2009-08-27 Thread dl9sau
Public bug reported:

Binary package hint: xserver-xorg-video-intel

System: ubuntu jaunty 64bit
Hardware: Notebook Samsung Q35. Intel GMA 950 video card.

$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03)

Before my upgrade to ubuntu jaunty there were no issues in regard to the 
graphics card.
After the upgrade to jaunty, my X11 server crashes every 1 to 2 days. It's a 
real pain.

First the symptom was that the system looked like it freezes up (screen
visible; sometimes the mouse pinter was movable; sometimes not or
invisible). No keyboard keys and button had an effect (except for the
backlight button). But the kernel still was alive (i.e. the music played
a bit longer - until the program terminated due to the crash crash of
whatever). That's why I concluded it's not a kernel but an Xorg issue.

In an article about bad support of the intel chips i read about the hint to 
disable DRI.
After disabling DRI, the behavior  slightly changed: in the 1 to 2 days 
crashes, I'm now logged out and the gdm login manager reappears.

Xorg.0.log does not show anything. Likewise
/var/log/{messages,syslog,..}

Because it really goes to my nerves I write this report today.

Btw, I have the gnome desktop. Since my upgrade to jaunty some kde
applications have black bars in some text fields (i.E. when writing or
moving the cursor in kmail's To: field, the text becomes black).

There's no special application triggering the problem. Mostly I was
typing in a gnome-terminal via ssh to a remote host. But sometimes i
scrolled down in my webbrowser, or wrote in gvim - or was thinking and
just pressed the shift button.

I've not enabled desktop effekts.

Attached below: Xorg.0.log.old

Regards,
  - Thomas Osterried

** Affects: xserver-xorg-video-intel (Ubuntu)
 Importance: Undecided
 Status: New

-- 
X-Server crashes almost once a day
https://bugs.launchpad.net/bugs/419958
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 419958] Re: X-Server crashes almost once a day

2009-08-27 Thread dl9sau

** Attachment added: Xorg.0.log.old
   http://launchpadlibrarian.net/30903382/Xorg.0.log.old

-- 
X-Server crashes almost once a day
https://bugs.launchpad.net/bugs/419958
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 414744] [NEW] libpcap issue: tcpdump consumes 100% cpu power after interface shutdown

2009-08-17 Thread dl9sau
Public bug reported:

Binary package hint: libpcap0.8

Programs using libpcap0.8, like tcpdump, show the behavior that they consume 
100% CPU power instead of error-handling / termination.
It's a problem in libpcap. I traced it down and present a fix here.
I wrote to ubuntu-devel-disc...@lists.ubuntu.com 
(https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2009-August/009194.html)
 and the maintainer, Romain Francoise, on Aug 7. But there was no response.

This fix goes belong with my report 
https://bugs.launchpad.net/ubuntu/+source/tcpdump/+bug/369288 (concerning 
tcpdump), which I have closed because I found it's a libpcap problem.
Perhaps it may be needed to check why it occured: has libpcap recently changed 
in the poll() handling - or did the linux kernel counterpart change?

test screnario:
r...@tomate:/tmp# openvpn --dev tun 
r...@tomate:/tmp# ifconfig tun0 up 
r...@tomate:/tmp# tcpdump -ni tun0 


strace -tt -p 12238 /tmp/a 21

10:14:39.250055 poll([{fd=3, events=POLLIN}], 1, 1000) = 0 (Timeout)
10:14:40.251505 poll([{fd=3, events=POLLIN}], 1, 1000) = 0 (Timeout)
10:14:41.252910 poll([{fd=3, events=POLLIN}], 1, 1000) = 0 (Timeout)
10:14:42.254355 poll([{fd=3, events=POLLIN}], 1, 1000) = 0 (Timeout)
10:14:43.255764 poll([{fd=3, events=POLLIN}], 1, 1000) = 0 (Timeout)
10:14:44.257102 poll([{fd=3, events=POLLIN}], 1, 1000) = 0 (Timeout)

here i terminated openvpn; dev tun0 closes

10:14:45.258137 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.392988 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393089 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393182 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393257 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393361 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393436 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393520 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393621 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393694 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393851 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.393924 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.394020 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.394093 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.394165 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:45.394260 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
[..]
10:14:58.921514 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])
10:14:58.921558 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, 
revents=POLLERR}])


tho...@tomate:~$ grep ^10:14:45 /tmp/a|wc
  12508  112572 1088196
tho...@tomate:~$ grep ^10:14:46 /tmp/a|wc
  22874  205866 1990038
tho...@tomate:~$ grep ^10:14:47 /tmp/a|wc
  22488  202392 1956456
tho...@tomate:~$ grep ^10:14:48 /tmp/a|wc
  22853  205677 1988211
tho...@tomate:~$ grep ^10:14:49 /tmp/a|wc
  22924  206316 1994388
tho...@tomate:~$ grep ^10:14:50 /tmp/a|wc
  22975  206775 1998825
tho...@tomate:~$ grep ^10:14:51 /tmp/a|wc
  22130  199170 1925310
tho...@tomate:~$ grep ^10:14:52 /tmp/a|wc
  22778  205002 1981686
tho...@tomate:~$ grep ^10:14:53 /tmp/a|wc
  23061  207549 2006307
tho...@tomate:~$ grep ^10:14:54 /tmp/a|wc
  22982  206838 1999434
tho...@tomate:~$ grep ^10:14:55 /tmp/a|wc
  22937  206433 1995519
tho...@tomate:~$ grep ^10:14:56 /tmp/a|wc
  22906  206154 1992822
tho...@tomate:~$ grep ^10:14:57 /tmp/a|wc
  22742  204678 1978554
tho...@tomate:~$ grep ^10:14:58 /tmp/a|wc
  21115  190033 1836989

 much the same :(

..and aways POLLERR:

tho...@tomate:~$ grep -i poll /tmp/a  |grep 10.14:5|grep -v POLLERR
tho...@tomate:~$ 

It eats 100% CPU load forever


tcpdump bug?

tcpdump compiled with debug symbols (recompiled from deb-src). gdb
attached:

Program received signal SIGINT, Interrupt.
0x7f8a4de4145f in poll () from /lib/libc.so.6
(gdb) bt
#0  0x7f8a4de4145f in poll () from /lib/libc.so.6
#1  0x7f8a4e0deba4 in ?? () from /usr/lib/libpcap.so.0.8
#2  0x7f8a4e0e2dd9 in pcap_loop () from /usr/lib/libpcap.so.0.8
#3  0x0044b7ed in ?? ()
#4  0x7f8a4dd835a6 in __libc_start_main () from /lib/libc.so.6
#5  0x00402c09 in ?? ()
#6  0x7fff568b3068 in ?? ()

- tcpdump is not responsible. It's a libpcap issue.

libpcap recompiled with debug symbols from deb-src:

Program received signal SIGINT, Interrupt.
0x7ff5817b545f in poll () from /lib/libc.so.6
(gdb) bt
#0  

[Bug 369288] Re: tcpdump consumes 100% CPU power

2009-08-07 Thread dl9sau
** Changed in: tcpdump (Ubuntu)
   Status: New = Invalid

-- 
tcpdump consumes 100% CPU power
https://bugs.launchpad.net/bugs/369288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 369287] Re: tcpdump consumes 100% CPU power

2009-08-07 Thread dl9sau
*** This bug is a duplicate of bug 369288 ***
https://bugs.launchpad.net/bugs/369288

** This bug has been marked a duplicate of bug 369288
   tcpdump consumes 100% CPU power

-- 
tcpdump consumes 100% CPU power
https://bugs.launchpad.net/bugs/369287
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 369288] Re: tcpdump consumes 100% CPU power

2009-08-07 Thread dl9sau
It's a libpcap issue. tcpdump just uses that lib and is not responsible for the 
problem introduced by libpcap.
Other programs, not just tcpdump, will may show the described behaviour.

This report should stay here for reference.

I've mailed to the libpcap people today a report, diagnostic and my approach to 
a fix.
If I get no response, I'll open a libpcap report here.

2009-08-07 Thomas Osterried

-- 
tcpdump consumes 100% CPU power
https://bugs.launchpad.net/bugs/369288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 372324] Re: Notebook does not suspend - not a kernel- but a design problem

2009-05-06 Thread dl9sau
I traced now the problem down: there seems no dependency to another problem 
telling that an application asks for prepending the resume.
Hot-Fix: if you still like to keep your system gnome and like to use the 
integration with gnome-power-manager:
killall -TERM gnome-power-manager; gnome-power-manager 
gnome-power-manager needs to be fixed.
It seems not to store the situation in any file. If it resist to accept the 
resume because it thinks it would be wrong (which was'nt, in my case), then the 
restart of the program helps. The new proces knows anything about the decisions 
of his ancestors.

** Changed in: gnome-power-manager (Ubuntu)
   Status: Invalid = Incomplete

-- 
Notebook does not suspend - not a kernel- but a design problem
https://bugs.launchpad.net/bugs/372324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 372324] [NEW] Notebook does not suspend - not a kernel- but a design problem

2009-05-05 Thread dl9sau
Public bug reported:

Binary package hint: gnome-power-manager

With jaunty i had and still have several quality issues. One of them is
that vlc segfaults after playing one song. Until this will be fixed (bug
is reported), I tried not to use it, because it causes my notebook not
to suspend-to-ram anymore. But i forgot it, and now again I'm sitting
here, ready to go, but can't.

Some of the obviously too complex programs pass messages to each other. I 
cannot tell wo tells whom what. Gone are the good old days of a comprehensive, 
deterministic unix system. But back to the problem. The gnome-power-manager 
icon talks to me 
Anforderung einer Aktion

vlc verhinderte die Ausführung der Aktion: Playing some media..
(what could, on an english speaking system, may appear as Demand of an action: 
vlc prevented the execution of an action: Playing some media..

There's no vlc running. VLC segfaulted many hours ago. But jaunty still
patronizes me, thinking to know it better than I and refuses the suspend
process to complete.

Here's an strace of the communication:
strace -fp 8442 -s 2048 -e read,writev
read(15, 
l\4\1\1\36\0\0\0~m\0\0\237\0\0\0\1\1o\0008\0\0\0/org/freedesktop/Hal/devices/computer_logicaldev_input_2\0\0\0\0\0\0\0\0\2\1s\0\32\0\0\0org.freedesktop.Hal.Device\0\0\0\0\0\0\3\1s\0\t\0\0\0Condition\0\0\0\0\0\0\0\10\1g\0\2ss\0\7\1s\0\6\0\0\0:1.124\0\0\r\0\0\0ButtonPressed\0\0\0\5\0\0\0sleep\0...,
 2048) = 206
read(15, 0x2749800, 2048)   = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x2456744, 4096)= -1 EAGAIN (Resource temporarily 
unavailable)
writev(15, 
[{l\1\0\1\0\0\0\0\374\22\0\0\231\0\0\0\1\1o\0$\0\0\0/org/freedesktop/ConsoleKit/Session1\0\0\0\0\6\1s\0\32\0\0\0org.freedesktop.ConsoleKit\0\0\0\0\0\0\2\1s\0\\0\0\0org.freedesktop.ConsoleKit.Session\0\0\0\0\0\0\3\1s\0\10\0\0\0IsActive\0\0\0\0\0\0\0\0...,
 176}, {..., 0}], 2) = 176
read(15, 
l\2\1\1\4\0\0\0\262\2\0\0-\0\0\0\6\1s\0\5\0\0\0:1.24\0\0\0\5\1u\0\374\22\0\0\10\1g\0\1b\0\0\7\1s\0\4\0\0\0:1.1\0\0\0\0\1\0\0\0...,
 2048) = 68
read(15, 0x2749800, 2048)   = -1 EAGAIN (Resource temporarily 
unavailable)
writev(3, [{(\7\4\0;\0\340\1\252\0\0\0\0\0\0\0..., 16}, {NULL, 0}, {..., 
0}], 3) = 16
read(3, \1\1\314T\0\0\0\0+\0\0\1B\4\1\0`\324}\0\0\0\0\0(\0\0\0\0\0\0\0..., 
4096) = 32
read(3, 0x2456744, 4096)= -1 EAGAIN (Resource temporarily 
unavailable)
writev(11, 
[{l\1\0\1\10\1\0\0\0\0\0\233\0\0\0\1\1o\0\36\0\0\0/org/freedesktop/Notifications\0\0\6\1s\0\35\0\0\0org.freedesktop.Notifications\0\0\0\2\1s\0\35\0\0\0org.freedesktop.Notifications\0\0\0\3\1s\0\6\0\0\0Notify\0\0\10\1g\0\rsusssasa{sv}i\0\0\0\0\0\0...,
 176}, 
{\21\0\0\0Energieverwaltung\0\0\0\0\0\0\0\22\0\0\0gtk-dialog-warning\0\0\30\0\0\0Anforderung
 einer Aktion\0\0\0\0N\0\0\0bvlc/b verhinderte die Ausf\303\274hrung der 
Aktion: bPlaying some 
media./b.\0\0\0\0\0\0Q\0\0\0\1\0\0\0x\0\1i\0\0\0\0N\4\0\0\1\0\0\0y\0\1i\0\0\0\0\r\0\0\0\n\0\0\0window-xid\0\1u\0\0\0;\0\340\1\10\0\0\0xdisplay\0\1s\0\4\0\0\0:0.0\0\0\0\u\0\0...,
 264}], 2) = 440
read(11, 
l\2\1\1\4\0\0\0k\0\0\0.\0\0\0\6\1s\0\5\0\0\0:1.23\0\0\0\5\1u\0\0\0\0\10\1g\0\1u\0\0\7\1s\0\5\0\0\0:1.14\0\0\0(\0\0\0...,
 2048) = 68
read(11, 0x2716f30, 2048)   = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x2456744, 4096)= -1 EAGAIN (Resource temporarily 
unavailable)
^CProcess 8442 detached

It's 19:37 MESZ. vlc died:
May  5 00:53:19 tomate kernel: [40366.385813] vlc[25533]: segfault at 
7fbfb73c2610 ip 7fbfb73c2610 sp 7fbfb7fff108 error 14 in 
libnss_nis-2.9.so[7fbfb71db000+1ff000
It was started:
May  5 00:49:29 tomate dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.33 (uid=1000 pid=8687 
comm=/usr/lib/indicator-applet/indicator-applet --oaf-a) 
interface=org.freedesktop.DBus.Properties member=Get error name=(unset) 
requested_reply=0 destination=:1.135 (uid=1000 pid=25521 comm=vlc 
theseAreTheCommandArgumentsAndItsAPrivacyIssueThatSeveralProgramsMessAuthLogUpWithTheArgumentsOfUsersPrograms)

This will be another day I'll loose all my windows. Well, like - 

** Affects: gnome-power-manager (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Notebook does not suspend - not a kernel- but a design problem
https://bugs.launchpad.net/bugs/372324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 372324] Re: Notebook does not suspend - not a kernel- but a design problem

2009-05-05 Thread dl9sau
gnome-power-manager2.24.2-2ubuntu8
ubuntu jaunty 64bit
2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

-- 
Notebook does not suspend - not a kernel- but a design problem
https://bugs.launchpad.net/bugs/372324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 346513] Re: dbus-daemon: Rejected send message for indicator-applet spams /var/log/auth.log

2009-05-05 Thread dl9sau
Still present in Ubuntu Jaunty amd64.
Since 2009-05-03 03:12 up to now (2009-05-05 20:05) there are 552 such messages 
from indicator-applet in auth.log. From 61 different programs:
  grep dbus-daemo /var/log/auth.log|grep indica|cut -d= -f14|sort -u|wc
 61 1632324
I regard the logging of the commands as privacy issue. I.e.
comm=pidgin )).
And I have even more concerns about the logging of the command line arguments 
of the programs as privacy issue:
comm=epiphany-browser https://www. ))
comm=vlc somefile))
etc..
I respect that it *may* be needed for debuging. But it _has_ to be an opt-in 
option.

-- 
dbus-daemon: Rejected send message for indicator-applet spams 
/var/log/auth.log
https://bugs.launchpad.net/bugs/346513
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 372324] Re: Notebook does not suspend - not a kernel- but a design problem

2009-05-05 Thread dl9sau
The application gnome-power-manager does not crash.

But it's a malfunction that the crash of another application make the
program think that the suspendtoram should not be granted. The crash had
no side effects like busy devices or kernel oopses.

I suppose (but I'm not sure) it's a decision of the gnome-power-manager-
applet itself, because the strace showed that it gets the sleep button
event.

This is a bug.The need of reboot of the system just because a program does a 
wrong decision (becaue it believes the system is in another state) is not a 
solution.
In my case, I'll have to leave my notebook at home this evening.

-- 
Notebook does not suspend - not a kernel- but a design problem
https://bugs.launchpad.net/bugs/372324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 369288] [NEW] tcpdump consumes 100% CPU power

2009-04-29 Thread dl9sau
Public bug reported:

Binary package hint: tcpdump

On a vpn interface i did diagnostics with tcpdump:
  # tcpdump -ni tap0 

After terminating the vpn program (with the consequence that the interface 
disappears, tcpdump does not terminate. Instead, it eats up 100% CPU power.
strace to tcpdump:
  poll([{fd=3, events=POLLIN}], 1, 1000)  = 1 ([{fd=3, revents=POLLERR}])
  [...] - faster you can think ;)


tcpdump:
  Installiert: 3.9.8-4ubuntu2
  Kandidat: 3.9.8-4ubuntu2
  Versions-Tabelle:
 *** 3.9.8-4ubuntu2 0
500 http://de.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status

Description:Ubuntu 9.04
Release:9.04

** Affects: tcpdump (Ubuntu)
 Importance: Undecided
 Status: New

-- 
tcpdump consumes 100% CPU power
https://bugs.launchpad.net/bugs/369288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 369287] [NEW] tcpdump consumes 100% CPU power

2009-04-29 Thread dl9sau
Public bug reported:

Binary package hint: tcpdump

On a vpn interface i did diagnostics with tcpdump:
  # tcpdump -ni tap0 

After terminating the vpn program (with the consequence that the interface 
disappears, tcpdump does not terminate. Instead, it eats up 100% CPU power.
strace to tcpdump:
  poll([{fd=3, events=POLLIN}], 1, 1000)  = 1 ([{fd=3, revents=POLLERR}])
  [...] - faster you can think ;)


tcpdump:
  Installiert: 3.9.8-4ubuntu2
  Kandidat: 3.9.8-4ubuntu2
  Versions-Tabelle:
 *** 3.9.8-4ubuntu2 0
500 http://de.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status

Description:Ubuntu 9.04
Release:9.04

** Affects: tcpdump (Ubuntu)
 Importance: Undecided
 Status: New

-- 
tcpdump consumes 100% CPU power
https://bugs.launchpad.net/bugs/369287
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 323577] Re: vlc crashed with SIGSEGV in start_thread()

2009-04-28 Thread dl9sau
Same here. After upgrading to ubuntu jaunty.

Distributor ID: Ubuntu
Description:Ubuntu 9.04
Release:9.04
Codename:   jaunty
tho...@tomate:~$ apt-cache policy vlc
vlc:
  Installiert: 0.9.9a-2ubuntu1
  Kandidat: 0.9.9a-2ubuntu1
  Versions-Tabelle:
 *** 0.9.9a-2ubuntu1 0
500 http://de.archive.ubuntu.com jaunty/multiverse Packages
100 /var/lib/dpkg/status

dmesg | tail -1
59294.906228] vlc[11818]: segfault at 7faf45bbb610 ip 7faf45bbb610 sp 
7faf467f8108 error 14 in libnss_nis-2.9.so[7faf459d4000+1ff000]

VLC plays one song. At the end of the song he segfaults.

Another observation: /var/log/auth.log:
Apr 28 11:59:34 tomate dbus-daemon: Rejected send message, 1 matched rules; 
type=method_call, sender=:1.36 (uid=1000 pid=4456 
comm=/usr/lib/indicator-applet/indicator-applet --oaf-a) 
interface=org.freedesktop.DBus.Properties member=Get error name=(unset) 
requested_reply=0 destination=:1.293 (uid=1000 pid=11791 comm=vlc ))

-- 
vlc crashed with SIGSEGV in start_thread()
https://bugs.launchpad.net/bugs/323577
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 48199] Re: multimon crashes Xorg when window is closed

2009-04-01 Thread dl9sau
I've traced the problem, and found out that in xdisplay.c the code  
leads to a kil(-1, SIGTERM) [in fact 2^32-1).
This kills all processes down to init (or at least all processes owned by a 
user. And you know,
as soon as your session-manager dies, it's the end of your session ;)   


Tom Sailor (the author) did actually fix the problem in his upstream version at 
 
  http://www.baycom.org/~tom/ham/linux/multimon.tar.bz2 
and I confirm that his solution fixes the problem. 

Tom's fix in that version is:
diff -Naur multimon-1.0/ xdisplay.c 
--- multimon-1.0/xdisplay.c 2005-07-26 21:09:38.0 +0200 
+++ xdisplay.c  2009-03-24 19:07:58.0 +0100 
@@ -1,8 +1,8 @@ 
 /* 
  *  xdisplay.c -- actually displaying things   
  * 
- *  Copyright (C) 1996 
- *  Thomas Sailer (sai...@ife.ee.ethz.ch, hb9...@hb9w.che.eu)  
+ *  Copyright (C) 1996, 2009
+ *  Thomas Sailer (t.sai...@alumni.ee.ethz.ch) 
  * 
  *  This program is free software; you can redistribute it and/or modify   
  *  it under the terms of the GNU General Public License as published by   
@@ -336,6 +336,8 @@ 
 {  
if (cnum   0 || cnum = NUMCLI)
return; 
+   if (!cli[cnum].used)
+   return; 
kill(cli[cnum].pid, SIGTERM);   
 }  

@@ -403,6 +405,8 @@ 

if (cnum  0 || cnum = NUMCLI) 
return 0;   
+   if (!cli[cnum].used)
+   return 0;   
i = read(cli[cnum].cmdfd, c, 1);   
if (i  0  errno != EAGAIN) {
perror(read); 


73, 
- Thomas  dl9sau

-- 
multimon crashes Xorg when window is closed
https://bugs.launchpad.net/bugs/48199
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 176389] Re: dvgrab-3.01 for ubuntu gutsy (amd64): getopt() problem

2008-11-19 Thread dl9sau
Thank you for your question.
I still run unbunu gutsy on that machine. I plan to upgrade soon and then
will report.

Kind regards,
- Thomas

 Is this symptom still reproducible in 8.10?
 
 ** Tags added: patch
 
 ** Changed in: dvgrab (Ubuntu)
Status: New = Incomplete
 
 -- 
 dvgrab-3.01 for ubuntu gutsy (amd64): getopt() problem
 https://bugs.launchpad.net/bugs/176389
 You received this bug notification because you are a direct subscriber
 of the bug.

-- 
dvgrab-3.01 for ubuntu gutsy (amd64): getopt() problem
https://bugs.launchpad.net/bugs/176389
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 176389] dvgrab-3.01 for ubuntu gutsy (amd64): getopt() problem

2007-12-14 Thread dl9sau
Public bug reported:

Binary package hint: dvgrab

dvgrab's commandline option - tells that the grabed shout go to stdout.   
getopt_long_only() on my system does not honour the --only option, specified  
with char *opts = d:hif:F:I:s:tVv-. At the point, - is evaluated,   
the while loop terminates, and - is interpreted as filename, which results
in files like -001.avi.   

The patch below fixes the problem.  

Generally, - may lead to misunderstandings: is it meant for stdin or  
stdout.. - one has to look at the doku. 
dvgrab has -I - or -stdin for reading from stdin, and perhaps it
 
would be wise to be consequent and to also provide -O - and -stdout 
for the stdout case. Thus, if getopt() on a system is broken, the user  
would have still a chance to grab to stdout without the need of recompile ;)

Regards,
- Thomas

Appendix: fix for grabing to stdout on ubuntu gutsy amd64   
-   

diff -Naur dvgrab-3.0/dvgrab.cc.orig dvgrab-3.0/dvgrab.cc   
--- dvgrab-3.0/dvgrab.cc.orig   2007-08-07 05:00:43.0 +0200 
+++ dvgrab-3.0/dvgrab.cc2007-12-06 18:55:58.0 +0100 
@@ -447,8 +447,14 @@

if ( optind  argc )
{   
-   m_dst_file_name = argv[ optind++ ]; 
-   set_format_from_name(); 
+   /* option - not evaluated above. getopt_long_only() compat 
issue? */  
+   if (!strcmp(argv[ optind ], -)) { 
+   m_raw_pipe = true;  
+   optind++;   
+   } else {
+   m_dst_file_name = argv[ optind++ ]; 
+   set_format_from_name(); 
+   }   
}   

if ( optind  argc )

** Affects: dvgrab (Ubuntu)
 Importance: Undecided
 Status: New

-- 
dvgrab-3.01 for ubuntu gutsy (amd64): getopt() problem
https://bugs.launchpad.net/bugs/176389
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs