[sane-devel] Python bindings segfault

2008-06-19 Thread Ilia Sotnikov
On Tue, Jun 17, 2008 at 2:34 AM, Albert Cervera i Areny wrote: >> >> The attached patch (which indeed has been taken from another driver) should >> fix this. Note that I didn't test it but it seems pretty obvious this is >> the cause of the segmentation fault given valgrind's output. > > Sorry, ju

[sane-devel] Python bindings segfault

2008-06-15 Thread abel deuring
On 15.06.2008 14:56, Albert Cervera i Areny wrote: > While testing sane python bindings I found a segmentation fault while trying > to open the device. I attach a couple of logs. > > 'sane.log' is the output of running: > SANE_DEBUG_HP5590=50 SANE_DEBUG_SANEI_USB=255 ./test-sane.py > > 'valgrin

[sane-devel] Python bindings segfault

2008-06-15 Thread Albert Cervera i Areny
A Diumenge 15 Juny 2008, Albert Cervera i Areny va escriure: > This is running Debian unstable with the following packages: > python-imaging-sane 1.1.6 > sane 1.0.14 > libsane 1.0.19 > plus -deb packages, as as you can see in valgrind.log I meant "-dbg" pacakges, of course. > > Do you think this i

[sane-devel] Python bindings segfault

2008-06-15 Thread Albert Cervera i Areny
While testing sane python bindings I found a segmentation fault while trying to open the device. I attach a couple of logs. 'sane.log' is the output of running: SANE_DEBUG_HP5590=50 SANE_DEBUG_SANEI_USB=255 ./test-sane.py 'valgrind.log' is the output of running my test script with "valgrind --