语言

Menu
Sites
Language
Tizen debugger (Exited. Exit code = 127.)

I' ve installed new sdk 2.1 (for win7 64). Now I am not able to launch my application on device. I have just <terminated>Tizen debugger (Exited. Exit code = 127.)

Something like this:

[Starting deploy process...]
[RDS] RDS mode is enabled.
$ /usr/bin/pkgcmd -l  | grep MgwHof5aHA
pkg_type [tpk] pkgid [MgwHof5aHA] name [RiaNews] version [1.0.0]
$ /usr/bin/pkgcmd -C -t tpk -n MgwHof5aHA
Appid: MgwHof5aHA.RiaNews is Not Running
cmd_ret:0
 
[Launching application with GDBServer...]
$ /home/developer/sdk_tools/gdbserver/gdbserver --version; echo $?;
GNU gdbserver (Linaro GDB) 7.2-2011.05-0
Copyright (C) 2010 Free Software Foundation, Inc.
gdbserver is free software, covered by the GNU General Public License.
This gdbserver was configured as "arm-linux-gnueabi"
0
$ sdb -s 4d196ec230699f00 launch -p MgwHof5aHA -e RiaNews.exe -m debug -P 26102 -t  
 
[Launching application with GDBClient...]
 
 
 
编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

3 回复
kavish
First create certificate for your application using below link. https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.gettingstarted%2Fhtml%2Fdev_env%2Fcertificate_generator.htm Second Registering Author Certificates with the help of below link. https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.gettingstarted%2Fhtml%2Fdev_env%2Fcertificate_generator.htm After that build and run your application and your problem will be solved.
Roman Lebedenko
When I tested my application with sdk 2.0 I've done these steps ofcourse. After installing 2.1 I've regenerated the сerteficate, but it didn't help. I took a look at forum and see a lot of problems with sdk 2.1. Fortunatly I've managed to return to sdk 2.0.
Dongsheng Dai

Hello ,

     I got the same error, and the below is log:     please see the bold text...

