Bug#727758: Bug #727758: cups segfaults in libdbus - Fixed in 1.6.4-2 ?

2013-11-28 Thread Didier 'OdyX' Raboud
Hi all,

sorry for my delay in answering this bug…

I have cherry-picked a set of patches from Fedora into cups 1.6.4-2 
including two dbus related ones:

 - Avoid stale lockfile in dbus notifier
 - Stop accessing avahi through D-Bus using two threads

It would be nice if you could attempt reproducing this bug with 1.6.4-2 
and report back to the bugreport.

Thanks in advance, cheers,
OdyX

signature.asc
Description: This is a digitally signed message part.


Bug#727758: Bug #727758: cups segfaults in libdbus - Fixed in 1.6.4-2 ?

2013-11-28 Thread Simon McVittie
On 28/11/13 13:32, Didier 'OdyX' Raboud wrote:
 - Stop accessing avahi through D-Bus using two threads

This sounds like a plausible cause for this bug. I haven't seen this
bug happen myself, so no comment on whether it's still reproducible.

S


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: Bug #727758: cups segfaults in libdbus - Fixed in 1.6.4-2 ?

2013-11-28 Thread Michael Meskes
On Thu, Nov 28, 2013 at 02:32:45PM +0100, Didier 'OdyX' Raboud wrote:
 It would be nice if you could attempt reproducing this bug with 1.6.4-2 
 and report back to the bugreport.

New version is installed and running. With the server not segfaulting all the
time for me I cannot say much yet, it did start correctly though. I will keep
you guys posted.

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-11-15 Thread Christoph Fölmer
Hi

 On Fri, Nov 8, 2013 at 10:57 AM,  bugrepor...@gmx.de wrote:
  Package: cups
  Version: 1.6.3-1
  Followup-For: Bug #727758

  cupsd[3263]: segfault at 0 ip b75776c2 sp bfad0070 error 4 in
  libdbus-1.so.3.7.5[b755+49000]
 
 
 Could you try to get information about instruction address at
 b75776c2 ?

Sorry, I don´t know how to do this.
Could you give me some advice?

Thank you
Christoph


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-11-12 Thread Bastien ROUCARIES
On Fri, Nov 8, 2013 at 10:57 AM,  bugrepor...@gmx.de wrote:
 Package: cups
 Version: 1.6.3-1
 Followup-For: Bug #727758

 Hi,
 i also got

 cupsd[3263]: segfault at 0 ip b75776c2 sp bfad0070 error 4 in 
 libdbus-1.so.3.7.5[b755+49000]


Could you try to get information about instruction address at b75776c2 ?

