[haiku-bugs] [Haiku] #11351: <kdebug>qrencode broken since outsourcing of libqrencode

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Sat, 18 Oct 2014 17:10:05 -0000

#11351: <kdebug>qrencode broken since outsourcing of libqrencode
---------------------------+------------------------------
 Reporter:  mmlr           |        Owner:  nobody
     Type:  bug            |       Status:  new
 Priority:  low            |    Milestone:  R1
Component:  System/Kernel  |      Version:  R1/Development
 Keywords:                 |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  All            |
---------------------------+------------------------------
 The outsourced libqrencode library used by the qrencode kernel debugger
 addon is not built to be usable from the kernel debugger. It was
 outsourced in hrev47126, which shows the culprit: [[http://cgit.haiku-
 os.org/haiku/diff/src/add-
 
ons/kernel/debugger/qrencode/Jamfile?id=607a620b1cfcf98b1056991faab5afbcd4a1944d|the
 Jamfile]] redefined the malloc functions to use their kernel debugger
 equivalent when building the libqrencode sources, which the outsourced
 package doesn't do. Using the addon results in normal kernel heap
 functions being used, which mustn't be used inside the kernel debugger.

 I see three options:
 * Put the sources back so the library can be built with the defines again.
 * Build a kernel debugger version of the libqrencode package.
 * Remove the qrencode kernel debugger addon completely.

 Since the addon doesn't seem to be in broad use (probably due to it's non-
 intuitive interface), removing it would be an easy way out. Building a
 kernel debugger aware package shouldn't be too involved either, as it's
 just about redefining the malloc functions.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11351>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: