On Mon, Feb 25, 2013 at 8:59 AM, Jose Carlos Garcia Sogo
<jcs...@gmail.com> wrote:
>> - It's happened a few times to me using the Ubuntu ppa that after
>> first opening and closing darktable once, every time I try to run it
>> again it will not open and become an unkillable process (kill -9 has
>> no effect). I can run it as many times as I want and spawn an
>> unkillable process every time. Ubuntu hangs on restart (probably
>> waiting to kill darktable) so I have to hard-reset it.
>
> Weird. Can you run from the console wiht 'darktable -d all' ? Try to
> see where it get stuck and report back to daktable-de...@lists.sf.net
>
>> Let me know if any of this wasn't clear and if you want to discuss this more.

I still haven't had the time to do another edit session to go over
everyone's comments. I did try to launch darktable today and had it
block again. Here's the last few lines of strace:

mprotect(0x7363000, 4096, PROT_READ)    = 0
mprotect(0x10f6000, 4096, PROT_READ)    = 0
munmap(0xb7721000, 92150)               = 0
openat(AT_FDCWD, "/dev/bus/usb",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 4 entries */, 32768)     = 64
close(5)                                = 0
openat(AT_FDCWD, "/dev/bus/usb",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 4 entries */, 32768)     = 64
getdents(5, /* 0 entries */, 32768)     = 0
close(5)                                = 0
openat(AT_FDCWD, "/dev/bus/usb/002",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 3 entries */, 32768)     = 48
open("/dev/bus/usb/002/001", O_RDWR)    = -1 EACCES (Permission denied)
open("/dev/bus/usb/002/001", O_RDONLY

It seems darktable is blocking trying to open the root USB device.
This may very well be a bug in the virtualbox USB support. There's
nothing attached to USB:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Running with "-d all" doesn't seem to give any more useful info

$ darktable -d all
[memory] at startup
[memory] max address space (vmpeak):       28024 kB
[memory] cur address space (vmsize):       28024 kB
[memory] max used memory   (vmhwm ):        4536 kB
[memory] cur used memory   (vmrss ):        4536 kB
[fswatch_new] fswatch not supported on your platform
[camera_control] creating new context 9c63238
[camera_control] loaded 1425 camera drivers.

Pedro

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to