FLTK logo

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 | SVN ⇄ GIT ]

STR #3259

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:1 - Specific to a machine/printer
Subsystem:MacOS
Summary:Incompatibilty with tmux on OSX
Version:1.3-current
Created By:hugues
Assigned To:matt
Fix Version:Will Not Fix
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
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: com.apple.main-thread
0   com.apple.HIServices          0x00007fff8a567077 PasteboardSynchronize + 16
1   demo                          0x000000010b06f6d8 -[FLAppDelegate applicationDidBecomeActive:] + 22
2   com.apple.CoreFoundation      0x00007fff8b76be0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
3   com.apple.CoreFoundation      0x00007fff8b65f82d _CFXNotificationPost + 2893
4   com.apple.Foundation          0x00007fff8bd77dda -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
5   com.apple.AppKit              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
    open button.app

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?
 
 
#5 matt
03:58 Jan 20, 2023
This STR has not been updated by the submitter for two or more weeks and has been closed as required by the FLTK Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR.  
     

Return to Bugs & Features ]

 
 

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