Bastien
 sometimes. It ist not reproducable. Most of the time nothing happens but if 
 it does
 also rebooting doesn`t solve the problem.
 The machine itself has to be shutdown for the night.
 All printers are attached via network (HP OfficeJet Pro 8600)
 If i restart the service manually everything is working fine, but it is a 
 remote box,
 an the users there don´t like console typing.
 I hope for a quick solution.


 OT:Is this report ok? Missing something? Wrong facts?
 I´ve read the manual, but i am not sure.


 -- System Information:
 Debian Release: jessie/sid
   APT prefers testing
   APT policy: (500, 'testing'), (500, 'stable')
 Architecture: i386 (i686)

 Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash

 Versions of packages cups depends on:
 ii  cups-client1.6.3-1
 ii  cups-common1.6.3-1
 ii  cups-daemon1.6.3-1
 ii  cups-filters   1.0.34-3+b1
 ii  cups-ppdc  1.5.3-2.15
 ii  cups-server-common 1.6.3-1
 ii  debconf [debconf-2.0]  1.5.49
 ii  ghostscript9.05~dfsg-8
 ii  libavahi-client3   0.6.31-1
 ii  libavahi-common3   0.6.31-1
 ii  libc-bin   2.13-38
 ii  libc6  2.17-3
 ii  libcups2   1.6.3-1
 ii  libcupscgi11.6.3-1
 ii  libcupsimage2  1.6.3-1
 ii  libcupsmime1   1.6.3-1
 ii  libcupsppdc1   1.6.3-1
 ii  libgcc11:4.7.2-5
 ii  libstdc++6 4.7.2-5
 ii  libusb-1.0-0   2:1.0.11-1
 ii  lsb-base   4.1+Debian12
 ii  poppler-utils  0.18.4-5
 ii  procps 1:3.3.3-2

 Versions of packages cups recommends:
 ii  avahi-daemon   0.6.31-1
 ii  colord 0.1.21-1
 ii  foomatic-filters   4.0.17-1
 ii  ghostscript-cups   9.05~dfsg-6.3
 ii  printer-driver-gutenprint  5.2.9-1

 Versions of packages cups suggests:
 ii  cups-bsd   1.6.3-1
 ii  cups-pdf   2.6.1-6
 ii  foomatic-db20120523-1
 ii  hplip  3.12.6-3.1
 ii  printer-driver-hpcups  3.12.6-3.1
 ii  smbclient  2:3.6.16-2
 ii  udev   175-7.1

 -- debconf information:
 * cupsys/raw-print: true
 * cupsys/backend: lpd, socket, usb


 --
 To UNSUBSCRIBE, email to debian-printing-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/20131108095719.7064.57755.reportbug@buero1



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-11-08 Thread bugreporter
Package: cups
Version: 1.6.3-1
Followup-For: Bug #727758

Hi,
i also got

cupsd[3263]: segfault at 0 ip b75776c2 sp bfad0070 error 4 in 
libdbus-1.so.3.7.5[b755+49000]

sometimes. It ist not reproducable. Most of the time nothing happens but if it 
does
also rebooting doesn`t solve the problem.
The machine itself has to be shutdown for the night. 
All printers are attached via network (HP OfficeJet Pro 8600)
If i restart the service manually everything is working fine, but it is a 
remote box,
an the users there don´t like console typing.
I hope for a quick solution.


OT:Is this report ok? Missing something? Wrong facts?
I´ve read the manual, but i am not sure.
 

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  cups-client1.6.3-1
ii  cups-common1.6.3-1
ii  cups-daemon1.6.3-1
ii  cups-filters   1.0.34-3+b1
ii  cups-ppdc  1.5.3-2.15
ii  cups-server-common 1.6.3-1
ii  debconf [debconf-2.0]  1.5.49
ii  ghostscript9.05~dfsg-8
ii  libavahi-client3   0.6.31-1
ii  libavahi-common3   0.6.31-1
ii  libc-bin   2.13-38
ii  libc6  2.17-3
ii  libcups2   1.6.3-1
ii  libcupscgi11.6.3-1
ii  libcupsimage2  1.6.3-1
ii  libcupsmime1   1.6.3-1
ii  libcupsppdc1   1.6.3-1
ii  libgcc11:4.7.2-5
ii  libstdc++6 4.7.2-5
ii  libusb-1.0-0   2:1.0.11-1
ii  lsb-base   4.1+Debian12
ii  poppler-utils  0.18.4-5
ii  procps 1:3.3.3-2

Versions of packages cups recommends:
ii  avahi-daemon   0.6.31-1
ii  colord 0.1.21-1
ii  foomatic-filters   4.0.17-1
ii  ghostscript-cups   9.05~dfsg-6.3
ii  printer-driver-gutenprint  5.2.9-1

Versions of packages cups suggests:
ii  cups-bsd   1.6.3-1
ii  cups-pdf   2.6.1-6
ii  foomatic-db20120523-1
ii  hplip  3.12.6-3.1
ii  printer-driver-hpcups  3.12.6-3.1
ii  smbclient  2:3.6.16-2
ii  udev   175-7.1

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: lpd, socket, usb


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-10-30 Thread Tim Boven

I'm getting the same exception on an updated version of Debian testing.

In syslog, I first get messages like:
dbus[2446]: [system] Successfully activated service 
'org.freedesktop.PolicyKit1'
dbus[2446]: [system] Successfully activated service 
'org.freedesktop.ConsoleKit'
Next I get messages from colord like colord: Profile added:  (or 
colord: Device added )

And then the error:
kernel: [ 7459.887184] traps: cupsd[6615] general protection 
ip:7f8bda511b91 sp:7fff76902eb0 error:0 in 
libdbus-1.so.3.7.5[7f8bda4ec000+45000]


and next colord removes the profiles and devices again.



