Code Monkey home page Code Monkey logo

Comments (44)

ddollar avatar ddollar commented on June 21, 2024

This should be fixed in foreman 0.22.0 (latest). Are you still seeing it?

from foreman.

michenriksen avatar michenriksen commented on June 21, 2024

I also experience a kernel panic when I start up Foreman (0.22.0).

Crash report:

Interval Since Last Panic Report:  809857 sec
Panics Since Last Report:          5
Anonymous UUID:                    69E40AE0-CEFF-4071-9129-C471CD35FA96

Wed Sep 21 15:09:35 2011
panic(cpu 1 caller 0xffffff8000328ae2): "Negative open count?"@/SourceCache/xnu/xnu-1699.22.81/bsd/miscfs/specfs/spec_vnops.c:1368
Backtrace (CPU 1), Frame : Return Address
0xffffff8092a5bc10 : 0xffffff8000220702 
0xffffff8092a5bc90 : 0xffffff8000328ae2 
0xffffff8092a5bcd0 : 0xffffff800032c885 
0xffffff8092a5bd20 : 0xffffff8000318ee4 
0xffffff8092a5bd60 : 0xffffff80002fd19a 
0xffffff8092a5bdb0 : 0xffffff80002fce9e 
0xffffff8092a5bdf0 : 0xffffff80002fe3c1 
0xffffff8092a5be20 : 0xffffff8000316a0f 
0xffffff8092a5be50 : 0xffffff8000540dc9 
0xffffff8092a5bec0 : 0xffffff800023b9db 
0xffffff8092a5bef0 : 0xffffff800023beda 
0xffffff8092a5bf20 : 0xffffff800023bf70 
0xffffff8092a5bf50 : 0xffffff800021e0ce 
0xffffff8092a5bf90 : 0xffffff80002c1caa 
0xffffff8092a5bfb0 : 0xffffff80002d7a0c 

BSD process name corresponding to current thread: ruby

Mac OS version:
11B26

Kernel version:
Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64
Kernel UUID: D52AAB80-B2BC-3C6E-BBEA-78BD28064998
System model name: MacBookAir3,2 (Mac-942C5DF58193131B)

