Trying to open inkscape version 0.48.2 it crash the x11 on my Mac OS X ver. 10.5.8 .

Bug #878368 reported by Alberto Rizzone
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Won't Fix
Medium
Unassigned

Bug Description

Hello I installed inkscape ver. 0.48.2 on my Mac (ver. 10.5.8), but on launching it since the first time it provocate a crash of X11.
I tried to reinstall but results are the same. I tried to open Gimp and X11 works normally. this is the crash reports:
Process: X11.bin [5449]
Path: /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
Identifier: org.x.X11
Version: 2.1.6 (2.1.6)
Build Info: X11server-480700~6
Code Type: X86 (Native)
Parent Process: launchd [114]

Interval Since Last Report: 2023 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 1680 sec
Per-App Crashes Since Last Report: 2

Date/Time: 2011-10-19 18:31:45.989 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 2

Application Specific Information:
X.Org X Server 1.4.2-apple33 Build Date: 20090327

Thread 0:
0 libSystem.B.dylib 0x95923166 mach_msg_trap + 10
1 libSystem.B.dylib 0x9592a95c mach_msg + 72
2 com.apple.CoreFoundation 0x967bfe7e CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x967c0aa8 CFRunLoopRunInMode + 88
4 com.apple.HIToolbox 0x9193a2ac RunCurrentEventLoopInMode + 283
5 com.apple.HIToolbox 0x9193a0c5 ReceiveNextEventCommon + 374
6 com.apple.HIToolbox 0x91939f39 BlockUntilNextEventMatchingListInMode + 106
7 com.apple.AppKit 0x948a26d5 _DPSNextEvent + 657
8 com.apple.AppKit 0x948a1f88 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
9 com.apple.AppKit 0x9489af9f -[NSApplication run] + 795
10 X11.bin 0x0000c0f6 X11ApplicationMain + 1027
11 X11.bin 0x0000fb35 X11ControllerMain + 31
12 X11.bin 0x00019797 server_main + 356
13 X11.bin 0x00003588 do_start_x11_server + 393
14 X11.bin 0x0000433c _Xstart_x11_server + 141
15 X11.bin 0x000040bd mach_startup_server + 200
16 libSystem.B.dylib 0x95997fab mach_msg_server + 343
17 X11.bin 0x00003d46 main + 478
18 X11.bin 0x00002bf6 start + 54

Thread 1:
0 libSystem.B.dylib 0x95923166 mach_msg_trap + 10
1 libSystem.B.dylib 0x9592a95c mach_msg + 72
2 com.apple.CoreFoundation 0x967bfe7e CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x967c0aa8 CFRunLoopRunInMode + 88
4 com.apple.audio.CoreAudio 0x95c045f8 HALRunLoop::OwnThread(void*) + 160
5 com.apple.audio.CoreAudio 0x95c04480 CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x95954055 _pthread_start + 321
7 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 2 Crashed:
0 X11.bin 0x00025d3e RootlessComposite + 233
1 X11.bin 0x0011df73 CompositePicture + 367
2 X11.bin 0x00119acc miTrapezoids + 587
3 X11.bin 0x0011e135 CompositeTrapezoids + 156
4 X11.bin 0x0012067f ProcRenderTrapezoids + 611
5 X11.bin 0x001236e8 ProcRenderDispatch + 60
6 X11.bin 0x000ec41a XaceCatchExtProc + 173
7 X11.bin 0x0007dad1 Dispatch + 691
8 X11.bin 0x0009b497 dix_main + 1818
9 X11.bin 0x00019526 server_thread + 62
10 libSystem.B.dylib 0x95954055 _pthread_start + 321
11 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x9592a34e __semwait_signal + 10
1 libSystem.B.dylib 0x95954ccd pthread_cond_wait$UNIX2003 + 73
2 X11.bin 0x0002cd88 xpbproxy_input_loop + 625
3 X11.bin 0x0002c886 xpbproxy_x_thread + 723
4 libSystem.B.dylib 0x95954055 _pthread_start + 321
5 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x9592a34e __semwait_signal + 10
1 libSystem.B.dylib 0x95954ccd pthread_cond_wait$UNIX2003 + 73
2 libGLProgrammability.dylib 0x92ed6b32 glvmDoWork + 162
3 libSystem.B.dylib 0x95954055 _pthread_start + 321
4 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 5:
0 libSystem.B.dylib 0x9592a34e __semwait_signal + 10
1 libSystem.B.dylib 0x95954ccd pthread_cond_wait$UNIX2003 + 73
2 X11.bin 0x00013318 DarwinProcessFDAdditionQueue_thread + 125
3 libSystem.B.dylib 0x95954055 _pthread_start + 321
4 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 6:
0 libSystem.B.dylib 0x9597260a select$DARWIN_EXTSN + 10
1 libSystem.B.dylib 0x95954055 _pthread_start + 321
2 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 7:
0 libSystem.B.dylib 0x9592a34e __semwait_signal + 10
1 libSystem.B.dylib 0x95954ccd pthread_cond_wait$UNIX2003 + 73
2 libXplugin.1.dylib 0x00513c17 _xp_async_dequeue + 40
3 libXplugin.1.dylib 0x00513cb6 _xp_async_thread + 80
4 libSystem.B.dylib 0x95954055 _pthread_start + 321
5 libSystem.B.dylib 0x95953f12 thread_start + 34

