digitalmars.D.bugs - [Issue 14692] New: SIGSEGV during SHA.put
- via Digitalmars-d-bugs (116/116) Jun 12 2015 https://issues.dlang.org/show_bug.cgi?id=14692
https://issues.dlang.org/show_bug.cgi?id=14692 Issue ID: 14692 Summary: SIGSEGV during SHA.put Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: rjmcguire gmail.com I get a SEGFAULT every time I try log in to my MySQL server using mysql-native and vibe.d. If I compile with GDC I do not have this problem, and I never used to have this problem with previous versions of dmd, not sure which version etc yet. Just logging this issue in the meantime so that I don't forget. Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) by Undefined command: "by". Try "help". (gdb) bt const(ubyte)[]...) (this=0x7fffffffd160, input=...) at /usr/include/dmd/phobos/std/digest/sha.d:723 (this=0x7fffffffd160, __HID34=0x7fffffffd1d0) at /usr/include/dmd/phobos/std/digest/sha.d:768 160).SHA, const(ubyte)[]).digest(scope const(ubyte[])) (__HID42=0x7fffffffd228, _param_0=...) at /usr/include/dmd/phobos/std/digest/digest.d:433 std.digest.sha.sha1Of!(const(ubyte)[]).sha1Of(const(ubyte)[]) (__HID41=0x7fffffffd298, _param_0=...) at /usr/include/dmd/phobos/std/digest/sha.d:1102 (this=0x7ffff7ec0c00, authBuf=...) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/connection.d:2615 (this=0x7ffff7ec0c00, greeting=...) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/connection.d:2664 mysql.connection.Connection.connect(mysql.connection.SvrCapFlags) (this=0x7ffff7ec0c00, clientCapabilities=33293) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/connection.d:2693 mysql.connection.Connection.this(mysql.connection.MySQLSocketType, std.socket.TcpSocket(immutable(char)[], ushort) function*, vibe.core.net.TCPConnection(immutable(char)[], ushort) function*, immutable(char)[], immutable(char)[], immutable(char)[], immutable(char)[], ushort, mysql.connection.SvrCapFlags) (this=0x7ffff7ec0c00, capFlags=33293, port=3306, db=..., pwd=..., user=..., host=..., openSocketVibeD=0x76bfb8 <mysql.connection.Connection.defaultOpenSocketVibeD(immutable(char)[], ushort)>, openSocketPhobos=0x76bf40 <mysql.connection.Connection.defaultOpenSocketPhobos(immutable(char)[], ushort)>, socketType=<incomplete type>) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/connection.d:2788 mysql.connection.Connection.this(mysql.connection.MySQLSocketType, immutable(char)[], immutable(char)[], immutable(char)[], immutable(char)[], ushort, mysql.connection.SvrCapFlags) (this=0x7ffff7ec0c00, capFlags=33293, port=3306, db=..., pwd=..., user=..., host=..., socketType=<incomplete type>) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/connection.d:2741 immutable(char)[], immutable(char)[], immutable(char)[], ushort, mysql.connection.SvrCapFlags) ( this=0x7ffff7ec0c00, capFlags=33293, port=3306, db=..., pwd=..., user=..., host=...) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/connection.d:2732 (this=0x7ffff7eca100) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/db.d:48 vibe.core.connectionpool.ConnectionPool!(mysql.connection.Connection).ConnectionPool.lockConnection() (this=0x7ffff7ec7ac0, __HID44=0x7fffffffd838) at ../../../../../../.dub/packages/vibe-d-0.7.23/source/vibe/core/connectionpool.d:54 (this=0x7ffff7eca100, __HID149=0x7fffffffd8c0) at ../../../../../../.dub/packages/mysql-native-0.0.15/source/mysql/db.d:44 _D2rt5minfo67__T14runModuleFuncsS442rt5minfo11ModuleGroup8runCtorsMFZ9__lambda2Z14runModuleFuncsMFAxPyS6object10ModuleInfoZv () rt.sections_elf_shared.DSO) () rt.sections_elf_shared.DSO) delegate) () int(char[][]) function*).runAll() () int(char[][]) function*).tryExec(scope void() delegate) () argv=0x7fffffffdd98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd88) at libc-start.c:289 (gdb) q --
Jun 12 2015