System uptime in nanoseconds: 502952805675
last loaded kext at 9518529575: com.apple.driver.AppleHWSensor  1.9.4d0 (addr 0xffffff7f81ccd000, size 28672)
last unloaded kext at 191971866503: com.apple.driver.CoreStorageFsck    180 (addr 0xffffff7f81845000, size 77824)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp  4.0.10
org.virtualbox.kext.VBoxNetFlt  4.0.10
org.virtualbox.kext.VBoxUSB 4.0.10
org.virtualbox.kext.VBoxDrv 4.0.10
com.apple.driver.AppleHWSensor  1.9.4d0
com.apple.filesystems.autofs    3.0
com.apple.driver.ApplePlatformEnabler   2.0.2d1
com.apple.driver.AppleMikeyHIDDriver    122
com.apple.driver.AGPM   100.12.40
com.apple.driver.AppleHDA   2.1.1f12
com.apple.driver.AppleUpstreamUserClient    3.5.9
com.apple.driver.AppleMCCSControl   1.0.24
com.apple.driver.AppleMikeyDriver   2.1.1f12
com.apple.GeForce   7.0.4
com.apple.driver.AudioAUUC  1.59
com.apple.iokit.IOUserEthernet  1.0.0d1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AudioIPCDriver 1.2.0
com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.0b2
com.apple.driver.AppleLPC   1.5.1
com.apple.driver.AppleBacklight 170.1.9
com.apple.driver.AppleUSBTCButtons  220.8
com.apple.driver.AppleUSBTCKeyboard 220.8
com.apple.driver.AppleUSBCardReader 3.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 32
com.apple.iokit.IOAHCIBlockStorage  2.0.0
com.apple.driver.AppleAHCIPort  2.1.8
com.apple.driver.AirPort.Brcm4331   511.20.10
com.apple.driver.AppleUSBHub    4.4.0
com.apple.driver.AppleUSBEHCI   4.4.0
com.apple.driver.AppleUSBOHCI   4.4.0
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleEFINVRAM  1.5.0
com.apple.driver.AppleRTC   1.4
com.apple.driver.AppleHPET  1.6
com.apple.driver.AppleACPIButtons   1.4
com.apple.driver.AppleSMBIOS    1.7
com.apple.driver.AppleACPIEC    1.4
com.apple.driver.AppleAPIC  1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 166.0.0
com.apple.nke.applicationfirewall   3.0.30
com.apple.security.quarantine   1
com.apple.driver.AppleIntelCPUPowerManagement   166.0.0
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 2.1.1f12
com.apple.driver.AppleSMBusController   1.0.10d0
com.apple.nvidia.nv50hal    7.0.4
com.apple.NVDAResman    7.0.4
com.apple.iokit.IOSurface   80.0
com.apple.iokit.IOBluetoothSerialManager    2.5f17
com.apple.iokit.IOSerialFamily  10.0.5
com.apple.iokit.IOAudioFamily   1.8.3fc11
com.apple.kext.OSvKernDSPLib    1.3
com.apple.driver.AppleHDAController 2.1.1f12
com.apple.iokit.IOHDAFamily 2.1.1f12
com.apple.driver.AppleSMC   3.1.1d2
com.apple.driver.IOPlatformPluginFamily 4.7.0b2
com.apple.driver.AppleSMBusPCI  1.0.10d0
com.apple.driver.AppleBacklightExpert   1.0.3
com.apple.iokit.IONDRVSupport   2.3
com.apple.iokit.IOGraphicsFamily    2.3
com.apple.driver.BroadcomUSBBluetoothHCIController  2.5f17
com.apple.driver.AppleUSBBluetoothHCIController 2.5f17
com.apple.iokit.IOBluetoothFamily   2.5f17
com.apple.driver.AppleUSBHIDKeyboard    152.3
com.apple.driver.AppleHIDKeyboard   152.3
com.apple.driver.AppleUSBMultitouch 220.23
com.apple.iokit.IOUSBHIDDriver  4.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice   3.0.0
com.apple.iokit.IOUSBMassStorageClass   3.0.0
com.apple.iokit.IOSCSIArchitectureModelFamily   3.0.0
com.apple.driver.AppleUSBMergeNub   4.4.0
com.apple.driver.AppleUSBComposite  3.9.0
com.apple.driver.CoreStorage    180
com.apple.driver.XsanFilter 403
com.apple.iokit.IOAHCIFamily    2.0.6
com.apple.iokit.IO80211Family   400.40
com.apple.iokit.IONetworkingFamily  2.0
com.apple.driver.AppleMCP89RootPortPM   1.11
com.apple.driver.NVSMU  2.2.9
com.apple.iokit.IOUSBUserClient 4.4.0
com.apple.iokit.IOUSBFamily 4.4.0
com.apple.driver.AppleEFIRuntime    1.5.0
com.apple.iokit.IOHIDFamily 1.7.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox  165
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet  7
com.apple.driver.DiskImages 326
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore  28.18
com.apple.driver.AppleACPIPlatform  1.4
com.apple.iokit.IOPCIFamily 2.6.5
com.apple.iokit.IOACPIFamily    1.4
Model: MacBookAir3,2, BootROM MBA31.0061.B01, 2 processors, Intel Core 2 Duo, 1.86 GHz, 4 GB, SMC 1.66f55
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54333235533642465238412D47372020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54333235533642465238412D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.100.98.75.10)
Bluetooth: Version 2.5.0f17, 2 service, 12 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD SM128C, 121,33 GB
USB Device: FaceTime Camera (Built-in), apple_vendor_id, 0x850a, 0x24600000 / 3
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x24100000 / 2
USB Device: USB-PS/2 Optical Mouse, 0x046d  (Logitech Inc.), 0xc051, 0x24130000 / 5
USB Device: Apple Keyboard, apple_vendor_id, 0x0220, 0x24120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821b, 0x04530000 / 4
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x023f, 0x04300000 / 2