Output of dpkg -l | grep -i -e cups:
ii  cups 1.6.3-1 amd64Common UNIX 
Printing System(tm) - server
ii  cups-browsed 1.0.34-3+b1 amd64
OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd 1.6.3-1 amd64Common UNIX 
Printing System(tm) - BSD commands
ii  cups-client 1.6.3-1 amd64Common UNIX 
Printing System(tm) - client programs (SysV)
ii  cups-common 1.6.3-1 all  Common UNIX 
Printing System(tm) - common files
ii  cups-daemon 1.6.3-1 amd64Common UNIX 
Printing System(tm) - daemon
ii  cups-driver-gutenprint 5.2.9-1 all  
transitional dummy package for gutenprint printer driver
ii  cups-filters 1.0.34-3+b1 amd64
OpenPrinting CUPS Filters
ii  cups-pdf 2.6.1-9 amd64PDF writer 
backend for CUPS
ii  cups-ppdc 1.6.3-1 amd64Common UNIX 
Printing System(tm) - PPD manipulation utilities
ii  cups-server-common 1.6.3-1 all  
Common UNIX Printing System(tm) - server common files
ii  dcp6690cwcupswrapper 1.1.2-2 all  
Brother CUPS Inkjet Printer Definitions
ii  ghostscript-cups 9.05~dfsg-8 amd64
interpreter for the PostScript language and for PDF - CUPS filters
ii  hl5350dnlt-cupswrapper 2.0.4-1 all  
Brother HL5350DNLT CUPS wrapper driver
ii  libcups2:amd64 1.6.3-1 amd64Common 
UNIX Printing System(tm) - Core library
ii  libcupscgi1:amd64 1.6.3-1 amd64
Common UNIX Printing System(tm) - CGI library
rc  libcupsdriver1:amd64 1.5.3-5 amd64
Common UNIX Printing System(tm) - Driver library
ii  libcupsfilters1:amd64 1.0.34-3+b1 amd64
OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64 1.6.3-1 amd64
Common UNIX Printing System(tm) - Raster image library
ii  libcupsmime1:amd64 1.6.3-1 amd64
Common UNIX Printing System(tm) - MIME library
ii  libcupsppdc1:amd64 1.6.3-1 amd64
Common UNIX Printing System(tm) - PPD manipulation library
ii  libfontembed1:amd64 1.0.34-3+b1 amd64
OpenPrinting CUPS Filters - Font Embed Shared library
ii  printer-driver-gutenprint 5.2.9-1 
amd64printer drivers for CUPS
ii  printer-driver-hpcups 3.13.9-2amd64
HP Linux Printing and Imaging - CUPS Raster driver (hpcups)



Output of dpkg -l | grep -i -e dbus
ii  dbus 1.6.16-1amd64simple 
interprocess messaging system (daemon and utilities)
ii  libdbus-1-3:amd64 1.6.16-1amd64
simple interprocess messaging system (library)
ii  libdbus-glib-1-2:amd64 0.100.2-1   amd64
simple interprocess messaging system (GLib-based shared library)
ii  libqtdbus4:amd64 4:4.8.5+git121-g2a9ea11+dfsg1-2 amd64Qt 4 
D-Bus module library
ii  python-dbus 1.2.0-2+b1  amd64simple 
interprocess messaging system (Python interface)
ii  python-dbus-dev 1.2.0-2 all  main 
loop integration development files for python-dbus






smime.p7s
Description: S/MIME-cryptografische ondertekening


Processed: Re: Bug#727758: cups segfaults in libdbus

2013-10-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 727758 cups
Bug #727758 [libdbus-1-3] cups segfaults in libdbus
Bug reassigned from package 'libdbus-1-3' to 'cups'.
No longer marked as found in versions dbus/1.6.16-1.
Ignoring request to alter fixed versions of bug #727758 to the same values 
previously set
 affects 727758 + libdbus-1-3
Bug #727758 [cups] cups segfaults in libdbus
Added indication that 727758 affects libdbus-1-3
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
727758: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727758
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-10-28 Thread Simon McVittie
reassign 727758 cups
affects 727758 + libdbus-1-3
thanks

On Sat, 26 Oct 2013 at 11:37:44 +0200, Michael Meskes wrote:
 Most of the times cups comes up I get this:
 
 Oct 25 20:27:57 aragorn kernel: [  389.581166] cupsd[2937]: segfault at 8 ip 
 7faeb7c98cd0 sp 7fff18af7148 error 4 in 
 libdbus-1.so.3.7.5[7faeb7c72000+45000]

