Bug 140365

Summary: [patch] databases/firebird20-client coredumps
Product: Ports & Packages Reporter: Dan Lukes <dan>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-DAN-configure.in none

Description Dan Lukes 2009-11-07 18:20:01 UTC
Program received signal SIGSEGV, Segmentation fault.
in ThreadData::restoreSpecific ()
from /usr/local/lib/libfbclient.so.2

src/jrd/ThreadData.cpp:233

For detailed description including back-trace see

http://bugs.php.net/bug.php?id=44711

Fix: The bug is related to GCC and it's ISO-style handling of thread-specific data.

	It's the reason why the only 7.x are affected, not the 6.x (the GCC version doesn't support it here).

	I don't know if it is bug in gcc or the the feature is used in unexpected/improper way.

	Problem disappear when we force the code to use POSIX way of handling thread specific data.
How-To-Repeat: 	just use the library. From example in php5-interbase

	The ibase_connect () call should be sufficient
Comment 1 dfilter service freebsd_committer freebsd_triage 2010-04-24 06:36:06 UTC
dinoex      2010-04-24 05:35:58 UTC

  FreeBSD ports repository

  Modified files:
    databases/firebird20-server Makefile 
    databases/firebird20-server/files patch-configure.in 
  Log:
  - warn when if no SYSVIPC
  
  - fix coredump
  PR:             140365
  Submitted by:   Dan Lukes
  
  Revision  Changes    Path
  1.73      +6 -1      ports/databases/firebird20-server/Makefile
  1.6       +10 -1     ports/databases/firebird20-server/files/patch-configure.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2010-04-24 06:40:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2010-04-24 06:40:29 UTC
State Changed
From-To: open->closed

committed, thanks.