Procfile:

resque: VERBOSE=1 QUEUES=critical,high,normal,low rake resque:work

I also had Spork and Guard initializers in the Procfile but I removed them because I thought they were the trouble makers, but even with only Resque, it still crashes. I don't know if it could have something to do with Mac OS X Lion? - I'm running 10.7.1 (11B26)

from foreman.

dx7 avatar dx7 commented on June 21, 2024

I also experience kernel panic when I start up Foreman 0.22.0.

I'm running Mac OS X Lion 10.7.1 too.

My Procfile:
redis: redis-server
search: rake sunspot:solr:run
rake resque:work

With Foreman 0.20.0 I received SIGTERM to all process:
14:59:15 redis.1 | started with pid 1345
14:59:15 search.1 | started with pid 1346
14:59:15 rake.1 | started with pid 1348
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 * Server started, Redis version 2.2.12
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 * DB loaded from disk: 0 seconds
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 * The server is now ready to accept connections on port 6379
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 - DB 0: 15 keys (0 volatile) in 16 slots HT.
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 - 0 clients connected (0 slaves), 925408 bytes in use
14:59:20 rake.1 | /Users/rafaeldx7/.rvm/gems/ruby-1.9.2-p180-loadgc@myfinance/gems/foreman-0.20.0/bin/foreman-runner:2:in exec': No such file or directory - resque:work (Errno::ENOENT) 14:59:20 rake.1 | from /Users/rafaeldx7/.rvm/gems/ruby-1.9.2-p180-loadgc@myfinance/gems/foreman-0.20.0/bin/foreman-runner:2:in

'
14:59:20 rake.1 | process terminated
14:59:20 system | sending SIGTERM to all processes
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 # Received SIGTERM, scheduling shutdown...
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 # User requested shutdown...
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 * Saving the final RDB snapshot before exiting.
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 * DB saved on disk
14:59:20 redis.1 | [1347] 28 Sep 14:59:20 # Redis is now ready to exit, bye bye...

from foreman.

dx7 avatar dx7 commented on June 21, 2024

My Procfile format was deprecated:

redis: redis-server
search: rake sunspot:solr:run
rake resque:work

Last line doesn't have a name and a colon. I fix it and foreman is working fine. But... Kernel Panic because Procfile?

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Could anyone else getting kernel panics try updating to the latest version of foreman and pasting your Procfile here?

from foreman.

dx7 avatar dx7 commented on June 21, 2024

My Procfile with error was:

redis: redis-server
search: rake sunspot:solr:run
rake resque:work

I fix it with:

redis: redis-server
search: rake sunspot:solr:run
work: rake resque:work

Foreman 0.22.0 is working fine now. But kernel panic because Procfile is weird.

from foreman.

Sephi-Chan avatar Sephi-Chan commented on June 21, 2024

I issued two Kernel Panic on Mac OS X Lion 10.7.1 while starting Foreman 0.24.0 with the following Procfile:

web:        bundle exec rails server
worker:     bundle exec rake resque:work
redis:      redis-server
juggernaut: juggernaut

Any idea?

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Are you running inside screen or tmux ?

from foreman.

Sephi-Chan avatar Sephi-Chan commented on June 21, 2024

Nope, just in my Terminal.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

What version of Ruby are you using?

from foreman.

Sephi-Chan avatar Sephi-Chan commented on June 21, 2024

Oups sorry, forgotten than one! It's Ruby 1.9.2.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Could you give me the full output of ruby -v ?

Thanks!

from foreman.

Sephi-Chan avatar Sephi-Chan commented on June 21, 2024

ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

from foreman.

ddollar avatar ddollar commented on June 21, 2024

I assume you are using rvm? If so, could you try updating rvm to latest and recompiling that version of ruby?

from foreman.

Sephi-Chan avatar Sephi-Chan commented on June 21, 2024

Hi! It finally works after updating all the stuff I can update.

  • RVM 1.8.6
  • Ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
  • Rubygems 1.8.11

I'm glad to use Foreman again! :)
Kernel panic… What a hard way of failing. :p

from foreman.

cjbottaro avatar cjbottaro commented on June 21, 2024

Hey, I'm getting the kernel panic also in OS X 10.7.1. Here's my info...

$ ruby -v
ruby 1.9.2p290 (2011-07-09) [x86_64-darwin11.1.0]
$ cat Procfile 
solr_test: RAILS_ENV=test bundle exec rake sunspot:solr:run

I installed Ruby with ruby-build. Let me know what other info I can provide. Oh, using foreman-0.24.0.

Thanks for the help.

from foreman.

bsingr avatar bsingr commented on June 21, 2024

also getting kernel panics on Mac OS X Lion 10.7.1 (11B26) using TotalTerminal + oh-my-zsh and ruby

$ rvm -v
rvm 1.8.3 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]

$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]

$ gem list foreman
foreman (0.24.0)

$ cat Procfile
app: rails s
mongo: mongod --dbpath $PWD/tmp/db --rest

from foreman.

argami avatar argami commented on June 21, 2024

Im getting the same with

ruby 1.9.2p312
gem v1.8.10

postgresql: postgres -D /Users/argami/Documents/trabajo/databases/postgresql 
openerpServer: openerp-server --update=all --log-level=debug_rpc_answer
openerpClient: openerp-web

But it was giving me a error when the last one wasn't installed in the system once i install the openerp-web start to work again.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Anyone seeing this issue please try the following:

  • Update rvm to latest rvm get latest
  • Reload rvm rvm reload
  • Recompile your version of Ruby
  • Install the latest foreman gem

If you do all of that and are still seeing kernel panics, please report here and include the following:

  • Output of rvm -v
  • Output of ruby -v
  • Output of gem env
  • Output of which foreman

Thanks,
David

from foreman.

argami avatar argami commented on June 21, 2024

Im working from a brand new macbook 11" with lion i installed all 2 days ago.

rvm 1.8.6 
ruby 1.9.2p312 

RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.10
  - RUBY VERSION: 1.9.2 (2011-08-11 patchlevel 312) [x86_64-darwin11.0.1]
  - INSTALLATION DIRECTORY: /Users/argami/.rvm/gems/ruby-1.9.2-head
  - RUBY EXECUTABLE: /Users/argami/.rvm/rubies/ruby-1.9.2-head/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/argami/.rvm/gems/ruby-1.9.2-head/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-11
  - GEM PATHS:
     - /Users/argami/.rvm/gems/ruby-1.9.2-head
     - /Users/argami/.rvm/gems/ruby-1.9.2-head@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

/Users/argami/.rvm/gems/ruby-1.9.2-head/bin/foreman

My issue just happend when the last work on the Procfile wasn't installed in the system.

from foreman.

argami avatar argami commented on June 21, 2024

Ok at least in my case i found that the problem it based in PTY.spawn when the command doesn't exists give me a kernel panic.

Can any of you try something like

require 'pty'
PTY.spawn('unexisting_command')

Thanks

from foreman.

argami avatar argami commented on June 21, 2024

Ok more news!!! It gives error just with 1.9.2 from p180 to HEAD but its works again with 1.9.3 in Head but need a small patch, because give a uncontrolled error. issue #83 is a pull request with the patch

from foreman.

argami avatar argami commented on June 21, 2024

i create a issue in redmine so u can track this http://redmine.ruby-lang.org/issues/5433

from foreman.

argami avatar argami commented on June 21, 2024

Updating news, the error has been closed and mark as a Kernel BUG. But it just happend in 1.9.2 and not 1.9.3.

As a workaround u can be sure that your command doesn't give any error, or use 1.9.3, 1.8.6.

from foreman.

lukeredpath avatar lukeredpath commented on June 21, 2024

Also experience kernel panics, but with one specific change to my Procfile.

Here's my Procfile:


redis:    redis-server config/redis.development.conf
***:      bundle exec rake resque:work QUEUE=***
***:     bundle exec rake resque:work QUEUE=***
***:   bundle exec rake resque:work QUEUE=***
***:    bundle exec rake resque:work QUEUE=***
***:  bundle exec rake resque:work QUEUE=***
***: bundle exec rake resque:work QUEUE=***

I've starred out the queue/worker names as they are business sensitive.

This works fine. Adding VVERBOSE=1 to one of my resque workers causes the kernel panic. This appears to be repeatable.

I'm running OSX 10.7.2 (GM). Version info:

ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
rvm 1.6.20 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]

Gem env:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.8
  - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-darwin10.7.0]
  - INSTALLATION DIRECTORY: /Users/luke/.rvm/gems/ruby-1.9.2-p180
  - RUBY EXECUTABLE: /Users/luke/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/luke/.rvm/gems/ruby-1.9.2-p180/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-10
  - GEM PATHS:
     - /Users/luke/.rvm/gems/ruby-1.9.2-p180
     - /Users/luke/.rvm/gems/ruby-1.9.2-p180@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gemcutter_key" => "********************************"
     - :sources => ["http://gemcutter.org", "http://gems.rubyforge.org"]
     - "gem" => "--no-ri --no-rdoc"
  - REMOTE SOURCES:
     - http://gemcutter.org
     - http://gems.rubyforge.org

Which foreman:

/Users/luke/.rvm/gems/ruby-1.9.2-p180/bin/foreman

OSX Crash report:


Interval Since Last Panic Report:  22 sec
Panics Since Last Report:          2
Anonymous UUID:                    EDE1AC11-D443-4008-8C32-FFA46A2246DC

Thu Oct 13 14:10:57 2011
panic(cpu 0 caller 0xffffff8000328af2): "Negative open count?"@/SourceCache/xnu/xnu-1699.24.8/bsd/miscfs/specfs/spec_vnops.c:1368
Backtrace (CPU 0), Frame : Return Address
0xffffff80a401bc10 : 0xffffff8000220702 
0xffffff80a401bc90 : 0xffffff8000328af2 
0xffffff80a401bcd0 : 0xffffff800032c895 
0xffffff80a401bd20 : 0xffffff8000318ef4 
0xffffff80a401bd60 : 0xffffff80002fd1aa 
0xffffff80a401bdb0 : 0xffffff80002fceae 
0xffffff80a401bdf0 : 0xffffff80002fe3d1 
0xffffff80a401be20 : 0xffffff8000316a1f 
0xffffff80a401be50 : 0xffffff8000540e59 
0xffffff80a401bec0 : 0xffffff800023ba0b 
0xffffff80a401bef0 : 0xffffff800023bf0a 
0xffffff80a401bf20 : 0xffffff800023bfa0 
0xffffff80a401bf50 : 0xffffff800021e0ce 
0xffffff80a401bf90 : 0xffffff80002c1c8a 
0xffffff80a401bfb0 : 0xffffff80002d79ec 

BSD process name corresponding to current thread: ruby

Mac OS version:
11C73

Kernel version:
Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
System model name: MacBookPro6,2 (Mac-F22586C8)

System uptime in nanoseconds: 229621695441
last loaded kext at 94322257742: com.apple.filesystems.afpfs    9.8 (addr 0xffffff7f8223a000, size 356352)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp  3.1.4
org.virtualbox.kext.VBoxNetFlt  3.1.4
org.virtualbox.kext.VBoxUSB 3.1.4
org.virtualbox.kext.VBoxDrv 3.1.4
com.rogueamoeba.hermes  4.1.0
com.Cycling74.driver.Soundflower    1.5.3
com.rogueamoeba.HermesAudio 3.0.2
com.apple.filesystems.afpfs 9.8
com.apple.nke.asp_tcp   6.0.1
com.apple.driver.AppleHWSensor  1.9.4d0
com.apple.filesystems.autofs    3.0
com.apple.driver.AudioAUUC  1.59
com.apple.driver.AppleMikeyHIDDriver    122
com.apple.driver.AppleHDA   2.1.3f7
com.apple.driver.AppleMikeyDriver   2.1.3f7
com.apple.driver.AppleTyMCEDriver   1.0.2d2
com.apple.driver.AGPM   100.12.42
com.apple.driver.AppleUpstreamUserClient    3.5.9
com.apple.driver.AppleMCCSControl   1.0.26
com.apple.driver.SMCMotionSensor    3.0.1d2
com.apple.iokit.IOUserEthernet  1.0.0d1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleSMCLMU    2.0.1d2
com.apple.driver.AudioIPCDriver 1.2.1
com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.5d4
com.apple.GeForce   7.1.2
com.apple.driver.AppleLPC   1.5.3
com.apple.driver.AppleMuxControl    3.0.16
com.apple.driver.AppleBacklight 170.1.9
com.apple.driver.AppleIntelHDGraphics   7.1.2
com.apple.driver.AppleIntelHDGraphicsFB 7.1.2
com.apple.driver.AppleUSBTCButtons  225.2
com.apple.driver.AppleUSBCardReader 3.0.1
com.apple.driver.AppleIRController  312
com.apple.driver.AppleUSBTCKeyEventDriver   225.2
com.apple.driver.AppleUSBTCKeyboard 225.2
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.driver.AirPort.Brcm4331   512.20.18
com.apple.iokit.SCSITaskUserClient  3.0.1
com.apple.iokit.IOAHCIBlockStorage  2.0.1
com.apple.driver.AppleFWOHCI    4.8.9
com.apple.driver.AppleUSBHub    4.5.0
com.apple.iokit.AppleBCM5701Ethernet    3.0.8b2
com.apple.driver.AppleEFINVRAM  1.5.0
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleAHCIPort  2.2.0
com.apple.driver.AppleUSBEHCI   4.5.0
com.apple.driver.AppleUSBUHCI   4.4.5
com.apple.driver.AppleACPIButtons   1.4
com.apple.driver.AppleRTC   1.4
com.apple.driver.AppleHPET  1.6
com.apple.driver.AppleSMBIOS    1.7
com.apple.driver.AppleACPIEC    1.4
com.apple.driver.AppleAPIC  1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 167.0.0
com.apple.nke.applicationfirewall   3.2.30
com.apple.security.quarantine   1
com.apple.driver.AppleIntelCPUPowerManagement   167.0.0
com.apple.security.SecureRemotePassword 1.0
com.apple.kext.triggers 1.0
com.apple.driver.AppleHDAHardwareConfigDriver   2.1.3f7
com.apple.driver.DspFuncLib 2.1.3f7
com.apple.driver.AppleSMBusController   1.0.10d0
com.apple.iokit.IOSurface   80.0
com.apple.iokit.IOBluetoothSerialManager    4.0.1f4
com.apple.iokit.IOSerialFamily  10.0.5
com.apple.iokit.IOAVBFamily 1.0.0d22
com.apple.iokit.IOFireWireIP    2.2.4
com.apple.driver.AppleSMBusPCI  1.0.10d0
com.apple.driver.AppleHDAController 2.1.3f7
com.apple.iokit.IOHDAFamily 2.1.3f7
com.apple.iokit.IOAudioFamily   1.8.3fc11
com.apple.kext.OSvKernDSPLib    1.3
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.driver.AppleSMC   3.1.1d8
com.apple.driver.IOPlatformPluginFamily 4.7.5d4
com.apple.driver.AppleGraphicsControl   3.0.16
com.apple.driver.AppleBacklightExpert   1.0.3
com.apple.nvidia.nv50hal    7.1.2
com.apple.NVDAResman    7.1.2
com.apple.iokit.IONDRVSupport   2.3.2
com.apple.iokit.IOGraphicsFamily    2.3.2
com.apple.driver.BroadcomUSBBluetoothHCIController  4.0.1f4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4
com.apple.iokit.IOBluetoothFamily   4.0.1f4
com.apple.driver.AppleFileSystemDriver  13
com.apple.iokit.IOSCSIBlockCommandsDevice   3.0.1
com.apple.iokit.IOUSBMassStorageClass   3.0.0
com.apple.driver.AppleUSBMultitouch 227.1
com.apple.iokit.IOUSBHIDDriver  4.4.5
com.apple.driver.AppleUSBMergeNub   4.5.3
com.apple.driver.AppleUSBComposite  3.9.0
com.apple.iokit.IO80211Family   411.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice  3.0.1
com.apple.iokit.IOBDStorageFamily   1.6
com.apple.iokit.IODVDStorageFamily  1.7
com.apple.iokit.IOCDStorageFamily   1.7
com.apple.driver.XsanFilter 403
com.apple.iokit.IOAHCISerialATAPI   2.0.1
com.apple.iokit.IOSCSIArchitectureModelFamily   3.0.1
com.apple.iokit.IOFireWireFamily    4.4.5
com.apple.iokit.IOUSBUserClient 4.5.3
com.apple.iokit.IOEthernetAVBController 1.0.0d5
com.apple.iokit.IONetworkingFamily  2.0
com.apple.iokit.IOAHCIFamily    2.0.7
com.apple.iokit.IOUSBFamily 4.5.3
com.apple.driver.AppleEFIRuntime    1.5.0
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox  165.3
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet  7
com.apple.driver.DiskImages 331
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore  28.18
com.apple.driver.AppleACPIPlatform  1.4
com.apple.iokit.IOPCIFamily 2.6.7
com.apple.iokit.IOACPIFamily    1.4
Model: MacBookPro6,2, BootROM MBP61.0057.B0C, 2 processors, Intel Core i5, 2.4 GHz, 4 GB, SMC 1.58f16
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 256 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463235363634485A2D3147314631
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463235363634485A2D3147314631
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.100.98.75.18)
Bluetooth: Version 4.0.1f4, 2 service, 11 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: INTEL SSDSA2M160G2GC, 160.04 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa130000 / 5
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0xfa120000 / 4
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8218, 0xfa113000 / 8
USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0xfd110000 / 3

