Re: Fix D's segfaults!

2017-08-21 Thread Bastiaan Veelo via Digitalmars-d
On Monday, 21 August 2017 at 08:11:15 UTC, Shachar Shemesh wrote: On 20/08/17 22:34, Bastiaan Veelo wrote: You are looking at the stack trace. The reason you don't see line numbers is probably that you did not compile with debugging information on? No. It's the same problem as

Re: Fix D's segfaults!

2017-08-21 Thread Shachar Shemesh via Digitalmars-d
On 20/08/17 22:34, Bastiaan Veelo wrote: On Sunday, 20 August 2017 at 19:14:10 UTC, Johnson Jones wrote: Dne 20. 8. 2017 8:06 odpoledne napsal uživatel "Johnson Jones via Digitalmars-d" : D has a major issue with segfaults! It always reports the fault in the

Re: Fix D's segfaults!

2017-08-21 Thread Nemanja Boric via Digitalmars-d
On Sunday, 20 August 2017 at 18:01:06 UTC, Johnson Jones wrote: D has a major issue with segfaults! It always reports the fault in the lowest function that it occurs! This is completely useless! std.file.FileException@std\file.d(755): Attempting to rename file X.lib to Y.lib: The system

Re: Fix D's segfaults!

2017-08-21 Thread Nemanja Boric via Digitalmars-d
On Sunday, 20 August 2017 at 19:35:45 UTC, Ali Çehreli wrote: On 08/20/2017 12:14 PM, Johnson Jones wrote: >>> Dmd needs to be modified so that errors try to show from the source >>> code. This should be obvious the reasons, if it is not possible, make >>> it possible! There are no excuses why

Re: Fix D's segfaults!

2017-08-20 Thread user1234 via Digitalmars-d
On Sunday, 20 August 2017 at 20:20:30 UTC, Jonathan M Davis wrote: On Sunday, August 20, 2017 12:35:45 Ali Çehreli via Digitalmars-d wrote: On 08/20/2017 12:14 PM, Johnson Jones wrote: >>> Dmd needs to be modified so that errors try to show from the source >>> code. This should be obvious

Re: Fix D's segfaults!

2017-08-20 Thread Jonathan M Davis via Digitalmars-d
On Sunday, August 20, 2017 12:35:45 Ali Çehreli via Digitalmars-d wrote: > On 08/20/2017 12:14 PM, Johnson Jones wrote: > >>> Dmd needs to be modified so that errors try to show from the source > >>> code. This should be obvious the reasons, if it is not possible, make > >>> it possible! There

Re: Fix D's segfaults!

2017-08-20 Thread Ali Çehreli via Digitalmars-d
On 08/20/2017 12:14 PM, Johnson Jones wrote: >>> Dmd needs to be modified so that errors try to show from the source >>> code. This should be obvious the reasons, if it is not possible, make >>> it possible! There are no excuses why dmd should make me go on an >>> easter egg hunt when a seg

Re: Fix D's segfaults!

2017-08-20 Thread Bastiaan Veelo via Digitalmars-d
On Sunday, 20 August 2017 at 19:14:10 UTC, Johnson Jones wrote: Dne 20. 8. 2017 8:06 odpoledne napsal uživatel "Johnson Jones via Digitalmars-d" : D has a major issue with segfaults! It always reports the fault in the lowest function that it occurs! This is

Re: Fix D's segfaults!

2017-08-20 Thread Johnson Jones via Digitalmars-d
On Sunday, 20 August 2017 at 18:35:07 UTC, Daniel Kozak wrote: This is not segfault. This is an uncatched exception. So it is your error. You does not do proper error handling. But still IIRC you should be able to see place where things go wrong Dne 20. 8. 2017 8:06 odpoledne napsal

Re: Fix D's segfaults!

2017-08-20 Thread Daniel Kozak via Digitalmars-d
This is not segfault. This is an uncatched exception. So it is your error. You does not do proper error handling. But still IIRC you should be able to see place where things go wrong Dne 20. 8. 2017 8:06 odpoledne napsal uživatel "Johnson Jones via Digitalmars-d" :

Fix D's segfaults!

2017-08-20 Thread Johnson Jones via Digitalmars-d
D has a major issue with segfaults! It always reports the fault in the lowest function that it occurs! This is completely useless! std.file.FileException@std\file.d(755): Attempting to rename file X.lib to Y.lib: The system cannot find the file specified. 0x0041015E