[Bug 314675] Re: Segfault on access to user data passed to action callback

2010-07-18 Thread David Stansby
** 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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2010-06-10 Thread David Futcher
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2010-06-10 Thread kriomant
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-14 Thread Martin Mai
** 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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-12 Thread Martin Mai
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-09 Thread Martin Mai
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-09 Thread kriomant
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-09 Thread Martin Mai
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-08 Thread Martin Mai
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-08 Thread kriomant
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-07 Thread kriomant
** 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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-07 Thread kriomant
** 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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-07 Thread kriomant
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

[Bug 314675] Re: Segfault on access to user data passed to action callback

2009-01-07 Thread kriomant
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. --