from foreman.

argami avatar argami commented on June 21, 2024

@lukeredpath one question, if you execute the command in the console what happen??

from foreman.

lukeredpath avatar lukeredpath commented on June 21, 2024

Worked fine executed from the console. It also worked if I moved the VVERBOSE=1 to the end so it's as if it's interpreting that as a command rather than an environment variable declaration.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

I have reported this on the official Mac developer forums.

As mentioned about by @argami, details can also be found on the ruby tracker:
http://redmine.ruby-lang.org/issues/5433

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Link to the bug report at Apple: https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/43/wo/Pq8zrB5X24wNMaKDNqKUs0/12.66

from foreman.

Nimster avatar Nimster commented on June 21, 2024

FYI at least for us it seemed to happen only with redis tasks, and when we upgraded to a new redis version and installed it system-wide, rather than locally, it went away. I don't know if this helps figure it out.

from foreman.

michenriksen avatar michenriksen commented on June 21, 2024

I got Foreman to work by installing it with the pkg package - I don't get any segfaults anymore! Yay!

from foreman.

codeinvain avatar codeinvain commented on June 21, 2024

+1 on michenriksen solution
#73 (comment)
[update]
apparently its not the case , see below

from foreman.

ddollar avatar ddollar commented on June 21, 2024

The difference is probably that you are using system Ruby when using the .pkg installer.

from foreman.

codeinvain avatar codeinvain commented on June 21, 2024

since the debugging of this issue is cumbersome (crashes my machine each time) i didn't get into depth why it worked.
and if it will repeat i'll update you

