Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-13 Thread Joshua Root

Does the patch attached to the ticket not work?

The full environment for each step is listed in the log file for the 
port. This is normally removed after a successful install though. So run 
'sudo port destroot inkscape' to do a build without installing and then 
'port logfile inkscape' to find the path to the log.


To build with debug symbols, you of course have to change the flags 
used. This should do it (make sure you clean first):


sudo port -k install inkscape configure.optflags="-O0 -g"

(The -k will prevent the work directory from being removed after 
successful installation. This is where the .dSYM files/directories are, 
without which debugging doesn't work nearly as well.)


- Josh

On 2017-2-13 21:17 , Barry Scott wrote:

I will debug this if someone can tell me how to install the port with source 
line debug enabled.

Also how do I get to see the exact CFLAGS etc that is used in the build?

I found that if I build Inkscape outside of MacPorts port file but against 
MacPorts libs and headers
Inkscape works.

Barry



On 12 Feb 2017, at 21:52, Joshua Root  wrote:


The crash log contains the following chosen tidbits.

Process:   inkscape [21797]
Path:  /opt/local/bin/inkscape
Identifier:inkscape
Version:   0
Code Type: X86-64 (Native)
Parent Process:bash [530]
Responsible:   inkscape [21797]
[…]
Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:   KERN_INVALID_ADDRESS at 0x
Exception Note:EXC_CORPSE_NOTIFY

Termination Signal:Segmentation fault: 11
Termination Reason:Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]
[…]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib   0x7fff9d7560f3 _UTF8_mbsnrtowcs + 
287
1   libsystem_c.dylib   0x7fff9d750f02 __collate_mbstowcs + 
123
2   libsystem_c.dylib   0x7fff9d77a79c strcoll_l + 76
3   libglib-2.0.0.dylib 0x00010740bf99 g_utf8_collate + 105
4   inkscape0x000104756a93 
font_factory::GetUIStyles(_PangoFontFamily*) + 221
5   inkscape0x00010475c1e8 
Inkscape::FontLister::update_font_list(SPDocument*) + 1490
6   inkscape0x00010488442c 
sp_text_toolbox_prep(SPDesktop*, _GtkActionGroup*, _GObject*) + 156
7   inkscape0x00010488dc85 
setup_aux_toolbox(_GtkWidget*, SPDesktop*) + 435
8   inkscape0x00010488d7a4 
Inkscape::UI::ToolboxFactory::setToolboxDesktop(_GtkWidget*, SPDesktop*) + 518
9   inkscape0x0001048bb4ad 
Inkscape::UI::UXManagerImpl::connectToDesktop(std::__1::vector<_GtkWidget*, 
std::__1::allocator<_GtkWidget*> > const&, SPDesktop*) + 201
10  inkscape0x000104833828 
SPDesktopWidget::createInstance(SPNamedView*) + 794
11  inkscape0x0001048334f5 
sp_desktop_widget_new(SPNamedView*) + 11
12  inkscape0x00010451d6df 
sp_file_new(std::__1::basic_string const&) + 223
13  inkscape0x00010451d9e9 
sp_file_new_default() + 49
14  inkscape0x0001044df337 sp_main_gui(int, 
char const**) + 929
15  libdyld.dylib   0x7fff9d6e9255 start + 1











Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-13 Thread Barry Scott
I will debug this if someone can tell me how to install the port with source 
line debug enabled.

Also how do I get to see the exact CFLAGS etc that is used in the build?

I found that if I build Inkscape outside of MacPorts port file but against 
MacPorts libs and headers
Inkscape works.

Barry


