STR #3259

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.3 | Post Text | Post File | Prev | Next ]

STR #3259

Application:FLTK Library
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software
Scope:1 - Specific to a machine/printer
Summary:Incompatibilty with tmux on OSX
Created By:hugues
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 hugues
17:44 Oct 05, 2015
tmux is a text terminal multiplexer, like screen. When I use tmux under OSX and I try to run any FLTK application, it crashes instantly.

I have no such problem with screen or a bare terminal.

The backtrace is the following:

# tmux
# ./demo
Process:         demo [77687]
Path:            /Users/USER/*/demo
Identifier:      demo
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  bash [77570]
Responsible:     Terminal [2708]
User ID:         501

Date/Time:       2015-10-06 02:43:42.897 +0200
OS Version:      Mac OS X 10.9.5 (13F34)
Report Version:  11
Anonymous UUID:  D18E88E0-A673-46E6-BB9E-077B9EC0FB5E

Crashed Thread:  0  Dispatch queue:

Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000001a

VM Regions Near 0x1a:
    __TEXT                 000000010b06b000-000000010b0b7000 [  304K] r-x/rwx SM=COW  /Users/USER/*

Thread 0 Crashed:: Dispatch queue:
0          0x00007fff8a567077 PasteboardSynchronize + 16
1   demo                          0x000000010b06f6d8 -[FLAppDelegate applicationDidBecomeActive:] + 22
3      0x00007fff8b65f82d _CFXNotificationPost + 2893
4          0x00007fff8bd77dda -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
5              0x00007fff85bc6a89 -[NSApplication sendEvent:] + 7322
6   demo                          0x000000010b06fde0 +[FLApplication sendEvent:] + 394
7   demo                          0x000000010b06ed1c fl_wait(double) + 185
8   demo                          0x000000010b06edc9 fl_mac_flush_and_wait(double) + 151
9   demo                          0x000000010b0781b7 Fl::run() + 19
10  demo                          0x000000010b06d447 main + 315
11  libdyld.dylib                 0x00007fff8b87e5fd start + 1

Let me know what I can do to help.
#2 greg.ercolano
22:07 Oct 06, 2015
Are you running the .app or invoking the executable directly?

Try running the .app with 'open', e.g.

    cd test

If that works but running the test/button executable directly
crashes, that might be an issue specific to 1.3.3 that I think
was fixed in 1.3 svn current.
#3 hugues
14:50 Oct 07, 2015
Yes it works with open. However "open" opens up a new terminal each time before running the application, so this may not be surprising.  
#4 manolo
09:55 Oct 11, 2015
I tried here FLTK 1.3.3 on Mac OS X 10.11
and downloaded and built tmux (after downloading and building libevent).

I experience no problem when running the test programs from within tmux.

Same thing when using the last FLTK version from the svn repository.

Is the OP using an older FLTK version?
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.