Bug 140365 - [patch] databases/firebird20-client coredumps
Summary: [patch] databases/firebird20-client coredumps
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 18:20 UTC by Dan Lukes
Modified: 2010-04-24 06:40 UTC (History)
0 users

See Also:


Attachments
patch-DAN-configure.in (499 bytes, text/plain)
2009-11-07 18:20 UTC, Dan Lukes
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.