04-22 00:34:25.509 : INFO / Tizen::App ( 626 : 626 ) : result Tizen::App::Package::_PackageInfoImpl::Construct(const PackageId&)(1299) > package(CNxb8hBSLZ), version(1.0.0), type(tpk), displayName(MagicShot Preprocess), uninstallable(1), downloaded(1), updated(0), preloaded(0)movable(1), externalStorage(0), mainApp(CNxb8hBSLZ.MagicShotPreprocess), storeClient(), appRootPath(/opt/apps/CNxb8hBSLZ)
04-22 00:34:25.519 : INFO / osp-installer ( 4476 : 4476 ) : void InstallerManager::PrintResult()(913) >  # Apps      = [MagicShotPreprocess{main}(932.6KB)]
04-22 00:34:25.519 : INFO / osp-installer ( 4476 : 4476 ) : void InstallerManager::PrintResult()(924) > [PERF] apps=[MagicShotPreprocess{main}(932.6KB)] time=[3,242ms]
04-22 00:34:25.539 : INFO / Tizen::App ( 626 : 626 ) : static bool Tizen::App::Package::_PackageInfoImpl::GetPackageAppInfo(pkgmgrinfo_appinfo_h, Tizen::App::Package::PackageAppInfo*)(483) > pkgmgrinfo_appinfo_get_appid(): app = [CNxb8hBSLZ.MagicShotPreprocess]
04-22 00:34:25.539 : DEBUG / AUL_AMD ( 488 : 488 ) : amd_appinfo.c: __app_info_insert_handler(311) > [SECURE_LOG] CNxb8hBSLZ.MagicShotPreprocess : ui : tpk
04-22 00:34:25.549 : INFO / Tizen::App ( 626 : 626 ) : result Tizen::App::Package::_PackageAppInfoImpl::Construct(const AppId&)(403) > appName = [MagicShotPreprocess]
04-22 00:34:25.549 : INFO / Tizen::App ( 626 : 626 ) : result Tizen::App::Package::_PackageAppInfoImpl::Construct(const AppId&)(496) > exe = [/opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess], displayName = [MagicShot Preprocess], mainApp = [1], menuIconVisible = [0], serviceApp = [0]
04-22 00:34:25.559 : INFO / Tizen::App ( 626 : 666 ) : result Tizen::App::Package::_PackageAppInfoImpl::Construct(const AppId&)(403) > appName = [MagicShotPreprocess]
04-22 00:34:25.559 : INFO / Tizen::App ( 626 : 666 ) : result Tizen::App::Package::_PackageAppInfoImpl::Construct(const AppId&)(496) > exe = [/opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess], displayName = [MagicShot Preprocess], mainApp = [1], menuIconVisible = [0], serviceApp = [0]
04-22 00:34:25.559 : INFO / Tizen::App ( 626 : 666 ) : Tizen::Base::String Tizen::App::Package::_PackageAppInfoImpl::GetAppFeature(const Tizen::Base::String&) const(330) > query = [SELECT AppFeature.VALUE FROM AppInfo, AppFeature WHERE AppFeature.ID = AppInfo.UNIQUE_ID and AppFeature.NAME = 'LaunchOnBoot' and AppInfo.PACKAGE_NAME = 'CNxb8hBSLZ.MagicShotPreprocess']
04-22 00:34:25.569 : INFO / Tizen::App ( 626 : 666 ) : void Tizen::App::_ConditionManagerStub::OnInstallComplete(const AppId&)(137) > CNxb8hBSLZ.MagicShotPreprocess does not have launch condition
04-22 00:34:29.049 : DEBUG / AUL_AMD ( 488 : 488 ) : amd_request.c: __request_handler(482) > launch a single-instance appid: CNxb8hBSLZ.MagicShotPreprocess
04-22 00:34:29.089 : DEBUG / AUL_PAD ( 490 : 490 ) : launchpad.c: __launchpad_main_loop(635) > [SECURE_LOG] pkg name : CNxb8hBSLZ.MagicShotPreprocess
04-22 00:34:29.089 : DEBUG / AUL_PAD ( 490 : 490 ) : launchpad.c: __launchpad_main_loop(693) > [SECURE_LOG] ==> real launch pid : 4567 /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess
04-22 00:34:29.089 : INFO / ENV_CONFIG ( 4567 : 4567 ) : osp-env-config.c: get_app_rootpath_from_path(75) > [SECURE_LOG] input bin_path: /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess
04-22 00:34:29.099 : INFO / ENV_CONFIG ( 4567 : 4567 ) : osp-env-config.c: do_pre_exec(111) > [SECURE_LOG] do_pre_exec() is called, bin path: /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess, app root: /opt/apps/CNxb8hBSLZ, app id: CNxb8hBSLZ.MagicShotPreprocess, pkg id: CNxb8hBSLZ, osp-compatible: 0
04-22 00:34:29.099 : DEBUG / AUL_PAD ( 4567 : 4567 ) : launchpad.c: __prepare_exec(136) > [SECURE_LOG] pkg_name : CNxb8hBSLZ.MagicShotPreprocess / pkg_type : tpk / app_path : /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess 
04-22 00:34:29.099 : DEBUG / AUL_PAD ( 4567 : 4567 ) : launchpad.c: __real_launch(217) > [SECURE_LOG] input argument 0 : /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess##
04-22 00:34:29.099 : DEBUG / LAUNCH ( 4567 : 4567 ) : launchpad.c: __real_launch(223) > [SECURE_LOG] [/opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess:Platform:launchpad:done]
04-22 00:34:29.109 : ERROR / LOADER ( 4567 : 4567 ) : uiapp_loader.c: main(268) > Failed to open /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess.exe : libMagicShotCommon.so: cannot open shared object file: No such file or directory.
04-22 00:34:29.129 : DEBUG / SENSOR ( 4567 : 4567 ) : client.cpp:good_bye(54)> Good bye! MagicShotPrepro(4567)
04-22 00:34:29.139 : DEBUG / RESOURCED ( 875 : 875 ) : proc-main.c: resourced_proc_action(432) > [SECURE_LOG] [resourced_proc_action,432] appid CNxb8hBSLZ.MagicShotPreprocess, pid 4567, type 4 
04-22 00:34:29.139 : DEBUG / RESOURCED ( 875 : 875 ) : proc-main.c: resourced_proc_status_change(300) > [SECURE_LOG] [resourced_proc_status_change,300] launch request CNxb8hBSLZ.MagicShotPreprocess, 4567
04-22 00:34:29.139 : INFO / TRM_SERVER ( 711 : 725 ) : trm_server.c: TRM_app_info_thread(364) > [RECEIVE]appinfo_launch:CNxb8hBSLZ.MagicShotPreprocess[PID]4567
04-22 00:34:29.159 : DEBUG / AUL ( 667 : 667 ) : pkginfo.c: aul_app_get_appid_bypid(155) > [SECURE_LOG] appid for 4567 is CNxb8hBSLZ.MagicShotPreprocess
04-22 00:34:29.169 : INFO / Tizen::App ( 667 : 667 ) : static int Tizen::App::_AppLifecycleManager::LaunchCallback(int, void*)(725) > Finished invoking application event listener for CNxb8hBSLZ.MagicShotPreprocess, 4567.
04-22 00:34:29.179 : DEBUG / AUL ( 626 : 626 ) : pkginfo.c: aul_app_get_appid_bypid(155) > [SECURE_LOG] appid for 4567 is CNxb8hBSLZ.MagicShotPreprocess
04-22 00:34:29.179 : INFO / Tizen::App ( 626 : 626 ) : virtual void Tizen::App::_ContextManager::OnApplicationLaunched(const AppId&, int)(485) > LaunchedApp(CNxb8hBSLZ.MagicShotPreprocess)
04-22 00:34:29.179 : INFO / Tizen::App ( 626 : 626 ) : static int Tizen::App::_AppLifecycleManager::LaunchCallback(int, void*)(725) > Finished invoking application event listener for CNxb8hBSLZ.MagicShotPreprocess, 4567.

04-22 00:34:29.199 : INFO / Tizen::System ( 667 : 667 ) : virtual void Tizen::System::_PowerManagerStub::OnApplicationTerminated(const AppId&, int)(246) > Terminated app [CNxb8hBSLZ.MagicShotPreprocess]
04-22 00:34:29.199 : INFO / Tizen::App ( 626 : 626 ) : virtual void Tizen::App::_CommunicationDispatcher::OnApplicationTerminated(const AppId&, int)(237) > App[CNxb8hBSLZ.MagicShotPreprocess] pid[4567] terminate event is forwarded
04-22 00:34:29.199 : INFO / Tizen::System ( 626 : 626 ) : void RemoveOwnerApplication(Tizen::App::AppId, int, const Tizen::Base::String&)(196) > Accessory Owner is removed [CNxb8hBSLZ.MagicShotPreprocess, 4567, ]
04-22 00:34:29.199 : INFO / Tizen::App ( 626 : 626 ) : virtual void Tizen::App::_ContextManager::OnApplicationTerminated(const AppId&, int)(492) > TerminatedApp(CNxb8hBSLZ.MagicShotPreprocess)
04-22 00:34:29.199 : INFO / Tizen::App ( 626 : 626 ) : static int Tizen::App::_AppLifecycleManager::TerminateCallback(int, void*)(774) > Finished invoking application event listener for CNxb8hBSLZ.MagicShotPreprocess, 4567.
04-22 00:34:29.219 : INFO / Tizen::App ( 667 : 667 ) : static int Tizen::App::_AppLifecycleManager::TerminateCallback(int, void*)(774) > Finished invoking application event listener for CNxb8hBSLZ.MagicShotPreprocess, 4567.
04-22 00:34:30.149 : DEBUG / AUL_AMD ( 488 : 488 ) : amd_request.c: __add_history_handler(225) > [SECURE_LOG] add rua history CNxb8hBSLZ.MagicShotPreprocess /opt/apps/CNxb8hBSLZ/bin/MagicShotPreprocess