console-kit-daemon crashed with SIGSEGV in g_str_hash()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ConsoleKit |
Fix Released
|
Medium
|
|||
consolekit (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: consolekit
i'm playing music with rhythymbox.. and the console- kit is falling down
ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/sbin/
NonfreeKernelMo
Package: consolekit 0.2.10-1ubuntu4
ProcAttrCurrent: unconfined
ProcCmdline: /usr/sbin/
ProcEnviron:
Signal: 11
SourcePackage: consolekit
StacktraceTop:
g_str_hash () from /usr/lib/
?? () from /usr/lib/
?? ()
?? ()
?? ()
Title: console-kit-daemon crashed with SIGSEGV in g_str_hash()
Uname: Linux 2.6.27-2-generic i686
UserGroups:
Related branches
Felipe Besoain (fbesoain) wrote : | #1 |
- Dependencies.txt Edit (963 bytes, text/plain; charset="utf-8")
- Disassembly.txt Edit (782 bytes, text/plain; charset="utf-8")
- ProcMaps.txt Edit (9.1 KiB, text/plain; charset="utf-8")
- ProcStatus.txt Edit (729 bytes, text/plain; charset="utf-8")
- Registers.txt Edit (486 bytes, text/plain; charset="utf-8")
- Stacktrace.txt Edit (1.3 KiB, text/plain; charset="utf-8")
- ThreadStacktrace.txt Edit (24.0 KiB, text/plain; charset="utf-8")
Apport retracing service (apport) wrote : Symbolic stack trace | #2 |
Apport retracing service (apport) wrote : Symbolic threaded stack trace | #3 |
Changed in consolekit: | |
importance: | Undecided → Medium |
James Westby (james-w) wrote : | #4 |
Changed in consolekit: | |
status: | New → Confirmed |
Guillaume Lecanu (guillaume-lya) wrote : | #5 |
- _usr_sbin_console-kit-daemon.0.crash Edit (233.1 KiB, text/plain)
Hi,
I have the same issue under Intrepid.
This have been happened 2 times in 2 days, while I'm listening music (mpd daemon + sonata client).
In my syslog :
kernel: [46676.090474] console-
And in the attached file, the generated file in /var/crash/
Thanks
tdflanders (thomasdelbeke) wrote : | #6 |
Binary package hint: consolekit
Hi James,
as I predicted this one came back.
thomas@
Release: 8.10
Linux thomas-laptop 2.6.27-4-generic #1 SMP Wed Sep 24 01:30:51 UTC 2008 i686 GNU/Linux
linux:
Installed: 2.6.27.4.4
Candidate: 2.6.27.4.4
Version table:
*** 2.6.27.4.4 0
500 http://
100 /var/lib/
linux-source-
Installed: 2.6.27-4.6
Candidate: 2.6.27-4.6
Version table:
*** 2.6.27-4.6 0
500 http://
100 /var/lib/
linux-headers-
Installed: 2.6.27.4.4
Candidate: 2.6.27.4.4
Version table:
*** 2.6.27.4.4 0
500 http://
100 /var/lib/
linux-image-
Installed: 2.6.27.4.4
Candidate: 2.6.27.4.4
Version table:
*** 2.6.27.4.4 0
500 http://
100 /var/lib/
thomas@
tdflanders (thomasdelbeke) wrote : | #7 |
Bug #276092:
This report is public
console-kit-daemon crashed with SIGSEGV in g_hash_
I meant James Weber,
I got it now with trying to upgrade to 2.6.27-rc7, without success.
I will also place an upgrade failure here, that referred to consolekit.
Please take a look at it at you earliest convenience. It is confirmed now that my hardware is working properly, since it was actually the Acer BIOS not allowing for 4 GB of RAM. Some issues remained (like the aptonCD thing) and I did not get a reply yet to my latest launchpad message. I am sorry if I delayed you guys during the alfa's, but I really suggest you have a look at this during beta testing.
Cheers,
Thomas
tdflanders (thomasdelbeke) wrote : | #8 |
Your mail to 'launchpad-users' with the subject
feedback
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post to moderated list
Either the message will get posted to the list, or you will receive
notification of the moderator's decision. If you would like to cancel
this posting, please visit the following URL:
https:/
Bad confirmation string
Invalid confirmation string: f104883df70e01b
Note that confirmation strings expire approximately 3 days after the initial subscription request. If your confirmation has expired, please try to re-submit your subscription. Otherwise, re-enter your confirmation string.
launchpad-users list run by kiko at async.com.br, matthew.revell at canonical.com, joey at canonical.com
launchpad-users administrative interface (requires authorization)
Overview of all lists.canonical.com mailing lists
Delivered by Mailman
version 2.1.8 Python Powered Gnu's Not Unix
Hi there,
I am going to stop reporting bug reports for now, as you people will not read them anyway.
I have confirmed with the help of canonical support that the laptop I am using has no defective hardware. The BIOS is not broke, since I have reflashed the BIOS with an upgraded version, from the Acer website. For the few bugs I could easily reproduce this does not change a thing. What we have found out is that the BIOS developed by the Phoenix people for Acer, does not support 4 GB. Acer claims that the system supports 4 GB, but the people from Phoenix must have limited the BIOS to 3 GB, since it was made for use with Windows 32-bit. The system has two identical sodim sockets and I have two identical 2 GB chips, that were sold to me fully installed by an official eBay reseller. I have tested both sockets and both chips by memtest86+ 1.65 1.70 and 2.01. Everything came up clean except the alfa 5 2.01 test, which had a bug, but is now fixed. I had a problem before when trying to upgrade to Vista Ultimate, as the 32-bit only recognises 3 GB. Back then a faulty memtest86+ test surfaced. I have the memtest86+ version in backup, but it is preinstalled and backed up with Windows Live OneCare and I have no idea how to determine the version number. Really it does not change anything, as when I remove one of the chips, the same bugs seem to persist. That is, the ones that are easily reproducible. I now get less crashes both due to the fact that I now only run Ubuntu repositories, other than VirtualBox 2.0.2 and Skype-debian as described in the community docs, as well as alfa 6 and maybe also because I only use 2 GB and the BIOS update. I do use many multiverse and restricted applications though.
I maybe still able to help with the following data:
My AptonCD bug persists. Only faster since I now use only 2 GB RAM. I have tracked and described this behaviour with gnome-system-
Joachim R. (jro) wrote : | #9 |
It happens on ia64 too (not only i386 package).
Diego Collaziol (dcollaziol) wrote : | #10 |
Here with Intrepid NVIDIA package is crashing everything, kontact, console, xserver....and this consolekit too...
Frederick F. Kautz IV (fkautz) wrote : | #11 |
I got this error as well with the following configuration profile:
The system was installed using wubi from http://
Wubi-8.
$ lsb_release -rd ; uname -a; apt-cache policy linux linux-image-generic consolekit
Description: Ubuntu intrepid (development branch)
Release: 8.10
Linux ubuntu 2.6.27-5-generic #1 SMP Fri Oct 3 00:38:23 UTC 2008 i686 GNU/Linux
linux:
Installed: (none)
Candidate: 2.6.27.5.5
Version table:
2.6.27.5.5 0
500 http://
linux-image-
Installed: 2.6.27.5.5
Candidate: 2.6.27.5.5
Version table:
*** 2.6.27.5.5 0
500 http://
100 /var/lib/
consolekit:
Installed: 0.2.10-1ubuntu7
Candidate: 0.2.10-1ubuntu7
Version table:
*** 0.2.10-1ubuntu7 0
500 http://
100 /var/lib/
tdflanders (thomasdelbeke) wrote : | #12 |
Hi there,
this is the terminal output from trying to rescue my system after yet another fatal system crash. This actually happened several weeks ago. I had asked on the launchpad digest mail list what to do with this, but I did not receive a reply yet. Probably this was because of the works on the launchpad system. The crash happened while upgrading from Hardy to Intrepid (then alfa 4 or 5) with '$ sudo update-manager -c -d'. I post this here and on bug # 254238, before opening another bug report. I copied this meticulously on the envelop from my bank statements. I just retrieved it while cleaning the room.
Cheers,
Thomas
<Terminal Output>
thomas@thomas:~$ sudo dpkg-reconfigure hal
Failed to open connection to system message bus: Failed to connect to socket /var/run/
Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
polkit-auth: This operation requires the system message bus and Consolekit to be running
/usr/lib/
lookup error: /usr/lib/
undefined symbol: kit-getpwnam
polkit-auth: Not Authorized To Read Authorizations For Other Users:
uid 0 is not authorized to read authorizations for uid 111
(requires org.freedesktop
thomas@
update-rc.d: warning: multiuser is deprecated ; specify runlevels manually
Alessandro Isaia (alex69) wrote : | #13 |
Description: Ubuntu intrepid (development branch)
Release: 8.10
the packagename crashed is : < ConsoleKit > and the used version is the latest: < 0.2.10-1ubuntu7 >
In freedesktop.org Bugzilla #18046, Martin Pitt (pitti) wrote : | #14 |
Hi!
We get a lot of bug reports about crashes with this signature:
g_hash_
file_monitor_
ck_file_
ck_tty_
ck_session_finalize (object=0x92490e0) at ck-session.c:855
http://
The dodgy approach would be to just test for this condition in file_monitor_
Changed in consolekit: | |
status: | Unknown → Confirmed |
l33ting disorder (omni-networksense) wrote : | #15 |
+1
In freedesktop.org Bugzilla #18046, Martin Pitt (pitti) wrote : | #16 |
Created an attachment (id=19645)
Ubuntu patch
For now I applied a patch which intercepts removing a NULL watch. Even if that condition "should not happen", it is defensive, and after removing a watch the state is consistent again anyway.
tdflanders (thomasdelbeke) wrote : | #17 |
Hi James,
I am reassigning this to you since this is frequently reoccuring.
Cheers,
Thomas
Changed in consolekit: | |
assignee: | nobody → james-w |
James Westby (james-w) wrote : | #18 |
Hi,
Please don't just assign bug reports to people.
I've looked at the bug many times, and it is beyond me to come up with a fix.
We are well aware of the bug and it's impact and we are trying to get it fixed.
Thanks,
James
Changed in consolekit: | |
assignee: | james-w → nobody |
tdflanders (thomasdelbeke) wrote : Re: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash() | #19 |
Hi there James,
sorry about that. I should have commented furter I guess. I am marking bugs for closing down since beta is much more stable to me indeed. I am down to 67 from a top in the high 80`s. I must have posted well over 200, and most that are open now are weeks old. I am trying to group them and assign them to one person. I have many console-kits outstanding and I thought you were the man. The alternative would be I post the groups on launchpast request digest, Can you give me feedback on this quickly please?
Thanks,
Thomas
----- Original Message ----
From: James Westby <email address hidden>
To: <email address hidden>
Sent: Tuesday, October 14, 2008 1:55:39 AM
Subject: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash()
Hi,
Please don't just assign bug reports to people.
I've looked at the bug many times, and it is beyond me to come up with a
fix.
We are well aware of the bug and it's impact and we are trying to get it
fixed.
Thanks,
James
** Changed in: consolekit (Ubuntu)
Assignee: James Westby (james-w) => (unassigned)
--
console-kit-daemon crashed with SIGSEGV in g_str_hash()
https:/
You received this bug notification because you are a direct subscriber
of a duplicate bug.
tdflanders (thomasdelbeke) wrote : | #20 |
Hi there James,
correction: I had 6 consolekit bugs outstanding yesterday, but I marked them all as public instead of private. This afternoon they were marked as duplicate of this one.
thomas@
Description: Ubuntu intrepid (development branch)
Release: 8.10
Linux thomas-laptop 2.6.27-7-generic #1 SMP Fri Oct 10 03:55:24 UTC 2008 i686 GNU/Linux
linux:
Installed: 2.6.27.7.8
Candidate: 2.6.27.7.8
Version table:
*** 2.6.27.7.8 0
500 http://
100 /var/lib/
linux-image:
Installed: 2.6.27.7.8
Candidate: 2.6.27.7.8
Version table:
*** 2.6.27.7.8 0
500 http://
100 /var/lib/
linux-source-
Installed: 2.6.27-7.10
Candidate: 2.6.27-7.10
Version table:
*** 2.6.27-7.10 0
500 http://
100 /var/lib/
linux-headers-
Installed: 2.6.27.7.8
Candidate: 2.6.27.7.8
Version table:
*** 2.6.27.7.8 0
500 http://
100 /var/lib/
linux-restricte
Installed: 2.6.27.7.8
Candidate: 2.6.27.7.8
Version table:
*** 2.6.27.7.8 0
500 http://
100 /var/lib/
consolekit:
Installed: 0.2.10-1ubuntu7
Candidate: 0.2.10-1ubuntu7
Version table:
*** 0.2.10-1ubuntu7 0
500 http://
100 /var/lib/
thomas@
tdflanders (thomasdelbeke) wrote : | #21 |
This bug is easily reproducible, but not with the same command. It is also fatal and most of the time requires reinstall of the system. Therefore Valgrind is not easy to use. I have one more consolekit crash report in /var/crash, but I guess you will not be able to tell me how to do a backtrace. There are two comments that could reveal the area of trouble of the bug, maybe even the trigger:
1) something similar to Bug #244218:
This bug was marked by you as having a useful log. I was able to reproduce something very similar in Bug #277208. It is a landscape-client bug. I got it while trying to reproduce the landscape-sysinfo bug (Bug #270007) for Andreas. Since it was a bug invoked by a permission error I tried something like 'sudo chown -cR 1000 landscape-client ; sudo chmod -cR 777 landscape-client'. It crashed my system and I had to reboot. I also tried 'sudo chown -cR 1000 /* | sudo chmod -cR 777 /*'. This predictably crashed my system previous to planned reinstalling, to validate the aptoncd issue. I will repeat that comment under Valgrind tonight, or more likely tomorrow. Please let me know if you can think of a better way (e.g. not requiring reinstall and always reproducible) to trigger this bug under a Valgrind session.
tdflanders (thomasdelbeke) wrote : | #22 |
Please also take a look at the terminal output I got:
thomas@thomas:~$ sudo dpkg-reconfigure hal
Failed to open connection to system message bus: Failed to connect to socket /var/run/
Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
polkit-auth: This operation requires the system message bus and Consolekit to be running
/usr/lib/
lookup error: /usr/lib/
undefined symbol: kit-getpwnam
polkit-auth: Not Authorized To Read Authorizations For Other Users:
uid 0 is not authorized to read authorizations for uid 111
(requires org.freedesktop
thomas@
update-rc.d: warning: multiuser is deprecated ; specify runlevels manually
This is the root terminal output of dpkg-reconfigure hal. It is a long shot but I am drawing your attention to this as it is also a dbus error. This means it is suitable for a Valgrind backtrace and is possibly memory related, am I correct? I had a lot of memory errors and another dbus error I reported here: Bug #270330. It came back a lot after a fatal crash during the alfas. Possibly I can log this through Valgrind with my alfa 3 cd.
Changed in consolekit: | |
assignee: | nobody → pitti |
status: | Confirmed → Fix Committed |
Manfred Hensel (manfred-hensel) wrote : Re: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash() | #23 |
Hi,
warum zum T.... erhalte ich seit Tagen jede Menge mails über diesen und
ähnliche Bugs??????
[Bug 269651, 282461, 282579, 282660 ... ]
ICH hatte lediglich genickt, als gefragt wurde, ob ich die Meldung über
den gerade erfolgten Crash an das "Fehlerbehebung
(btw. ich schätze diese Art der Fehlerbereinigung und die
dahinterstehende Arbeit!!)
mit freundlichem Gruß
Manfred Hensel
tdflanders schrieb:
> Hi James,
>
> I am reassigning this to you since this is frequently reoccuring.
>
> Cheers,
>
> Thomas
>
> ** Changed in: consolekit (Ubuntu)
> Assignee: (unassigned) => James Westby (james-w)
>
>
Martin Pitt (pitti) wrote : | #24 |
(for our English readers, he wonders why he gets so much mail about
this, I answer in German)
Hallo Manfred,
Manfred Hensel [2008-10-14 9:54 -0000]:
> warum zum T.... erhalte ich seit Tagen jede Menge mails über diesen und
> ähnliche Bugs??
Dieser Bug hat sehr viele "Duplikate", d. h. Fehler-Reports ueber
dasselbe Problem. Diese werden alle als Duplikate markiert, und damit
alle beteiligten Personen ueber den Fortschritt informiert werden,
werden alle ueber den Fortgang und den Bugfix informiert. Bei solch
extremen Bugs mit sehr vielen Duplikaten erzeugt das leider auch viele
Mails :-(
Das Problem ist ja nun behoben, deshalb duerfen in Zukunft keine (oder
kaum noch welche) kommen.
Launchpad Janitor (janitor) wrote : | #25 |
This bug was fixed in the package consolekit - 0.2.10-1ubuntu8
---------------
consolekit (0.2.10-1ubuntu8) intrepid; urgency=low
* Add debian/
crash when trying to remove a NULL watch. (LP: #269651)
-- Martin Pitt <email address hidden> Tue, 14 Oct 2008 08:02:40 +0200
Changed in consolekit: | |
status: | Fix Committed → Fix Released |
iponeverything (cookema) wrote : | #26 |
I have to say that I excited to see that this bug was fixed.. But alias -- I am still getting crashes after my update to the latest console-kit-daemon.
Before the fix:
messages.0:Oct 11 08:50:45 foo-laptop kernel: [ 231.404242] console-
After the fix:
syslog:Oct 16 08:01:49 foo-laptop kernel: [ 485.639885] console-
syslog:Oct 16 09:32:51 foo-laptop kernel: [ 3879.528811] console-
Martin Pitt (pitti) wrote : | #27 |
Hi iponeverything,
iponeverything [2008-10-16 5:29 -0000]:
> I have to say that I excited to see that this bug was fixed.. But alias
> -- I am still getting crashes after my update to the latest console-kit-
> daemon.
:( Can you please report them through the standard crash handler? You
might have discovered yet another bug.
geert (blaat-euronet) wrote : | #28 |
Will this fix backported to hardy?
Martin Pitt (pitti) wrote : | #29 |
I just checked, it does apply to hardy.
Changed in consolekit: | |
assignee: | nobody → pitti |
status: | New → In Progress |
iponeverything (cookema) wrote : | #30 |
Martin -- Will do: Bug #284218
thanks.
Martin Pitt (pitti) wrote : | #31 |
OK, thanks; seems it didn't quite fix it yet then, reopening.
Changed in consolekit: | |
status: | Fix Released → In Progress |
Martin Pitt (pitti) wrote : | #32 |
iponeverything, do you actually have a recipe how to reproduce this? It seems to happen quite often for you. I never ever got a crash :/ (which is good for me as a user, but bad as a developer...)
Changed in consolekit: | |
assignee: | pitti → nobody |
status: | In Progress → New |
iponeverything (cookema) wrote : | #33 |
Its been pretty random. It has happened twice immediately after resume from suspend a few times immediately after starting the desktop. I will keep my eyes open for a way to reproduce it.
tdflanders (thomasdelbeke) wrote : | #34 |
Hi Martin,
I had this bug already at least 12 - 15 times. It is always fatal, but you cannot reproduce it at will. The best way to try and get it is to deliberately mess up your system, requiring reboot. The problem is that I cannot log this.
You could perhaps try it in VirtualBox or VMWare:
$ sudo chmod -cR 077 consolekit ; sudo chown -cR 1000 consolekit ; sudo <whatever>
OR
$ sudo chmod -cR 777 /* ; sudo reboot
This will render your system inoperable: If you now try to access your old partition through the LiveCD, you may experience the crash. Make sure you have enough linux-swap available (at least 5 GB) and update and upgrade completely, use all necessary debyg-symbols, hopefully you could do this. I will go for a fresh reinstall soon. Please give me instructions if you want me to try this out.
Thanks,
Thomas
iponeverything (cookema) wrote : | #35 |
This happens to me often enough that I will just an strace attached to it till it bombs again.
gnuckx (gnuckx) wrote : | #36 |
console-kit-daemon crashed with SIGSEGV in g_str_hash()
Pete Graner (pgraner) wrote : | #37 |
Happeneds to me every login.
iponeverything (cookema) wrote : | #38 |
- strace -p 4843 Edit (79.0 KiB, text/plain)
Ok -- Console kit walked off a cliff again.
Attached is "strace -p 4843" and "grep -A5 -B5 console-kit-dae messages"
iponeverything (cookema) wrote : | #39 |
- grep -A5 -B5 console-kit-dae messages Edit (10.8 KiB, text/plain)
grep -A5 -B5 console-kit-dae messages
iponeverything (cookema) wrote : | #40 |
- 2'nd stace Edit (70.6 KiB, text/plain)
Here is another strace. It bombs in the same place.
/var/run/
Hope this helps. -- Let me know if there is something that you would like me try.
Changed in consolekit: | |
importance: | Medium → High |
24 comments hidden Loading more comments | view all 104 comments |
James Westby (james-w) wrote : Re: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash() | #65 |
On Mon, 2008-10-20 at 16:56 +0000, iponeverything wrote:
> :) thank you James. I think you have squashed this one.
>
I take it you tested it and it works?
Thanks,
James
tdflanders (thomasdelbeke) wrote : | #66 |
I installed your repository ppa into my /etc/apt/
$ sudo su ; xterm ; xterm ; xterm ; xterm ; ...
$ sudo su ; xterm | xterm | xterm | xterm
No crash either. I will try later with parallel root and user terminals, to induce a crash.
Cheers,
Thomas
Jean.c.h (slug71) wrote : | #67 |
Installed Google Earth in Terminal. When i closed Terminal after installation got this report.
In freedesktop.org Bugzilla #18046, Martin Pitt (pitti) wrote : | #68 |
For the record, this is a recipe to reliably reproduce the crash, thanks to "iponeverything" in the Ubuntu bug (slightly simplified):
--------- 8< -----------
- Attach a an strace to CK so you can see when you see it fall down:
sudo strace -p `pidof console-kit-daemon`
- Open additional xterm's like so: xterm -geometry 20x10 &
open 9 or 10 of them.
- now go through and use "su - someuser" in all of the open xterms.
- Next go thru and close each xterm one by one by using the close button in the upper right corner -- by the time you get to the forth or fifth window -- console-kit-daemon will have segfault'ed for you.
--------- 8< -----------
I tried for half an hour to turn this into a noninteractive test script, but failed unfortunately.
I tested CK with James' patch, and it works very well. I don't get crashes any more, and both X and pam-ck-connector based sessions work as usual, and even hammering it with something like
for i in `seq 50`; do
ck-
sleep 0.1
done
works correctly.
iponeverything (cookema) wrote : Re: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash() | #69 |
Yes, I have tested the heck out of it using the recipe and I am unable
reproduce the condition. I am very impressed with the patch, you've
introduced a lot of new code.
BTW -- thanks for the honorable mention in the upstream.
On Mon, Oct 20, 2008 at 11:56 PM, James Westby
<email address hidden> wrote:
> On Mon, 2008-10-20 at 16:56 +0000, iponeverything wrote:
>> :) thank you James. I think you have squashed this one.
>>
>
> I take it you tested it and it works?
>
> Thanks,
>
> James
>
> --
> console-kit-daemon crashed with SIGSEGV in g_str_hash()
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in ConsoleKit: Confirmed
> Status in "consolekit" source package in Ubuntu: In Progress
> Status in consolekit in Ubuntu Hardy: New
> Status in consolekit in Ubuntu Intrepid: In Progress
>
> Bug description:
> Binary package hint: consolekit
>
> i'm playing music with rhythymbox.. and the console- kit is falling down
>
> ProblemType: Crash
> Architecture: i386
> CrashCounter: 1
> DistroRelease: Ubuntu 8.10
> ExecutablePath: /usr/sbin/
> NonfreeKernelMo
> Package: consolekit 0.2.10-1ubuntu4
> ProcAttrCurrent: unconfined
> ProcCmdline: /usr/sbin/
> ProcEnviron:
>
> Signal: 11
> SourcePackage: consolekit
> StacktraceTop:
> g_str_hash () from /usr/lib/
> ?? () from /usr/lib/
> ?? ()
> ?? ()
> ?? ()
> Title: console-kit-daemon crashed with SIGSEGV in g_str_hash()
> Uname: Linux 2.6.27-2-generic i686
> UserGroups:
>
iponeverything (cookema) wrote : | #70 |
I have also discovered that 64 50x2 -bg black -fg green xterms look pretty cool.
If you find yourself Kabul, I'll buy you a good cup of coffee.
Best Regards,
Martin Cooke
James Westby (james-w) wrote : | #71 |
On Tue, 2008-10-21 at 03:23 +0000, iponeverything wrote:
> I have also discovered that 64 50x2 -bg black -fg green xterms look
> pretty cool.
>
> If you find yourself Kabul, I'll buy you a good cup of coffee.
I'll hold you to that :-)
Thanks for testing, and huge thanks for the way to reproduce, that
was what made this soluble.
Thanks,
James
Martin Pitt (pitti) wrote : | #72 |
I tried for half an hour to create a noninteractive test script for that, but failed unfortunately.
Anyway, I gave James' consolekit a real thorough hammering, and it works very well for me. Thanks a lot!
Alessandro Isaia (alex69) wrote : Re: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash() | #73 |
James Westby ha scritto:
> On Mon, 2008-10-20 at 16:56 +0000, iponeverything wrote:
>
>> :) thank you James. I think you have squashed this one.
>>
>>
>
> I take it you tested it and it works?
>
> Thanks,
>
> James
>
>
oh yes man, it seems to work now...really good job
iponeverything (cookema) wrote : | #74 |
Maybe I have just been lucky, but is it possible that James' fix for console-kit-daemon also fixed the segfaults that I was getting in v86d. See Bug #258031
I went from getting these quite regularly, to not at all since consolekit_
EmyrB (emyr) wrote : | #75 |
Keeps happening to me on 2 different PCs with totally different hardware.
Manfred Georg (tharkban) wrote : | #76 |
not doing anything in particular, was installing software. No music, no active browsing.
Martin Pitt (pitti) wrote : | #77 |
I uploaded that to the intrepid queue now. I gave it a really good testing beating, and it works very well for me. Some other folks here tested it, too, thus I'm eager to get it into the final release.
Thanks so much, James!
Changed in consolekit: | |
status: | In Progress → Fix Committed |
george (georgeroman) wrote : Re: [Bug 269651] Re: console-kit-daemon crashed with SIGSEGV in g_str_hash() | #78 |
unsubscribe
On Thu, Oct 23, 2008 at 10:05 AM, Martin Pitt <email address hidden>wrote:
> I uploaded that to the intrepid queue now. I gave it a really good
> testing beating, and it works very well for me. Some other folks here
> tested it, too, thus I'm eager to get it into the final release.
>
> Thanks so much, James!
>
> ** Changed in: consolekit (Ubuntu Intrepid)
> Status: In Progress => Fix Committed
>
> --
> console-kit-daemon crashed with SIGSEGV in g_str_hash()
> https:/
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
Joachim Kainz (joachim-kainz) wrote : | #79 |
George,
Wouldn't it be great, if such an "unsubscribe" command would actually
exist on Launchpad? Can you please go to to
https:/
that this button affects you too?
Best regards,
Joachim
On Thu, 2008-10-23 at 19:04 +0000, george wrote:
> unsubscribe
>
>
> On Thu, Oct 23, 2008 at 10:05 AM, Martin Pitt
> <email address hidden>wrote:
>
> > I uploaded that to the intrepid queue now. I gave it a really good
> > testing beating, and it works very well for me. Some other folks here
> > tested it, too, thus I'm eager to get it into the final release.
> >
> > Thanks so much, James!
> >
> > ** Changed in: consolekit (Ubuntu Intrepid)
> > Status: In Progress => Fix Committed
> >
> > --
> > console-kit-daemon crashed with SIGSEGV in g_str_hash()
> > https:/
> > You received this bug notification because you are a direct subscriber
> > of a duplicate bug.
> >
>
Launchpad Janitor (janitor) wrote : | #80 |
This bug was fixed in the package consolekit - 0.2.10-1ubuntu9
---------------
consolekit (0.2.10-1ubuntu9) intrepid; urgency=low
* debian/
- Move watch removals triggered by inotify in to the main thread
so that they do not race with the removals triggered by dbus.
- Don't try and remove watches that have already been removed.
- When removing a watch triggered by inotify also invalidate pointers
to it from all notifies that use it.
- Ubuntu: LP: #269651
- Upstream: https:/
-- James Westby <email address hidden> Sun, 19 Oct 2008 03:18:24 +0100
Changed in consolekit: | |
status: | Fix Committed → Fix Released |
Felix Yan (felixonmars) wrote : | #81 |
Thanks.
Now upgrading to the new version...
tdflanders (thomasdelbeke) wrote : | #82 |
James,
I get this from following your link. Is it related to the ca-certificates problem (# 244412)?
Secure Connection Faile
bugs.freedeskto
The certificate is not trusted because the issuer certificate is unknown.
(Error code: sec_error_
* This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.
* If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.
tdflanders (thomasdelbeke) wrote : | #83 |
- gdb-console-kit-daemon.txt Edit (38.9 KiB, text/plain)
Before your patch. Now my final test on this bug with kernel 2.6-27.14 and all updates.
tdflanders (thomasdelbeke) wrote : | #84 |
OK,
So I cannot reproduce this one after your patch:
thomas@
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
linux:
Installed: 2.6.27.7.10
Candidate: 2.6.27.7.10
Version table:
*** 2.6.27.7.10 0
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
500 http://
100 /var/lib/
consolekit:
Installed: 0.2.10-1ubuntu9
Candidate: 0.2.10-1ubuntu9
Version table:
*** 0.2.10-1ubuntu9 0
500 http://
100 /var/lib/
0.
500 http://
0.
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
xterm:
Installed: 235-1ubuntu1
Candidate: 235-1ubuntu1
Version table:
*** 235-1ubuntu1 0
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
500 http://
100 /var/lib/
linux-source-
Installed: 2.6.27-7.14
Candidate: 2.6.27-7.14
Version table:
*** 2.6.27-7.14 0
500 http://
100 /var/lib/
2.6.27-7.12 0
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
gnome-terminal:
Installed: 2.24.1-0ubuntu1
Candidate: 2.24.1-0ubuntu1
Version table:
*** 2.24.1-0ubuntu1 0
500 http://
100 /var/lib/
2.
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
apport-gtk:
Installed: 0.119
Candidate: 0.119
Version table:
*** 0.119 0
500 http://
100 /var/lib/
0.117 0
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
sudo:
Installed: 1.6.9p17-1ubuntu2
Candidate: 1.6.9p17-1ubuntu2
Version table:
*** 1.6.9p17-1ubuntu2 0
500 cdrom://[APTonCD for ubuntu intrepid - i386 (2008-10-21 06:52) DVD1] Packages
500 http://
100 /var/lib/
libpam:
Installed: (none)
Candidate: (none)
Version table:
thomas@
Cheers,
Thomas
pipegeek (pipegeek) wrote : | #85 |
I think this problem might not be resolved quite yet, as I can reproduce it, and I have the patched version of consolekit (0.2.10-1ubuntu9) installed. It doesn't happen right away upon boot, but it only takes a few minutes of running the system under load (8 kvm processes; 8 cpus), before console-kit-daemon segfaults. From then on (until the system is next rebooted), logging in on the console as root and then logging out again causes console-kit-daemon to segfault, and that console does not then display a login prompt.
The system in question:
lsb_release -rd ; uname -a ; apt-cache policy linux consolekit linux-image-server gnome-terminal apport-gtk sudo libpam0g
Description: Ubuntu 8.10
Release: 8.10
Linux vulcan 2.6.27-9-server #1 SMP Thu Nov 20 22:56:07 UTC 2008 x86_64 GNU/Linux
linux:
Installed: (none)
Candidate: 2.6.27.9.13
Version table:
2.6.27.9.13 0
500 http://
500 http://
2.6.27.7.11 0
500 http://
consolekit:
Installed: 0.2.10-1ubuntu9
Candidate: 0.2.10-1ubuntu9
Version table:
*** 0.2.10-1ubuntu9 0
500 http://
100 /var/lib/
Changed in consolekit: | |
status: | New → Confirmed |
Ian! D. Allen (idallen) wrote : | #86 |
Will the consolekit fix get applied to Hardy - the Long Term Support release?
Hardy only has version 0.2.3-3ubuntu5 of consolekit available.
I'm not even running Gnome (I use vtwm) and all it takes is one little inotify set to cause consolekit to fault:
kernel: [1065490.220520] console-
In freedesktop.org Bugzilla #18046, William Jon McCann (william-jon-mccann) wrote : | #87 |
Sorry for the really long delay. And thanks for looking into this!
I think your analysis is correct. In retrospect I should have designed this to use ref-counted objects. This patch seems like a good solution for now. Longer term I'd like to try to add ACCESS inotify support to GIO and use GFileMonitor.
I've committed this to master with a few small changes such as casting the wd int into a pointer and vice versa.
I'd appreciate any testing you can do of the committed patch. I'll be rolling a release with it shortly.
Thanks again.
In freedesktop.org Bugzilla #18046, Martin Pitt (pitti) wrote : | #88 |
Thanks, William. For the testing record, we have had this patch applied for four months now, in a stable release, and haven't heard bad things about it.
Changed in consolekit: | |
status: | Confirmed → Fix Released |
obscure_detour (obscure-detour) wrote : | #89 |
I was also curious if Hardy got the consolekit fix. Have been receiving this report numerous times within the last few weeks. This is with Hardy i386, all updates applied as of 22-02-09.
Feb 22 18:23:04 fileserver kernel: [1923639.393857] console-
Andres Mujica (andres.mujica) wrote : | #90 |
i believe not, check the related bug #196724, however is not clear if the impact of this bug is enough for a SRU (according to that bug report)
I do agree that a segfault's message free dmesg is a lot better than the current one.
owagner (a-launchpad-garagemaxx-de) wrote : | #91 |
The bug still happens for me with
Version: 0.2.10-1ubuntu10
Architecture: amd64
on a 8 core (Dual E5405) box. The box is running a 2.6.27 kernel build with -j16 in a loop, and 8 instances of cpuburn-in (which is a IA32 binary)
[60783.680922] console-
[61924.620762] console-
[62885.103384] console-
[63484.581385] console-
[65885.274765] console-
hoc (highoncoffee) wrote : | #92 |
Thx for the effort so far, but the bug still happens on my system. I am running Intrepid (KDE4+compiz) on an Asus V2s laptop.
Architecture: amd64
Version: 0.2.10-1ubuntu9
Now that I read the above reproduction-
The crash happens to me (up to once every hour) when I am using eclipse and close a dialog window (by pressing ESC), e.g. the file-search dialog or team>commit-dialog. I do not know how to reproduce this 100%, because it doesn't always happen, but that is definitely the trigger for the crash.
I do not find segfaults in my logs, but i do always have entries in my syslog before X crashes, indicating console-kit-daemon is the culprit:
Thx for the effort so far, but the bug still happens on my system. I am running Intrepid (KDE4+compiz) on an Asus V2s laptop.
Architecture: amd64
Version: 0.2.10-1ubuntu9
Now that I read the above reproduction-
The crash happens (sometimes) when I am using eclipse and close a dialog window (by pressing ESC), not the parent window, e.g. the file-search dialog or team>commit-dialog. I do not know how to reproduce this 100%, because it doesn't always happen, but that is definitely a trigger for the crash.
I do not find segfaults in my logs, but i do always have an entry in my syslog right before X crashes, indicating console-kit-daemon is probably to blame:
Apr 1 11:02:11 nesus console-
Apr 1 11:17:47 nesus console-
Apr 1 13:22:27 nesus console-
Apr 1 16:31:12 nesus console-
Apr 1 16:47:35 nesus console-
Apr 2 01:27:20 nesus console-
Apr 2 11:56:54 nesus console-
Apr 2 12:17:06 nesus console-
Apr 2 12:17:06 nesus console-
Apr 2 12:17:06 nesus console-
Apr 2 12:17:06 nesus console-
Every 'Unable to activate console'-line is a crash. The Glib-lines only appeared on the last crash.
As you can see I had a pretty disruptive April Fools day. :)
If you need more details, I'll be happy to provide them.
hoc (highoncoffee) wrote : | #93 |
Hmm, after having another coffee, it seems I failed in tracing the logs. The GLib entries are unrelated, so you can ignore the previous syslog-entries. Cant edit the comment, so sorry for that spam.
Basically every crash gives two syslog-lines like the following:
Apr 2 11:56:54 nesus console-
Apr 2 11:56:54 nesus kdm[5896]: X server for display :0 terminated unexpectedly
I did not find any other info related to the crashes in other logs.
Gavin McCullagh (gmccullagh) wrote : | #94 |
I'm getting segfaults like this on a server running hardy:
Jul 9 04:44:23 kevlar kernel: [590776.331930] console-
The machine is basically just in use as a shorewall/iptables based firewall.
Gavin
Sven Herzberg (herzi) wrote : | #95 |
Is there any workaround known for hardy? Should I install conslekit from Intrepid?
salt (d-salt) wrote : | #96 |
-------
WARNING: Segmentation Faults in these executables
[1906704.
------
uname -a
Linux servpII 2.6.24-24-server #1 SMP Fri Sep 18 17:24:10 UTC 2009 i686 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy
Changed in consolekit: | |
importance: | Unknown → Medium |
Changed in consolekit: | |
importance: | Medium → Unknown |
Changed in consolekit: | |
importance: | Unknown → Medium |
1 comments hidden Loading more comments | view all 104 comments |
Rolf Leggewie (r0lf) wrote : | #98 |
Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".
Changed in consolekit (Ubuntu Hardy): | |
status: | Confirmed → Won't Fix |
5 comments hidden Loading more comments | view all 104 comments |
tdflanders (thomasdelbeke) wrote : | #104 |
http://
Thomas Delbeke
StacktraceTop: g_hash_ table_remove_ internal (hash_table= 0x9237db8, key=0x0, notify=1) remove_ watch (monitor=0x9240d60, watch=0x0) at ck-file- monitor- inotify. c:245 monitor_ remove_ notify (monitor=0x9240d60, id=2) at ck-file- monitor- inotify. c:529 idle_monitor_ stop (monitor=0x9243980) at ck-tty- idle-monitor. c:211
file_monitor_
ck_file_
ck_tty_
ck_session_finalize (object=0x92490e0) at ck-session.c:855