Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.5.27
    • Fix Version/s: N/A
    • Component/s: Packaging
    • Labels:
    • Environment:
      Ubuntu 12.04 Precise Pangolin, deb packages

      Description

      MariaDB 12.04 packages install a stripped binary:

      /usr/sbin/mysqld: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x16b84c98034eb05e6b35fe977237b6fe7a40c11a, stripped

      I have downloaded/unpacked all the available .deb packages, and failed to find anything resembling debug symbols.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              tkrah Torsten Krah added a comment -

              10.0 packages beta for Ubuntu Saucy does miss the dbg package too - its crashing for me at mysql_upgrade, fix privileges stage and without them, i am unable to provide a "good" bug report.

              Show
              tkrah Torsten Krah added a comment - 10.0 packages beta for Ubuntu Saucy does miss the dbg package too - its crashing for me at mysql_upgrade, fix privileges stage and without them, i am unable to provide a "good" bug report.
              Hide
              danblack Daniel Black added a comment -

              I'd be really happy with any debug symbols in a single or multiple package.

              The lack of this, along with MDEV-6367, is making it hard to make debug builds in a reasonable time and this that is stopping me from getting essential information about a memory leak on MDEV-6300.

              Show
              danblack Daniel Black added a comment - I'd be really happy with any debug symbols in a single or multiple package. The lack of this, along with MDEV-6367 , is making it hard to make debug builds in a reasonable time and this that is stopping me from getting essential information about a memory leak on MDEV-6300 .
              Hide
              danblack Daniel Black added a comment -

              Looks like galera has done this: https://github.com/codership/galera/pull/116/files.

              Otto Kekäläinen are you able to help here?

              Show
              danblack Daniel Black added a comment - Looks like galera has done this: https://github.com/codership/galera/pull/116/files . Otto Kekäläinen are you able to help here?
              Hide
              otto Otto Kekäläinen added a comment -

              Yes, in Debian by default binaries are stripped. If will make the binaries much smaller and 99,999% of the time end-users don't need binaries with debug symbols. If debug versions are wanted, they are most often installed from a development repository and the packages are named dbg. For example I've done galera-dbg and I can do mariadb-server(5.5/10.0)-dbg too, but right now I don't have any extra time on my hands.

              This is not assigned to anybody so I'll assign it to myself so I'll remember to return to it later.

              Show
              otto Otto Kekäläinen added a comment - Yes, in Debian by default binaries are stripped. If will make the binaries much smaller and 99,999% of the time end-users don't need binaries with debug symbols. If debug versions are wanted, they are most often installed from a development repository and the packages are named dbg. For example I've done galera-dbg and I can do mariadb-server (5.5/10.0)-dbg too, but right now I don't have any extra time on my hands. This is not assigned to anybody so I'll assign it to myself so I'll remember to return to it later.
              Hide
              otto Otto Kekäläinen added a comment -

              In Debian and Ubuntu normal packages are not supposed to contain debug symbols, they are stipped when the binary packages are created.

              Ubuntu however provides automatically a facility that has the debug symbols, so that users can install them and get better stack traces. See details at https://wiki.ubuntu.com/DebuggingProgramCrash#Debug_Symbol_Packages (and examples at http://ddebs.ubuntu.com/pool/universe/m/mariadb-10.0/)

              Also it looks like this issue is a duplicate of https://mariadb.atlassian.net/browse/MDEV-658 (or the other way around, as 572 is older)

              Show
              otto Otto Kekäläinen added a comment - In Debian and Ubuntu normal packages are not supposed to contain debug symbols, they are stipped when the binary packages are created. Ubuntu however provides automatically a facility that has the debug symbols, so that users can install them and get better stack traces. See details at https://wiki.ubuntu.com/DebuggingProgramCrash#Debug_Symbol_Packages (and examples at http://ddebs.ubuntu.com/pool/universe/m/mariadb-10.0/ ) Also it looks like this issue is a duplicate of https://mariadb.atlassian.net/browse/MDEV-658 (or the other way around, as 572 is older)

                People

                • Assignee:
                  otto Otto Kekäläinen
                  Reporter:
                  psergey Sergei Petrunia
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: