This is a migrated thread and some comments may be shown as answers.

Fiddler crash on first launch on Ubuntu 16.04.2

10 Answers 186 Views
Linux
This is a migrated thread and some comments may be shown as answers.
ty
Top achievements
Rank 1
ty asked on 27 Feb 2017, 01:53 PM

On first launch, it show an error dialog ( see attached screenshot), after click the button, it crashes.

 

➜  fiddler-linux uname -a                
Linux nil 4.8.0-39-generic #42~16.04.1-Ubuntu SMP Mon Feb 20 15:06:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
➜  fiddler-linux mono --version  
Mono JIT compiler version 4.8.0 (Stable 4.8.0.495/e4a3cf3 Wed Feb 22 18:30:58 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            sgen
➜  fiddler-linux mono Fiddler.exe
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value '-2147483648' must be greater than or equal to 0.
Parameter name: SmallChange
  at System.Windows.Forms.ScrollBar.set_SmallChange (System.Int32 value) [0x0001c] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ScrollBar:set_SmallChange (int)
  at System.Windows.Forms.ListView.CalculateScrollBars () [0x00247] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.CalculateListView (System.Windows.Forms.ListViewAlignment align) [0x000f5] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.Redraw (System.Boolean recalculate) [0x00029] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.set_View (System.Windows.Forms.View value) [0x00097] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:set_View (System.Windows.Forms.View)
  at Fiddler.frmViewer.InitializeComponent () [0x03e23] in <bcca41f124814dd9a74204fd482fb6d7>:0 
  at Fiddler.frmViewer.NotifyInvalidate (System.Drawing.Rectangle invalidatedArea) [0x00011] in <bcca41f124814dd9a74204fd482fb6d7>:0 
  at (wrapper remoting-invoke-with-check) Fiddler.frmViewer:.ctor ()
  at Fiddler.frmViewer.RunMain (System.String[] arrArgs) [0x00153] in <bcca41f124814dd9a74204fd482fb6d7>:0 
  at Fiddler.frmViewer.Main (System.String[] arrArgs) [0x00016] in <bcca41f124814dd9a74204fd482fb6d7>:0 
➜  fiddler-linux 

10 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 06 Mar 2017, 06:09 PM
Hi,

That's a really weird problem. Is this a clean installation of Fiddler? Also, how did you install Mono on this machine?

Regards,
Tsviatko Yovtchev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ty
Top achievements
Rank 1
answered on 16 Mar 2017, 05:05 PM
installed mono libraries: http://pastebin.com/hZM6wEiA 
0
ty
Top achievements
Rank 1
answered on 16 Mar 2017, 05:12 PM

[quote]Is this a clean installation of Fiddler[/quote]

Yes, It's  first time installation.

 

[quote]how did you install Mono on this machine?[/quote]

Here is revelant terminal command history, I just download, unzip, try to run, am I missing any thing ?

 

 4037  wget 'http://www.telerik.com/docs/default-source/fiddler/fiddler-linux.zip?sfvrsn=2'
 4038  ls
 4039  mv fiddler-linux.zip\?sfvrsn=2 fiddler-linux.zip
 4040  unzip -l fiddler-linux.zip
 4041  unzip fiddler-linux.zip -d fiddler-linux
 4042  cd fiddler-linux
 4043  ls
 4044  mono Fiddler.exe
 4045  mono
 4046  mono Fiddler.exe
 4047  cd /tmp/csharp
 4048  ls
 4049  mcs winform.cs -pkg:dotnet
 4050  _ apt install mono-devel
 4051  mcs winform.cs -pkg:dotnet
 4052  mono winform.exe
 4053  1
 4054  mono Fiddler.exe
 4055  pwd
 4056  mono Fiddler.exe

0
Tsviatko Yovtchev
Telerik team
answered on 22 Mar 2017, 01:44 PM
Could you try the latest version we released today? It should produce more detailed error log.

I am thinking something is wrong with your Mono installation. Do you run other Mono apps but Fiddler?

Regards,
Tsviatko Yovtchev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ty
Top achievements
Rank 1
answered on 22 Mar 2017, 04:07 PM

I have tried the new version with no luck. The same error, the same stack trace.

Then I installed mono-complete package, tried again, still all the same.

I do not run other mono apps. But on my other laptop, Fiddler Linux works.

0
Tsviatko Yovtchev
Telerik team
answered on 22 Mar 2017, 05:04 PM
It is weird that you get the same stack trace. Fiddler.exe.mdb is present, right? There should be line numbers in the stack trace now.

Regards,
Tsviatko Yovtchev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ty
Top achievements
Rank 1
answered on 22 Mar 2017, 05:31 PM

Almost the same, there are some weird characters. There is Fiddler.exe.mdb, but line number are 0.

➜  fiddler-linux2 mono Fiddler.exe
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value '-2147483648' must be greater than or equal to 0.
Parameter name: SmallChange
  at System.Windows.Forms.ScrollBar.set_SmallChange (System.Int32 value) [0x0001c] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ScrollBar:set_SmallChange (int)
  at System.Windows.Forms.ListView.CalculateScrollBars () [0x00247] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.CalculateListView (System.Windows.Forms.ListViewAlignment align) [0x000f5] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.Redraw (System.Boolean recalculate) [0x00029] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.set_View (System.Windows.Forms.View value) [0x00097] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:set_View (System.Windows.Forms.View)
  at Fiddler.frmViewer.ƒ () [0x03d04] in <1f5c91af40d14c0eb3b0cb76da0ecdcc>:0 
  at Fiddler.frmViewer.OnTabIndexChanged (System.EventArgs e) [0x00011] in <1f5c91af40d14c0eb3b0cb76da0ecdcc>:0 
  at (wrapper remoting-invoke-with-check) Fiddler.frmViewer:.ctor ()
  at Fiddler.frmViewer.‹• (System.String[] •) [0x0014f] in <1f5c91af40d14c0eb3b0cb76da0ecdcc>:0 
  at Fiddler.frmViewer.‡• (System.String[] •) [0x00016] in <1f5c91af40d14c0eb3b0cb76da0ecdcc>:0 

 

I have run mono again with  `mono --trace Fiddler.exe > /tmp/mono-trace`, the resulting tracing file is uploaded to a site found by a Google search (compressed): http://www.filedropper.com/mono-trace

The string "System.Windows.Forms.ScrollBar:set_SmallChange" first appears on line 2036871, hope this will help.

0
Tsviatko Yovtchev
Telerik team
answered on 24 Mar 2017, 03:19 PM
That's actually a different one now which makes it even more weird. Could you, please, try starting it with mono --debug Fiddler.exe ? Sorry for not mentioning this earlier.

Regards,
Tsviatko Yovtchev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
ty
Top achievements
Rank 1
answered on 24 Mar 2017, 04:13 PM

Yeah, now there are line numbers. The line "Could not set X locale modifiers" appears sometimes.

 

➜  fiddler-linux2 mono --debug Fiddler.exe
Could not set X locale modifiers
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value '-2147483648' must be greater than or equal to 0.
Parameter name: SmallChange
  at System.Windows.Forms.ScrollBar.set_SmallChange (System.Int32 value) [0x0001c] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ScrollBar:set_SmallChange (int)
  at System.Windows.Forms.ListView.CalculateScrollBars () [0x00247] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.CalculateListView (System.Windows.Forms.ListViewAlignment align) [0x000f5] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.Redraw (System.Boolean recalculate) [0x00029] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at System.Windows.Forms.ListView.set_View (System.Windows.Forms.View value) [0x00097] in <e37081a3704b4473a59cdf5048ad96bc>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:set_View (System.Windows.Forms.View)
  at Fiddler.frmViewer.ƒ () [0x03d04] in C:\JenkinsHome\jobs\FiddlerLinuxReleaseBuild\workspace\Fiddler2\Viewer.cs:1999 
  at Fiddler.frmViewer.OnTabIndexChanged (System.EventArgs e) [0x00011] in C:\JenkinsHome\jobs\FiddlerLinuxReleaseBuild\workspace\Fiddler2\Viewer.cs:283 
  at (wrapper remoting-invoke-with-check) Fiddler.frmViewer:.ctor ()
  at Fiddler.frmViewer.‹• (System.String[] •) [0x0014f] in C:\JenkinsHome\jobs\FiddlerLinuxReleaseBuild\workspace\Fiddler2\Viewer.cs:2871 
  at Fiddler.frmViewer.‡• (System.String[] •) [0x00016] in C:\JenkinsHome\jobs\FiddlerLinuxReleaseBuild\workspace\Fiddler2\Viewer.cs:2716 

0
Tsviatko Yovtchev
Telerik team
answered on 27 Mar 2017, 05:25 PM
This looks more and more like a problem with Mono installation. Could you, please, try reinstalling Mono? Also if it is an option try installing Fiddler on a different Ubuntu machine.

Regards,
Tsviatko Yovtchev
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Linux
Asked by
ty
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
ty
Top achievements
Rank 1
Share this question
or