Could you run it under gdb and provide a back trace?

$gdb --args hello --gdb --docroot . --http-address 0.0.0.0 --http-port 8088


On 07/27/2011 02:29 AM, jhig wrote:
> hello,
>
> i just installed Wt (version 3.1.7) on my gentoo system via portage
> tree.
> then i compiled the hello example outside the Wt-tree as follows:
>
> g++ hello.C -lwt -lwthttp -o hello
>
> then i started the application:
>
> ./hello --docroot . --http-address 0.0.0.0 --http-port 8088
>
> when i browse to the page
>
> http://127.0.0.1:8088
>
> i get a segmentation fault:
>
> ./hello --docroot . --http-port 8088 --http-address 192.168.42.201
> Reading: /etc/wt/wt_config.xml
> [2011-Jul-27 11:25:50.568197] 13577 - [notice] "Wt: initializing
> built-in httpd"
> [2011-Jul-27 11:25:50.568337] 13577 - [notice] "Reading Wt config
> file: /etc/wt/wt_config.xml (location = './hello')"
> [2011-Jul-27 11:25:50.569820] 13577 - [notice] "Started server:
> http://192.168.42.201:8088";
> [2011-Jul-27 11:25:53.261231] 13577 [/ 6LPzx5MppaW4ss2O] [notice]
> "Session created (#sessions = 1)"
> Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
> 192.168.42.112 - - [2011-Jul-27 11:25:53.262672] "GET / HTTP/1.1" 200
> 1897
> Speicherzugriffsfehler
>
> it's the same with other example programs.
> does anyone experience a similar behaviour?
>
> thx,
> johannes.
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to