> On 12 Feb 2017, at 21:52, Joshua Root  wrote:
> 
>> The crash log contains the following chosen tidbits.
>> 
>> Process:   inkscape [21797]
>> Path:  /opt/local/bin/inkscape
>> Identifier:inkscape
>> Version:   0
>> Code Type: X86-64 (Native)
>> Parent Process:bash [530]
>> Responsible:   inkscape [21797]
>> […]
>> Crashed Thread:0  Dispatch queue: com.apple.main-thread
>> 
>> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
>> Exception Codes:   KERN_INVALID_ADDRESS at 0x
>> Exception Note:EXC_CORPSE_NOTIFY
>> 
>> Termination Signal:Segmentation fault: 11
>> Termination Reason:Namespace SIGNAL, Code 0xb
>> Terminating Process:   exc handler [0]
>> […]
>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>> 0   libsystem_c.dylib0x7fff9d7560f3 _UTF8_mbsnrtowcs + 
>> 287
>> 1   libsystem_c.dylib0x7fff9d750f02 __collate_mbstowcs + 
>> 123
>> 2   libsystem_c.dylib0x7fff9d77a79c strcoll_l + 76
>> 3   libglib-2.0.0.dylib  0x00010740bf99 g_utf8_collate + 105
>> 4   inkscape 0x000104756a93 
>> font_factory::GetUIStyles(_PangoFontFamily*) + 221
>> 5   inkscape 0x00010475c1e8 
>> Inkscape::FontLister::update_font_list(SPDocument*) + 1490
>> 6   inkscape 0x00010488442c 
>> sp_text_toolbox_prep(SPDesktop*, _GtkActionGroup*, _GObject*) + 156
>> 7   inkscape 0x00010488dc85 
>> setup_aux_toolbox(_GtkWidget*, SPDesktop*) + 435
>> 8   inkscape 0x00010488d7a4 
>> Inkscape::UI::ToolboxFactory::setToolboxDesktop(_GtkWidget*, SPDesktop*) + 
>> 518
>> 9   inkscape 0x0001048bb4ad 
>> Inkscape::UI::UXManagerImpl::connectToDesktop(std::__1::vector<_GtkWidget*, 
>> std::__1::allocator<_GtkWidget*> > const&, SPDesktop*) + 201
>> 10  inkscape 0x000104833828 
>> SPDesktopWidget::createInstance(SPNamedView*) + 794
>> 11  inkscape 0x0001048334f5 
>> sp_desktop_widget_new(SPNamedView*) + 11
>> 12  inkscape 0x00010451d6df 
>> sp_file_new(std::__1::basic_string> std::__1::allocator > const&) + 223
>> 13  inkscape 0x00010451d9e9 
>> sp_file_new_default() + 49
>> 14  inkscape 0x0001044df337 sp_main_gui(int, 
>> char const**) + 929
>> 15  libdyld.dylib0x7fff9d6e9255 start + 1
> 
> 
> 



Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-12 Thread Joshua Root

The crash log contains the following chosen tidbits.

Process:   inkscape [21797]
Path:  /opt/local/bin/inkscape
Identifier:inkscape
Version:   0
Code Type: X86-64 (Native)
Parent Process:bash [530]
Responsible:   inkscape [21797]
[…]
Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:   KERN_INVALID_ADDRESS at 0x
Exception Note:EXC_CORPSE_NOTIFY

Termination Signal:Segmentation fault: 11
Termination Reason:Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]
[…]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib   0x7fff9d7560f3 _UTF8_mbsnrtowcs + 
287
1   libsystem_c.dylib   0x7fff9d750f02 __collate_mbstowcs + 
123
2   libsystem_c.dylib   0x7fff9d77a79c strcoll_l + 76
3   libglib-2.0.0.dylib 0x00010740bf99 g_utf8_collate + 105
4   inkscape0x000104756a93 
font_factory::GetUIStyles(_PangoFontFamily*) + 221
5   inkscape0x00010475c1e8 
Inkscape::FontLister::update_font_list(SPDocument*) + 1490
6   inkscape0x00010488442c 
sp_text_toolbox_prep(SPDesktop*, _GtkActionGroup*, _GObject*) + 156
7   inkscape0x00010488dc85 
setup_aux_toolbox(_GtkWidget*, SPDesktop*) + 435
8   inkscape0x00010488d7a4 
Inkscape::UI::ToolboxFactory::setToolboxDesktop(_GtkWidget*, SPDesktop*) + 518
9   inkscape0x0001048bb4ad 
Inkscape::UI::UXManagerImpl::connectToDesktop(std::__1::vector<_GtkWidget*, 
std::__1::allocator<_GtkWidget*> > const&, SPDesktop*) + 201
10  inkscape0x000104833828 
SPDesktopWidget::createInstance(SPNamedView*) + 794
11  inkscape0x0001048334f5 
sp_desktop_widget_new(SPNamedView*) + 11
12  inkscape0x00010451d6df 
sp_file_new(std::__1::basic_string const&) + 223
13  inkscape0x00010451d9e9 
sp_file_new_default() + 49
14  inkscape0x0001044df337 sp_main_gui(int, 
char const**) + 929
15  libdyld.dylib   0x7fff9d6e9255 start + 1





Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-12 Thread Ryan Schmidt
On Feb 12, 2017, at 11:42, Murray Eisenberg wrote:
> 
> I did install port inkscape-app and I get the same behavior — the incessant 
> appearance and disappearance of the XQuartz icon in the Dock, and NO Inscape 
> window or items in the menu bar — as when I tried running inkscape from 
> command line.