anyway here are my env details after installing the pkg.
didn't seem to change much.

~ rvm -v

rvm 1.9.2 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]

~ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
~ gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 1.8.11
  • RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin11.2.0]
  • INSTALLATION DIRECTORY: /Users/daniel/.rvm/gems/ruby-1.9.2-p290
  • RUBY EXECUTABLE: /Users/daniel/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
  • EXECUTABLE DIRECTORY: /Users/daniel/.rvm/gems/ruby-1.9.2-p290/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-darwin-11
  • GEM PATHS:
    • /Users/daniel/.rvm/gems/ruby-1.9.2-p290
    • /Users/daniel/.rvm/gems/ruby-1.9.2-p290@global
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

10x
d.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Since which foreman is still returning the gem, I doubt the package installation did anything for you. The crash occurs when you try to run a nonexistent command in the Procfile, perhaps something about the environment is different.

from foreman.

codeinvain avatar codeinvain commented on June 21, 2024

thanks for the info i'll keep you posted

from foreman.

balexand avatar balexand commented on June 21, 2024

I'm also having this issue with foreman-0.26.0 on 10.7.2. My Procfile is just:

resque: QUEUE=* rake resque:work

from foreman.

hundredwatt avatar hundredwatt commented on June 21, 2024

I was running into this problem (I think it's the same one) and solved it by changing my Procfile from

resque: QUEUE=* bundle exec rake resque:work

to

 resque: bundle exec rake resque:work QUEUE=* 

I figured this out by exporting to Bluepill (I couldn't get foreman start to work, so I was trying via Bluepill) and then looking at the log files for the individual processes, in which I saw

Errno::ENOENT `No such file or directory - QUEUE=*`

After moving QUEUE=* to the end, I tried foreman start and it worked!

from foreman.

stve avatar stve commented on June 21, 2024

I have been able to produce a kernel panic consistently. This doesn't appear to be quite the same as what others are experiencing but figured I'd share it here. My Procfile looks like this:

web: jekyll --server --auto
compass: compass watch .
coffee: coffee --output javascripts --compile --watch coffee

The cause was operator error on my own part: turns out I did not have coffee-script installed on this machine. Everything started normally once I removed the coffee-script line from the Procfile and likewise once I installed coffee-script.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

Can you try the latest foreman prerelease?

 $ gem install foreman --pre

from foreman.

slant avatar slant commented on June 21, 2024

I was receiving a SIGTERM error and was just able to resolve it. Figured I would share in case it helps anyone else. I got the idea from hundredwatt above. Thank you, by the way! My Procfile looked like this:

worker: QUEUE=* bundle exec rake resque:work

Upon trying to start foreman, I received the following:

➜ foreman start
22:10:38 worker.1  | started with pid 14015
22:10:38 worker.1  | /Users/ryan/.rvm/gems/ruby-1.9.2-p290/gems/foreman-0.30.0/bin/runner: line 2: exec: QUEUE=*: not found
22:10:38 worker.1  | process terminated
22:10:38 system    | sending SIGTERM to all processes

The only thing I did differently was to move the environment variable to the end, as hundredwatt suggested.

worker: bundle exec rake resque:work QUEUE=*

Smooth sailing since...

➜ foreman start
22:16:15 worker.1  | started with pid 14315

My environment:
Ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
Rails 3.1.1
RubyGems 1.8.11
Mac OS 10.7.2

from foreman.

Sephi-Chan avatar Sephi-Chan commented on June 21, 2024

No problem anymore here with Foreman 0.28.0.pre2 with Ruby 1.9.2-p290 and RubyGems 1.8.11 on Mac OS 10.7.2.

Thanks! ;)

from foreman.

stve avatar stve commented on June 21, 2024

I am no longer experiencing an error with foreman 0.30.1. Thanks.

from foreman.

ddollar avatar ddollar commented on June 21, 2024

This was fixed by moving away from the pty library which had bugs on Lion.

from foreman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.