Thread 2 crashed with X86 Thread State (32-bit):
  eax: 0x00000000 ebx: 0x00025c66 ecx: 0x00000000 edx: 0x006b94d0
  edi: 0x00000000 esi: 0x00000000 ebp: 0xb019fbf8 esp: 0xb019fb20
   ss: 0x0000001f efl: 0x00010202 eip: 0x00025d3e cs: 0x00000017
   ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
  cr2: 0x00000000

Revision history for this message
su_v (suv-lp) wrote :

Which version of X11 do you have installed? (Launch X11 by itself and see 'X11 -> About X11')

> Thread 2 Crashed:
> 0 X11.bin 0x00025d3e RootlessComposite + 233
> 1 X11.bin 0x0011df73 CompositePicture + 367
> 2 X11.bin 0x00119acc miTrapezoids + 587
> 3 X11.bin 0x0011e135 CompositeTrapezoids + 156
> 4 X11.bin 0x0012067f ProcRenderTrapezoids + 611
> 5 X11.bin 0x001236e8 ProcRenderDispatch + 60
> 6 X11.bin 0x000ec41a XaceCatchExtProc + 173
> 7 X11.bin 0x0007dad1 Dispatch + 691
> 8 X11.bin 0x0009b497 dix_main + 1818
> 9 X11.bin 0x00019526 server_thread + 62
>10 libSystem.B.dylib 0x95954055 _pthread_start + 321
>11 libSystem.B.dylib 0x95953f12 thread_start + 34

Note: I had the same crashes on Mac OS X 10.5.8 Leopard (i386) with the 0.48.2-1 package from sf.net until I upgraded Apple's X11 to a newer Xquartz version (>= 2.5.1) from <http://xquartz.macosforge.org/trac/wiki/Releases>.

tags: added: crash osx
Revision history for this message
su_v (suv-lp) wrote :
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

> Which version of X11 do you have installed?

Nevermind the question - it's in the log file. 2.1.6 is the one that is installed and updated by Apple:
> Version: 2.1.6 (2.1.6)

If possible, install Xquartz 2.5.1 or one of the later releases.

tags: added: packaging
Revision history for this message
su_v (suv-lp) wrote :

> tags: added: packaging

Related to packaging only (version of the bundled x11 libs), not to Inkscape's code base itself.

Revision history for this message
Alberto Rizzone (alberiz) wrote :

Thanks, Ill try and I'll be answer back

Revision history for this message
Alberto Rizzone (alberiz) wrote :

I upgraded the X11 version to the 2.6.3 version and now Inkscape runs properly.

Thanks
Alberto

Revision history for this message
su_v (suv-lp) wrote :

Related upstream report:
 Ticket 31869 - "X (gtk2 using?) ports crash OS X 10.5.8 X11.bin"
 <https://trac.macports.org/ticket/31869>

Revision history for this message
su_v (suv-lp) wrote :

> Related to packaging only (version of the bundled x11 libs)

Actually, the incompatibility is due to having xcb support enabled for cairo 1.10.2 (bundled with Inkscape 0.48.2), and OTOH Apple's X11 2.1.6 as well as earlier XQuartz releases being built without xcb (XQuartz 2.5.1 being the first one "built --with-xcb").

Revision history for this message
su_v (suv-lp) wrote :

Related upstream ticket in MacPorts was closed as 'Won't Fix' (the proposal to add back a variant to disable xcb for cairo was not considered, instead it is recommended to require/install latest XQuartz 2.6.3 or MacPorts' own version of the latest X server).

If newer 32bit X11-based packages of Inkscape supporting Mac OS X 10.5.8 are provided (based on MacPorts):
-> packagers might consider installing cairo from a local portfile repository and disabling all xcb-related features (AFAIU neither Inkscape stable nor trunk depend on this specific protocol binding library).

-> else - if MacPorts' default cairo installation is used instead - the minimal requirement for running Inkscape >= 0.48.2 on Mac OS X 10.5.8 (XQuartz 2.6.3 - the latest release of X11/XQuartz for Leopard) should be noted on the download page.

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
su_v (suv-lp) wrote :

Possibly similarly related ticket in MacPorts (the backtraces of the crashed thread differ though, and ticket 29642 is seemingly fixed by a later release of X.org / XQuartz than the crashes seen with Inkscape 0.48.2):
- Gramps crashes X11.app in RootlessGlyphs on 10.5
  <https://trac.macports.org/ticket/29642>

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Given X11 is no longer bundled with later versions of macOS, it seems no action is needed any more on our behalf. Besides, Inkscape 1.0 will no longer require X11 with a native macOS app.

Closed by: https://gitlab.com/Qantas94Heavy

Changed in inkscape:
status: Triaged → Won't Fix
tbnorth (terry-n-brown)
tags: added: bug-migration
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.