[haiku-bugs] [Haiku] #9792: [Registrar] Crash when signature doesn't match constructor arg

  • From: "irtusb" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 May 2013 05:00:16 -0000

#9792: [Registrar] Crash when signature doesn't match constructor arg
-------------------------------------------------+-------------------------
 Reporter:  irtusb                               |        Owner:  axeld
     Type:  bug                                  |       Status:  new
 Priority:  high                                 |    Milestone:
Component:  Kits/Application Kit                 |  Unscheduled
 Keywords:  settype,crash,registrar,file         |      Version:
  signature,mimetype                             |  R1/Development
 Blocking:                                       |   Blocked By:
 Platform:  x86                                  |  Has a Patch:  0
-------------------------------------------------+-------------------------
 Present in R1A4, and hrev45686 gcc2h(although output differs slightly)

 Steps to reproduce:
 * Open Paladin
 * Create a new project using template GUI with Main Window
 * Make the project (just with defaults)
 * Open Terminal and issue command "settype -s Application/x-vnd.test
 BeApp" (BeApp is the recently compiled executable)
 * call BeApp using Terminal (using Tracker also works)
 * Crash! a debugger appears as if it were KDL but instead is GNU GDB

 At this point you can write "continue" to return to Desktop, and you will
 find yourself unable to open any executable.
 * All of them say BAD PORT ID error
 * Somewhere says registrar was killed
 * Other weird thing happens: you cannot shutdown/reboot using the deskbar
 neither commandline, desktop items aren't refreshes (i.e. copying/creating
 new files there) and so...

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

Other related posts: