Opened 5 years ago

Closed 4 years ago

#676 closed Bugs (invalid)

eclipse crashes opening an html page

Reported by: francesco.spegni Owned by: incastrix
Priority: 5 Milestone: 1.3.0
Component: HTML Editor Version: 1.2.0-nightly
Keywords: browser, html, crash Cc:

Description

hello world,

this is what i did:

  • i created an empty project
  • i imported a file system structure with an existing project (maybe 100 files)
  • i fixed some syntax mistakes signaled by the compiler
  • i stopped to work; the next day i started again
  • i double clicked on an index.htm (a very simple one, i report it here:

<!DOCTYPE html PUBLIC '-W3CDTD XHTML 1.0 TransitionalEN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html><head>

<title>IMPRESA - Redirect page</title>
<meta http-equiv="refresh" content="0;URL=login/login.php">

</head>
<body>
</body></html>

(please notice that the login/login.php file exists)

  • at this point eclipse (3.3.2 for linux, downloaded from the eclipse webpage) crashed

i'm running ubuntu 7.10 with kernel 2.4.24-8. unfortunately i'm not able to find an eclipse or pluging error log. if you, please, can point to such a file i can look for useful infos there.

thanks a lot in advance

francesco

Attachments (2)

.log (92.9 KB) - added by francesco.spegni 5 years ago.
log when eclipse crashed
index2.php (492 bytes) - added by ed_mann 5 years ago.

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by francesco.spegni

log when eclipse crashed

comment:1 Changed 5 years ago by francesco.spegni

in the log, the relevant part is -imho- the following one: again (i posted a similar problem) there seem to be some issue with jface... but maybe i'm wrong...

thanks for helping

!SESSION 2008-03-07 09:49:42.072 -----------------------------------------------
1064 eclipse.buildId=M20080221-1800
1065 java.version=1.6.0_04
1066 java.vendor=Sun Microsystems Inc.
1067 BootLoader? constants: OS=linux, ARCH=x86, WS=gtk, NL=it_IT
1068 Command-line arguments: -os linux -ws gtk -arch x86
1069
1070 !ENTRY org.eclipse.jface 2 0 2008-03-07 09:51:21.802
1071 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
1072 !SUBENTRY 1 org.eclipse.jface 2 0 2008-03-07 09:51:21.802
1073 !MESSAGE A conflict occurred for CTRL+SHIFT+F:
1074 Binding(CTRL+SHIFT+F,
1075 ParameterizedCommand?(Command(org.eclipse.pde.ui.edit.text.format,Format Source,
1076 Format a PDE Source Page,
1077 Category(org.eclipse.pde.ui.category.source,Manifest Editor Source,PDE Source Page actions,true),
1078 ,
1079 true),null),
1080 org.eclipse.ui.defaultAcceleratorConfiguration,
1081 org.eclipse.ui.contexts.window
,system)
1082 Binding(CTRL+SHIFT+F,
1083 ParameterizedCommand?(Command(net.sourceforge.phpeclipse.phpeditor.format,Format,
1084 Format the selected text,
1085 Category(net.sourceforge.phpeclipse.ui.category.source,Source,PHP Source Actions,true),
1086 LegacyHandlerWrapper?(ActionHandler?(action=org.eclipse.ui.texteditor.TextOperationAction?@181efb9)),
1087 true),null),
1088 org.eclipse.ui.defaultAcceleratorConfiguration,
1089 org.eclipse.ui.contexts.window
,system)
1090 !SESSION 2008-03-07 09:53:32.536 -----------------------------------------------
1091 eclipse.buildId=M20080221-1800
1092 java.version=1.6.0_04
1093 java.vendor=Sun Microsystems Inc.
1094 BootLoader? constants: OS=linux, ARCH=x86, WS=gtk, NL=it_IT
1095 Command-line arguments: -os linux -ws gtk -arch x86
1096
1097 !ENTRY org.eclipse.jface 2 0 2008-03-07 09:53:55.233
1098 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
1099 !SUBENTRY 1 org.eclipse.jface 2 0 2008-03-07 09:53:55.233
1100 !MESSAGE A conflict occurred for CTRL+SHIFT+F:
1101 Binding(CTRL+SHIFT+F,
1102 ParameterizedCommand?(Command(org.eclipse.pde.ui.edit.text.format,Format Source,
1103 Format a PDE Source Page,
1104 Category(org.eclipse.pde.ui.category.source,Manifest Editor Source,PDE Source Page actions,true),
1105 ,
1106 true),null),
1107 org.eclipse.ui.defaultAcceleratorConfiguration,
1108 org.eclipse.ui.contexts.window
,system)
1109 Binding(CTRL+SHIFT+F,
1110 ParameterizedCommand?(Command(net.sourceforge.phpeclipse.phpeditor.format,Format,
1111 Format the selected text,
1112 Category(net.sourceforge.phpeclipse.ui.category.source,Source,PHP Source Actions,true),
1113 LegacyHandlerWrapper?(ActionHandler?(action=org.eclipse.ui.texteditor.TextOperationAction@1385846?)),
1114 true),null),
1115 org.eclipse.ui.defaultAcceleratorConfiguration,
1116 org.eclipse.ui.contexts.window
,system)
1117 !SESSION 2008-03-07 10:01:20.829 -----------------------------------------------
1118 eclipse.buildId=M20080221-1800
1119 java.version=1.6.0_04
1120 java.vendor=Sun Microsystems Inc.
1121 BootLoader? constants: OS=linux, ARCH=x86, WS=gtk, NL=it_IT
1122 Command-line arguments: -os linux -ws gtk -arch x86
1123
1124 !ENTRY org.eclipse.jface 2 0 2008-03-07 10:01:46.524
1125 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
1126 !SUBENTRY 1 org.eclipse.jface 2 0 2008-03-07 10:01:46.525
1127 !MESSAGE A conflict occurred for CTRL+SHIFT+F:
1128 Binding(CTRL+SHIFT+F,
1129 ParameterizedCommand?(Command(org.eclipse.pde.ui.edit.text.format,Format Source,
1130 Format a PDE Source Page,
1131 Category(org.eclipse.pde.ui.category.source,Manifest Editor Source,PDE Source Page actions,true),
1132 ,
1133 true),null),
1134 org.eclipse.ui.defaultAcceleratorConfiguration,
1135 org.eclipse.ui.contexts.window
,system)
1136 Binding(CTRL+SHIFT+F,
1137 ParameterizedCommand?(Command(net.sourceforge.phpeclipse.phpeditor.format,Format,
1138 Format the selected text,
1139 Category(net.sourceforge.phpeclipse.ui.category.source,Source,PHP Source Actions,true),
1140 LegacyHandlerWrapper?(ActionHandler?(action=org.eclipse.ui.texteditor.TextOperationAction?@16686c8)),
1141 true),null),
1142 org.eclipse.ui.defaultAcceleratorConfiguration,
1143 org.eclipse.ui.contexts.window
,system)
1144
1145 !ENTRY org.eclipse.ui 4 4 2008-03-07 10:14:04.884
1146 !MESSAGE Unable to find Action Set: net.sf.eclipsetidy.ActionSet?
1147
1148 !ENTRY org.tigris.subversion.subclipse.ui 1 0 2008-03-07 10:15:31.250
1149 !MESSAGE

comment:2 Changed 5 years ago by francesco.spegni

ok, i did one test again...

  • i created a foo brand new html file, with just some h1 or p tags
  • i opened it with the browser
  • everything went well
  • i modified that same browser, attaching a little "refresh" directive, as written below

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
<!--

  • Created on 07/mar/08 *
  • To change the template for this generated file go to
  • Window - Preferences - PHPeclipse - PHP - Code Templates

-->

<head>

<title>Test page </title>
<meta http-equiv="refresh" content="0;URL=login/login.php">

</head>
<body>
<h1>test</h1>
<p>this is a test page...</p>
</body>

</html>

and the problem appeared again. thus, it seems related to the presence of a line like:

<meta http-equiv="refresh" content="0;URL=login/login.php">

what do you think about?

comment:3 Changed 5 years ago by ed_mann

francesco.spegni,

I have tried this in my version of PHPEclipse and i am not getting the browser to crash. I have attached the file i was using. Can you please check it and verify that i have things set correctly?
I also tried the .html extension.

Thanks.

Changed 5 years ago by ed_mann

comment:4 Changed 5 years ago by ed_mann

  • Milestone set to 1.3.0
  • Owner set to ed_mann

comment:5 Changed 4 years ago by incastrix

  • Owner changed from ed_mann to incastrix
  • Status changed from new to assigned

no feedback.

comment:6 Changed 4 years ago by incastrix

  • Resolution set to invalid
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.