• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Crash while trying to port Apache module 1.3 to Apache 2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash while trying to port Apache module 1.3 to Apache 2.2


  • Subject: Crash while trying to port Apache module 1.3 to Apache 2.2
  • From: Yvan BARTHÉLEMY <email@hidden>
  • Date: Sun, 12 Aug 2007 23:08:32 +0200

Hello,

I am currently trying to port mod_rendezvous to Apache 2 using macports distribution (since I have not found mod_bonjour sources) :
http://sourceforge.net/projects/modrendezvous/


I have successfully cleaned the code in order to have my module compile warning free.

Then I ran successfully :
$ sudo apxs -a -i -c *.c -Wl,-framework -Wl,CoreFoundation

But when I run Apache, httpd crash while executing __CFCreateRunLoopCreate :
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001
Code[1]: 0x907db038


…
Thread 1 Crashed:
0   com.apple.CoreFoundation 	0x907db038 __CFRunLoopCreate + 96
1   com.apple.CoreFoundation 	0x907daef4 CFRunLoopGetCurrent + 144
2   mod_rendezvous.so        	0x0155312c runRendezvousLoop + 268
3   libSystem.B.dylib        	0x9002bd08 _pthread_body + 96

…

I checked that CoreFoundation was correctly linked :
$ otool -L /opt/local/apache2/modules/mod_rendezvous.so
/opt/local/apache2/modules/mod_rendezvous.so:
/System/Library/Frameworks/CoreFoundation.framework/Versions/ A/CoreFoundation (compatibility version 150.0.0, current version 368.28.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.10)


Now, I have no clue about what is happening... Are CFRunLoop and pthread incompatible ?

Thanks
Yvan BARTHÉLEMY _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Next by Date: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Previous by thread: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Next by thread: Multiple NSPredicates to filter an NSArrayController
  • Index(es):
    • Date
    • Thread