[Xquartz-dev] Latest beta (XQuartz 2.7.2_beta4) crashes with Inkscape (stable and trunk)

Jeremy Huddleston jeremyhu at apple.com
Thu Apr 5 14:29:13 PDT 2012


I have a fix.  Thanks for the info.

--Jeremy

On Apr 5, 2012, at 1:15 PM, ~suv <suv-sf at users.sourceforge.net> wrote:

> Binary package: download "Inkscape-0.48.2-1-SNOWLEOPARD.dmg" from
> <http://sourceforge.net/projects/inkscape/files/inkscape/0.48.2/>
> (32bit Universal (PPC, Intel), built and packaged on Mac OS X 10.5.8)
> 
> 
> Steps to reproduce:
> 1) Launch Inkscape.app (it opens with a new, empty document)
> 2) resize the window
> -> works ok
> 3) click once with the mouse pointer on the canvas area
> -> XQuartz (and Inkscape) crash
> 
> 
> Quoting from the report in Inkscape's bug tracker:
> 
> «Inkscape crashes (XQuartz crashes also) when clicking inside the
> drawing area with the following tools: Select, Node, Zoom, Rectangle,
> 3D, Circle, Polygon, Spiral, Freehand, Bezier, Calligraphic, Text,
> Eraser and Eyedropper.
> 
> Apart from this Inkscape functions normally: I can resize the window,
> scroll up + down, select the 'fill and stroke' and 'text properties' etc
> 
> I am even able to click in the drawing area with some of the other tools
> without it crashing: Tweak, Spray, Fill Bucket, Gradient and the Diagram
> Connector (which successfully draws connections on the drawing area,
> they can even be moved around without crashing).»
> 
> <https://bugs.launchpad.net/inkscape/+bug/972914>
> 
> 
> hth, ~suv
> 
> 
> On 05/04/2012 21:43, Jeremy Huddleston wrote:
>> Yeah, I saw some beta4 crash reports come in through Apple's crash reporting system a few days ago, and the one which had useful feedback provided (yes, we do read that field...) mentioned gimp.  I was planning to try reproducing it this week, but unfortunately I have no information other than that gimp triggered it and the backtrace which shows it failing in a grab.
>> 
>> If you can tell me what you do to trigger this, it would be helpful.  For "clicking on Inkscape's canvas area", do you mean you open a new image in inkscape and just click on it?  I'm currently building inkscape and gimp through MacPorts right now, but if you can point me to a binary package that you have that you know triggers it, I'd appreciate using that instead since I actually have quite a few dependencies to build =) 
>> 
>> My hunch is that there is some fallout due to something related to this change:
>> http://cgit.freedesktop.org/xorg/xserver/commit/?id=7790dc86384cc451ac44663737fde84dd81ad4e1
>> 
>> 
>> 
>> On Apr 5, 2012, at 9:26 AM, ~suv <suv-sf at users.sourceforge.net> wrote:
>> 
>>> Hi,
>>> 
>>> recently we got a bug report for Inkscape 0.48.2 on OS X 10.7.2 (X11
>>> crashes when clicking on Inkscape's canvas area) which seems to be
>>> triggered by changes in the latest XQuartz beta release for 2.7.2:
>>> 
>>> Bug #972914 "[OS X] Crash when clicking inside drawing area"
>>> <https://bugs.launchpad.net/inkscape/+bug/972914>
>>> 
>>> Inkscape's console message:
>>> 
>>>> inkscape-bin: Fatal IO error 35 (Resource temporarily unavailable) on X server /tmp/launch-JR8gbQ/org.macosforge.xquartz:0.
>>> 
>>> and from the X11.bin crash report:
>>> 
>>>> Thread 3 Crashed:
>>>> 0   X11.bin                       	0x00000001000c747e ActivateKeyboardGrab + 104
>>>> 1   X11.bin                       	0x00000001000ccb52 GrabDevice + 718
>>>> 2   X11.bin                       	0x00000001000849d3 ProcXGrabDevice + 258
>>>> 3   X11.bin                       	0x00000001000be4d2 Dispatch + 257
>>>> 4   X11.bin                       	0x00000001000275be dix_main + 185
>>>> 5   X11.bin                       	0x0000000100011f4f server_thread + 38
>>>> 6   libsystem_c.dylib             	0x00007fff939008bf _pthread_start + 335
>>>> 7   libsystem_c.dylib             	0x00007fff93903b75 thread_start + 13
>>> 
>>> Full crash report for X11.bin:
>>> <https://bugs.launchpad.net/inkscape/+bug/972914/+attachment/2999102/+files/X11.bin_2012-04-03-220711.crash>
>>> 
>>> I have been able to reproduce the crash (temporarily upgraded to XQuartz
>>> 2.7.2 beta4 on OS X 10.7.2) with Inkscape 0.48.2 installed via
>>> (up-to-date) MacPorts as well as current trunk builds (Inkscape
>>> 0.48+devel r11155) - to make sure it is not related to conflicts with
>>> older library versions included in the official package (July 2011).
>>> 
>>> Reverting to stable XQuartz 2.7.1 solves the issue and Inkscape (stable
>>> and trunk) works again as expected.
>>> 
>>> Any feedback on this (possibly known (?)) conflict with XQuartz 2.7.2
>>> beta4 would be highly appreciated.
>>> 
>>> 
>>> Thanks,
>>> ~suv
>>> 
>>> _______________________________________________
>>> Xquartz-dev mailing list
>>> Xquartz-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>> 
>> 
>> 
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>> 
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev



More information about the Xquartz-dev mailing list