Having thought about this some more, I'm going to reassign this to cups.
I'm quite prepared for it to be reassigned back if it turns out to be a
dbus bug, but we can't know that - or how to fix it - without more
information, and the cups maintainers are likely to know much more about
how to get that information than I do.

Please reply to this bug with the result of reportbug --template cups
so the cups package's full dependencies, and any other useful info
from reportbug scripts, are visible.

If an executable is crashing in a way that might implicate a library, it's
likely to be best to report it initially as a bug in the executable (ideally
with a cc to the library's @packages.debian.org address), unless you have a
minimal test-case demonstrating that it is in fact a bug in the library.
That way, the bug report already contains the executable's full dependencies
and other relevant information from its bug scripts, and it'll be triaged
by someone who knows how to get debug information from that particular
executable.

The proposed HOWTO_BUGREPORT documents in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717596
might explain how you can provide enough information for this crash
to be diagnosed and fixed.

From a quick look at the cups bug list, your crash might be related to one
of these, for instance:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682206
(crash in libdbus possibly caused by cups passing a dangling string pointer
to libdbus functions, which also has some notes about how to get a
backtrace or core dump)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634937
(segfault in libavahi-common (which uses libdbus), closed because
unreproducible)

Regards,
S


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-10-28 Thread Michael Meskes
On Sat, Oct 26, 2013 at 11:40:20PM +0100, Simon McVittie wrote:
 thread apply all bt backtrace from cupsd, please? Sorry, I don't know

Will send as soon as I'm on the system again. 

 Why is this RC severity? If cupsd links libdbus, then almost by
 definition it isn't breaks unrelated software...

Well, you're right, kind of. I think this bug makes the package in question
unusable. However, the package is cups that you moved the bug to anyway. 

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-10-26 Thread Michael Meskes
Package: libdbus-1-3
Version: 1.6.16-1
Severity: grave

Most of the times cups comes up I get this:

Oct 25 20:27:57 aragorn kernel: [  389.581166] cupsd[2937]: segfault at 8 ip 
7faeb7c98cd0 sp 7fff18af7148 error 4 in 
libdbus-1.so.3.7.5[7faeb7c72000+45000]

Sometimes actually this only happens when the printer is switched on or a job 
is send to cups. 

Today for the first time I got this instead:

Oct 26 11:26:22 aragorn kernel: [   53.133630] traps: cupsd[2992] general 
protection ip:7f4c61ba5c7e sp:7fff4b69f108 error:0 in 
libdbus-1.so.3.7.5[7f4c61b88000+45000]

I'm not sure who's the culprit, libdbus or cups, so feel free to reassign. 
However, the effect is that my cups server simply disappears. Interestingly 
enough more often than not it works after a restart.

Any idea?

Michael

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727758: cups segfaults in libdbus

2013-10-26 Thread Simon McVittie
On 26/10/13 10:37, Michael Meskes wrote:
 Package: libdbus-1-3
 Version: 1.6.16-1
 Severity: grave
 
 Most of the times cups comes up I get this:
 
 Oct 25 20:27:57 aragorn kernel: [  389.581166] cupsd[2937]:
 segfault at 8 ip 7faeb7c98cd0 sp 7fff18af7148 error
 4 in libdbus-1.so.3.7.5[7faeb7c72000+45000]
 
 Sometimes actually this only happens when the printer is
 switched on or a job is send to cups.

thread apply all bt backtrace from cupsd, please? Sorry, I don't know
anything specific about cupsd or how to debug it, apart from nothing
related to printing ever works first time, including cupsd :-) Cc'ing
cups maintainers in case they have useful advice on getting a backtrace
or core dump from it.

There are basically two possibilities for a segfault inside libdbus:
either libdbus has a bug, or another module used by cupsd (either the
daemon itself or some other library or plugin) is using libdbus
incorrectly (e.g. getting the refcounting of an object wrong, or using
it in threads without thread initialization). Without a backtrace, we
can't say which.

Why is this RC severity? If cupsd links libdbus, then almost by
definition it isn't breaks unrelated software...

S


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org