does your system allow gdb to attach to processes? some disable that by
default, which might lead to weird behaviour.

oh, also i'm quite sure we don't restrict ourselves to async-signal-safe
functions in the sigseg handler (man 7 signal). so i guess every once in a
million this is quite prone to deadlocking itself. i doubt that's the
reason for you though if you get it every time.

-jo


On Mon, Sep 2, 2013 at 2:58 PM, Richard Levitte <[email protected]> wrote:

> Hi!
>
> When darktable crashes, or bugs out, or whatever you want to call it,
> it starts gdb with a set of commands.  Trouble is, this simply does
> nothing.  Or rather, it just freezes.  Processes look like this:
>
> : ; ps auxw | grep darktable
> levitte  13570 28.6 10.7 4171824 877656 pts/7  tl   14:08  10:31 darktable
> -d memory
> levitte  16083  0.2  0.9  85248 75384 pts/7    T    14:37   0:01 gdb
> darktable 13570 -batch -x /usr/share/darktable/gdb_commands
> levitte  16628  0.0  0.0   5660   808 pts/8    R+   14:45   0:00 grep
> darktable
>
> On the command line where I started darktable, there's this line, I've
> no clue if it's related or not:
>
> warning: Could not load shared library symbols for linux-gate.so.1.
> Do you need "set solib-search-path" or "set sysroot"?
>
> And like many times before, /tmp has a 58 byte file
> darktable_bt_L0DR2W.txt containing this:
>
> ----------
> this is darktable 1.3+891~g0a180fa reporting a segfault:
>
> ----------
>
> This isn't terribly helpful, but what worries me most is the stopped
> gdb process...
>
> Is there a way going forward with this?
>
> About "-d memory", I was trying to figure out what makes darktable
> output those "skull" thumbnails on my system.  I run on a Y500 with
> 8GB RAM and the same amount of swap.  It uses OpenCL, and the graphics
> card has 2GB RAM.
>
> Cheers,
> Richard
>
> --
> Richard Levitte                         [email protected]
>                                         http://richard.levitte.org/
>
> "Life is a tremendous celebration - and I'm invited!"
> -- from a friend's blog, translated from Swedish
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> darktable-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to