Ah ok if the XQuartz icon keeps disappearing then that's probably what's 
crashing. 


> I do see an Inkscape icon in the Dock, but it does not have the tell-tale dot 
> under it to indicate the app is open.

Inkscape is not a real Mac app so it won't behave like a normal Mac app icon in 
the dock. 


> [I’m beginning to suspect an XQuartz problem, as I’m getting the same issue 
> with the XQuartz icon when I try to run rCmdr from within RStudio after 
> giving the RStudio command quartz(). so I completely uninstalled XQuartz and 
> reinstalled. No change!]
> 
> Not sure what the “usual place” means for crash logs.

~/Library/Logs/DiagnosticReports





Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-12 Thread Jean-Francois Gobin
Good evening,

Trying to start inkscape at the command-line also crashes. XQuartz starts, 
there are several GTK-WARNING at the console about missing actions, then  an 
errorbox that states that « Inkscape has encountered an internal error and will 
close ». Clicking on close displays « Segmentation error: 11 » at the console.

The crash log contains the following chosen tidbits.

Process:   inkscape [21797]
Path:  /opt/local/bin/inkscape
Identifier:inkscape
Version:   0
Code Type: X86-64 (Native)
Parent Process:bash [530]
Responsible:   inkscape [21797]
[…]
Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:   KERN_INVALID_ADDRESS at 0x
Exception Note:EXC_CORPSE_NOTIFY

Termination Signal:Segmentation fault: 11
Termination Reason:Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]
[…]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib   0x7fff9d7560f3 _UTF8_mbsnrtowcs + 
287
1   libsystem_c.dylib   0x7fff9d750f02 __collate_mbstowcs + 
123
2   libsystem_c.dylib   0x7fff9d77a79c strcoll_l + 76
3   libglib-2.0.0.dylib 0x00010740bf99 g_utf8_collate + 105
4   inkscape0x000104756a93 
font_factory::GetUIStyles(_PangoFontFamily*) + 221
5   inkscape0x00010475c1e8 
Inkscape::FontLister::update_font_list(SPDocument*) + 1490
6   inkscape0x00010488442c 
sp_text_toolbox_prep(SPDesktop*, _GtkActionGroup*, _GObject*) + 156
7   inkscape0x00010488dc85 
setup_aux_toolbox(_GtkWidget*, SPDesktop*) + 435
8   inkscape0x00010488d7a4 
Inkscape::UI::ToolboxFactory::setToolboxDesktop(_GtkWidget*, SPDesktop*) + 518
9   inkscape0x0001048bb4ad 
Inkscape::UI::UXManagerImpl::connectToDesktop(std::__1::vector<_GtkWidget*, 
std::__1::allocator<_GtkWidget*> > const&, SPDesktop*) + 201
10  inkscape0x000104833828 
SPDesktopWidget::createInstance(SPNamedView*) + 794
11  inkscape0x0001048334f5 
sp_desktop_widget_new(SPNamedView*) + 11
12  inkscape0x00010451d6df 
sp_file_new(std::__1::basic_string const&) + 223
13  inkscape0x00010451d9e9 
sp_file_new_default() + 49
14  inkscape0x0001044df337 sp_main_gui(int, 
char const**) + 929
15  libdyld.dylib   0x7fff9d6e9255 start + 1


Jean

