** Tags added: patch
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
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
In response to comment #10, I can't get this to segfault on 64bit
Maverick alpha 1. I don't have any 32bit computers to test it on, but if
someone could test the attached test-script on a 32bit install, that
would be greatly helpful.
Thanks!
--
Segfault on access to user data passed to action
Reproduced on Lucid 32bit.
Interesting that it segfaults if you click button using mouse, but it hangs if
you press button using keyboard.
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are a
** Changed in: notify-python (Ubuntu)
Importance: Undecided = Medium
Status: Confirmed = Triaged
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Hm...this is interesting. I have two computers here and the one is
segfaulting with your examples but the other is not segfaulting. The
only remarkable difference is that the segfaulting computer runs Ubuntu
32-bit and the non segfaulting computer runs Ubuntu 64-bit
** Changed in: notify-python
I forgot to klick it, thanks for reminding me, but I still get no
segfault. Here is the terminal output:
1) Left click on the notification
mar...@martin-laptop:~/Desktop$ python test-default-action.py
You clicked the default action
User data: __main__.A instance at 0x1e82bd8
2) Left click on
Just tried it on Ubuntu Intrepid Live CD. I don't even have to install
pynotify, it is installed by default.
ubu...@ubuntu:~$ python test.py
You clicked the default action
Segmentation fault (core dumped)
ubu...@ubuntu:~$ python --version
Python 2.5.2
ubu...@ubuntu:~$ dpkg-query -W python-notify
I am sorry, but still no segfault :)
mar...@martin-laptop:~/Desktop$ python test-default-action-gc.py
You clicked the default action
User data: __main__.A instance at 0x27496c8
mar...@martin-laptop:~/Desktop$ python --version
Python 2.5.2
mar...@martin-laptop:~/Desktop$ dpkg-query -W
Thank you for taking time to report this. Unfortunately I can not
reproduce this with the test file you provided (It just shows a little
notification Matt is online and thats it. No segfault (I run
Intrepid).
Can you try it with a new user created on your system and maybe a clean
install (dual
Did you click notification? It is needed to reproduce segfault.
If you did and got no segfault, I'll try to reproduce bug on clean
installation.
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are
** Attachment added: Test case to reproduce bug
http://launchpadlibrarian.net/20975550/test-default-action.py
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are a member of Ubuntu
Bugs, which
** Attachment added: Patch to property maintain 'user_data' refcount
http://launchpadlibrarian.net/20975556/action-user-data-refcount.patch
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are a
As a workaround instead of:
notification.add_action(id, name, callback, data)
use:
notification.add_action(id, name, lambda n, id: callback(n, id, data))
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification
Fixed package is uploaded to my PPA:
https://launchpad.net/~kriomant/+archive
--
Segfault on access to user data passed to action callback
https://bugs.launchpad.net/bugs/314675
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
14 matches
Mail list logo