jdotw / devise_pam_authenticatable Goto Github PK
View Code? Open in Web Editor NEWPAM Extension for Devise
Home Page: http://scotchandcode.com
License: MIT License
PAM Extension for Devise
Home Page: http://scotchandcode.com
License: MIT License
Running OSX 10.7 when I try to login rails crashes
In the rails log all I see is
[1] 75832 trace trap rails s
I get an OS crash dump of
Thread 4 Crashed:
0 com.apple.CoreFoundation 0x00007fff8bc361cf __CFInitialize + 63
1 dyld 0x00007fff68a5fe6f ImageLoaderMachO::doImageInit(ImageLoader::LinkContext const&) + 147
2 dyld 0x00007fff68a5fae7 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 35
3 dyld 0x00007fff68a5d2e4 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 260
4 dyld 0x00007fff68a5d27d ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 157
5 dyld 0x00007fff68a5d27d ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 157
6 dyld 0x00007fff68a5d27d ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 157
7 dyld 0x00007fff68a5e0b7 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 59
8 dyld 0x00007fff68a531b9 dyld::runInitializers(ImageLoader*) + 97
9 dyld 0x00007fff68a59657 dlopen + 540
10 libdyld.dylib 0x00007fff8bbb595b dlopen + 57
11 libpam.2.dylib 0x00007fff87a76218 openpam_dynamic + 120
12 libpam.2.dylib 0x00007fff87a765f0 openpam_load_module + 18
13 libpam.2.dylib 0x00007fff87a75bd3 openpam_read_chain + 953
14 libpam.2.dylib 0x00007fff87a75db6 openpam_load_chain + 148
15 libpam.2.dylib 0x00007fff87a75e28 openpam_configure + 29
16 libpam.2.dylib 0x00007fff87a77e5a pam_start + 127
Any ideas as to whether this is an issue with OSX, rpam, or this plug-in?
I tried switching to ruby 1.9.3 (because apparently 1.9.2 had a thread crash issue, but that didn't solve this problem). And, I'm using Rails 3.2.3 and devise 2.0.4.
I'm using a fork of this project that depends on rpam-ruby19 (which is kinda silly since the only serious difference between that and regular rpam is 2 macro calls).
The simple/demo rpam authenticate script doesn't cause this crash and successfully authenticates.
If anyone has an idea of what direction I should look I'll be better equipped to solve this myself but for now I'm stumped.
I forked this gem as the original author did not commit anything for 6 years:
https://github.com/devkral/devise_pam_authenticatable2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.