Le samedi 13 décembre 2014 à 22:13 +0100, Simon a écrit : 
> Hi Pascal,
> 
> compilation went fine, but I can't enter the print view, dt hangs.
> Backtrace below.
> 
> Cheers,
> Simon
> 
> 
> 
> 
> #8  0x00007ffff7a57d24 in dt_get_printers ()
>     at /home/spanns/Downloads/darktable/src/common/cups_print.c:109

Thanks for reporting. Do you have any printer installed?

The hang is on this code:

> ---Type <return> to continue, or q <return> to quit---
>         dests = 0x0
>         num_dests = <optimized out>
>         k = <optimized out>
>         result = <optimized out>
> #9  0x00007ffe9fc3dba4 in gui_init (self=0xba9c00)
>     at /home/spanns/Downloads/darktable/src/libs/print_settings.c:512
>         d = 0x10517e0
>         tooltip =
> "\000\000\000\000\377\377\377\377\377\377\377\377\000\000\001\000\260\260\260\260\260\260\377\377}\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\001",
> '\000' <repeats 15 times>, "\210
> \315\000\000\000\000\000\001\000\000\000\000\000\000\000(\036\315\000\000\000\000\000\240\"\000\000\000\000\000\000\026\000\000\000\000\000\000\000\000\020\315\000\000\000\000\000\006\024\034\366\377\177\000\000\021\000\000\000\000\000\000\000\250\215\377\377\377\177\000\000\270\035\315\000\000\000\000\000\030\036\315\000\000\000\000\000\250\215\377\377\377\177\000\000(\215\377\377\377\177\000\000\377\377\377\377\004\000\000\000h\023\000\000\000\000\000\000\021s\000\000\000\200\377\377\067\001\000\000\000\000\000\000M\000\000\000\000\000\000\000"...
>         printers = 0x10518b0
>         np = 9887488
>         bds = 0x10518b0
>         hbox2 = 0x10518b0
>         label4 = 0xfffffffffffffdfc
>         datadir =
> "\030\220\377\377\377\177\000\000\220\\\336\000\000\000\000\00---Type
> <return> to continue, or q <return> to quit---
> 0\065\003\000\000\360\000\000\000\220v\371\000\000\000\000\000\001",
> '\000' <repeats 15 times>,
> "\260\220\377\377\377\177\000\000\022\000\000\000\000\000\000\000\340\233\377\377\377\177\000\000\353\225\027\366\377\177\000\000\340\t\000\000\000\000\000\000\000\\\336\000\000\000\000\000x\220\377\377\377\177\000\000\000\242\315\062!EL*\000\000\000\000\000\000\000\000\v\000\000\000\000\000\000\000\020\234\377\377\377\177\000\000@\227\371\000\000\000\000\000\020\223\377\377\377\177\000\000@\227\371\000\000\000\000\000\020l\371\000\000\000\000\000\350,\036\366\377\177\000\000\000\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000p\222\371",
> '\000' <repeats 21 times>...
>         confdir =
> "\000\000\000\000\000\000\000\000|\024\256G\341z\204?\313\377\377\377\333\377\377\377\236\022\000\000\340\024\000\000\271\022\000\000\002\025\000\000\333\022\000\000
> \025\000\000\300A\323\000\000\000\000\000\000\242\315\062!EL*Ƞ\377\377\377\177\000\000P\241\377\377\377\177\000\000\325\024\000\000\000\000\000\000\n\025\000\000\000\000\000\000\236\022\000\000\000\000\000\000KR\033\366\377\177\000\000\240\241\377\377\377\177\000\000|\024\256G\341z\204?\n\025\000\000~\022\000\000\325\024\000\000Y\022\000\000\227\024\000\000A\022\000\000R\024\000\000<\022\000\000\024\024\000\000q\021\000\000\000\242\315\062!EL*\276\024\000\000\202\021\000\000P\241\377\377\377\177\000\000L\025\000\000\000\000\000\000\214"...
>         dirname = "/opt/darktable/share/darktable/pixmaps/idbutton.svg",
> '\000' <repeats 1733 times>...
>         filename =
> "`'h\367\377\177\000\000p\233\367\000\000\000\000\000`\233\367\000\000\000\000\000\020\001\000\000\000\000\000\000\000\001\000\000\000\000\00---Type
> <return> to continue, or q <return> to quit---
> 0\000\371y4\367\377\177\000\000\200\060\003\001\000\000\000\000\000\001\000\000\000\000\000\000\020\236\227\000\000\000\000\000`\352\362\000\000\000\000\000\021\004\000\000\000\000\000\000(\004\000\000\000\000\000\000(\236\227\000\000\000\000\000\016K\000\367\377\177\000\000@\352\362\000\000\000\000\000\022\353\255\366\377\177\000\000\300\351\362\000\000\000\000\000
> \000\000\000\000\000\000\000\320\351\362\000\000\000\000\000\n", '\000'
> <repeats 15 times>, "\260\351\255\366\377\177\000\000\n", '\000'
> <repeats 15 times>, "p\352\362\000\000\000\000\000"...
>         tmpprof = 0x7ffff76827b8 <main_arena+88>
>         d_name = 0xfffffffffffffdfc <error: Cannot access memory at
> address 0xfffffffffffffdfc>
>         dir = 0xba9c00
>         styles = 0x96df00
>         button = 0x10518b0
> #10 0x00007ffff7a38444 in dt_view_manager_switch (vm=0x905e30, k=k@entry=5)
>     at /home/spanns/Downloads/darktable/src/views/view.c:315
>         w = <optimized out>
>         plugin = 0xba9c00
>         plugins = 0x85e6c0
>         v = 0x905e30
>         endmarker = <optimized out>
>         error = <optimized out>
>         newv = <optimized out>
> ---Type <return> to continue, or q <return> to quit---
>         nv = <optimized out>
> #11 0x00007ffff798cade in dt_ctl_switch_mode_to (mode=mode@entry=DT_PRINT)
>     at /home/spanns/Downloads/darktable/src/control/control.c:633
>         oldmode = <optimized out>
>         widget = <optimized out>
>         buf = "switch to lighttable
> mode\000J\242\376\177\000\000\360w\214\367\377\177\000\000\340\364J\242\376\177\000\000\000\000\000\000\005\000\000\000F\016\000\000\001\000\000\000\260\025v\000\000\000\000\000h\326\377\377\377\177\000\000@\326\377\377\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\070\345\302\000\000\000\000\000\340\341\302\000\000\000\000\000\221I\336\367\377\177",
> '\000' <repeats 18 times>, "\005", '\000' <repeats 15 times>,
> "\001\000\000\000\001\000\000\000\340\341\302\000\000\000\000\000\002\000\000\000\000\000\000\000\060\326\377\377\377\177\000\000\024\000\000\000\000\000\000\000"...
>         i_own_lock = 0
>         error = <optimized out>
> #12 0x00007ffea24b08c9 in _lib_viewswitcher_button_press_callback (
>     w=<optimized out>, ev=<optimized out>, user_data=<optimized out>)
>     at /home/spanns/Downloads/darktable/src/libs/tools/viewswitcher.c:227
>         which = <optimized out>
>         w = <optimized out>
>         ev = <optimized out>
>         user_data = <optimized out>
> 
> 
> 
> On 13.12.2014 21:05, Pascal Obry wrote:
> > Hey Jo, 
> >> what am i doing wrong trying to compile?
> >>
> >> [ 56%] Building C object
> >> src/CMakeFiles/lib_darktable.dir/libs/print_settings.c.o
> >> /home/jo/vcs/darktable/src/libs/print_settings.c: In function
> >> ‘_print_button_clicked’:
> >> /home/jo/vcs/darktable/src/libs/print_settings.c:158:5: error: unknown
> >> type name ‘dt_variables_params_t’
> >>      dt_variables_params_t *vp;
> >>      ^
> >> src/CMakeFiles/lib_darktable.dir/build.make:2162: recipe for target
> >> 'src/CMakeFiles/lib_darktable.dir/libs/print_settings.c.o' failed
> > Not sure as I don't have this issue with gcc (Debian 4.9.2-7) 4.9.2.
> > I've committed a possible fix. Please let me know if it works on your
> > side now.
> >
> >
> 
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> darktable-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/darktable-devel


-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to