> Le 12 févr. 2017 à 18:42, Murray Eisenberg  a 
> écrit :
> 
> I did install port inkscape-app and I get the same behavior — the incessant 
> appearance and disappearance of the XQuartz icon in the Dock, and NO Inscape 
> window or items in the menu bar — as when I tried running inkscape from 
> command line.
> 
> I do see an Inkscape icon in the Dock, but it does not have the tell-tale dot 
> under it to indicate the app is open.
> 
> [I’m beginning to suspect an XQuartz problem, as I’m getting the same issue 
> with the XQuartz icon when I try to run rCmdr from within RStudio after 
> giving the RStudio command quartz(). so I completely uninstalled XQuartz and 
> reinstalled. No change!]
> 
> Not sure what the “usual place” means for crash logs.
> 
> 
>> On Feb 11, 2017, at 5:18 PM, Ryan Schmidt  wrote:
>> 
>> 
>> On Feb 11, 2017, at 13:59, Murray Eisenberg wrote:
>> 
>>> The current version, Inkscape @0.92.0_3+x11  current, does not work under 
>>> macOS Sierra 10.12.3.
>>> 
>>> After starting it from the command line, I see the XQuartz icon appear in 
>>> the Dock, then repeatedly disappear and reappear there. And I never see any 
>>> Inkscape icon there, or Inkscape window, or Inkscape item in the menu bar.
>>> 
>>> How get it to work?
>> 
>> It's been working for me.
>> 
>> Maybe it's crashing for you. Can you check if there are any crash logs, in 
>> the usual place?
>> 
> 
> ---
> Murray Eisenberg  murrayeisenb...@gmail.com
> 503 King Farm Blvd #101   Home (240)-246-7240
> Rockville, MD 20850-6667  Mobile (413)-427-5334
> 
> 



Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-12 Thread Murray Eisenberg
I did install port inkscape-app and I get the same behavior — the incessant 
appearance and disappearance of the XQuartz icon in the Dock, and NO Inscape 
window or items in the menu bar — as when I tried running inkscape from command 
line.

I do see an Inkscape icon in the Dock, but it does not have the tell-tale dot 
under it to indicate the app is open.

[I’m beginning to suspect an XQuartz problem, as I’m getting the same issue 
with the XQuartz icon when I try to run rCmdr from within RStudio after giving 
the RStudio command quartz(). so I completely uninstalled XQuartz and 
reinstalled. No change!]

Not sure what the “usual place” means for crash logs.


> On Feb 11, 2017, at 5:18 PM, Ryan Schmidt  wrote:
> 
> 
> On Feb 11, 2017, at 13:59, Murray Eisenberg wrote:
> 
>> The current version, Inkscape @0.92.0_3+x11  current, does not work under 
>> macOS Sierra 10.12.3.
>> 
>> After starting it from the command line, I see the XQuartz icon appear in 
>> the Dock, then repeatedly disappear and reappear there. And I never see any 
>> Inkscape icon there, or Inkscape window, or Inkscape item in the menu bar.
>> 
>> How get it to work?
> 
> It's been working for me.
> 
> Maybe it's crashing for you. Can you check if there are any crash logs, in 
> the usual place?
> 

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334




Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-11 Thread Stanton Sanderson

> On Feb 11, 2017, at 4:18 PM, Ryan Schmidt  wrote:
> 
> 
> On Feb 11, 2017, at 13:59, Murray Eisenberg wrote:
> 
>> The current version, Inkscape @0.92.0_3+x11  current, does not work under 
>> macOS Sierra 10.12.3.
>> 
>> After starting it from the command line, I see the XQuartz icon appear in 
>> the Dock, then repeatedly disappear and reappear there. And I never see any 
>> Inkscape icon there, or Inkscape window, or Inkscape item in the menu bar.
>> 
>> How get it to work?
> 
> It's been working for me.
> 
> Maybe it's crashing for you. Can you check if there are any crash logs, in 
> the usual place?
> ?

and working for me also. Did you install inkscape.app?

Re: Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!

2017-02-11 Thread Ryan Schmidt

On Feb 11, 2017, at 13:59, Murray Eisenberg wrote:

> The current version, Inkscape @0.92.0_3+x11  current, does not work under 
> macOS Sierra 10.12.3.
> 
> After starting it from the command line, I see the XQuartz icon appear in the 
> Dock, then repeatedly disappear and reappear there. And I never see any 
> Inkscape icon there, or Inkscape window, or Inkscape item in the menu bar.
> 
> How get it to work?

It's been working for me.

Maybe it's crashing for you. Can you check if there are any crash logs, in the 
usual place?